Show TOC

 Creating REM Heuristics with your Own Algorithm

Use

You can define REM heuristics, which you use as a basis for your own planning algorithm. You then integrate this in the APO System, so that they are available in the production planning run and for interactive planning. In this way you can enter your specific planning requirements.

Procedure

  1. For general instructions on creating heuristics with your own algorithm, see Creating Heuristics with your Own Algorithm . Follow the procedure described there.

  2. Copy the REM heuristic function module /SAPAPO/REM_HEUR_TEMPLATE (multi-resource planning even) or /SAPAPO/REM_HEUR_WAVE (multi-resource planning with primary resource) and insert it in the function group that you copied in step 11.

  3. Replace the middle part of the REM heuristic function module (containing the planning algorithm) with your own function module. You can find out the various options for programming, in the original function module /SAPAPO/REM_PLAN_TEMPLATE or /SAPAPO/REM_PLAN_WAVE.

    Note Note

    The module /SAPAPO/REM_PLAN_WAVE is relatively complex; only use it as a template it you have sufficient experience with SAP Systems. The module /SAPAPO/REM_PLAN_TEMPLATE on the other hand, is deliberately simple and can act as a template for programming your own algorithm.

    End of the note.