Creating Heuristics Using Your Own Algorithm
Creating Heuristics Using Your Own Algorithm Purpose You can program heuristic algorithms yourself, link them to the SAP APO system, and define heuristics. This allows you to specifically address your planning requirements. Your own heuristics are an enhancement of the SAP planning processes. Note that even small changes or enhancements to the planning processes can lead to unexpected planning results. Any changes or enhancements you make are at your own risk. SAP canno
How to setup Custom-defined Heuristic?
How to setup Custom-defined Heuristic? Custom-defined Heuristic requires development of a Function Module typically copy from similar standard Heuristic Function Module. To make the Custom Function Module it needs to be maintained in table /SAPAPO/HEURFUNC. Then only the FM is available to be mapped to new Heuristic in SPOR Customizing (or transaction code /SAPAPO/CDPSC11). Refer to SAP Note 606260 also.[@more@]
How to debug the background job in SAP?
Sometimes we have to know what happen in background job when a issue occurred, there are two ways to debug the program in the background job:1. go to SM50, choose you job in runing(type:BGD), and go to 'program->debuging'.2. set break-points in your program, then go to 'SM37', chose a finished job and type in 'JDBG' in the command line ( no '/' ), put the cursor on the job and press enter - will take you to the job in debug mode. [@more@]