Ansicht
Dokumentation

/SAPAPO/CREATE_SCHED_REM_HEUR - Generate/Change/Delete Orders from REM Heuristics

/SAPAPO/CREATE_SCHED_REM_HEUR - Generate/Change/Delete Orders from REM Heuristics

RFUMSV00 - Advance Return for Tax on Sales/Purchases   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module updates the scheduling proposal generated by the planning algorithm in the liveCache.

The following import parameters are transferred:

IV_START_TIME

,,Beginning of the period of time for which the heuristic run is being carried out.

IV_END_TIME

,,End of the period of time for which the heuristic run is being carried out.

IV_SIMID

,,GUID for the plan version.

IV_SIMSESSION

,,GUID for the simulation version.

IV_APPLICATION

,,States the application in which the function module has been called.

IT_IO_REC_UNFIRMED

,,Existing receipts that are not fixed before the heuristic run.

I_DIALOG_FLG

,,States whether the heuristic has been started in dialog mode or as background processing.

IS_HEUR_SETTINGS

,,Heuristic parameters

IT_SCHED_AONEW

,,Scheduling proposal for orders that have been generated by the heuristic run.

The function module runs through the following steps:

First, all orders that existed before the heuristic run and were not fixed are deleted.

Then the scheduling proposal for the newly generated orders, IT_SCHED_AONEW, is updated in the liveCache.

The entries in the IT_SCHED_AONEW table are processed sequentially.

Orders that can be planned finitely are updated first. There is usually one entry in the IT_SCHED_AONEW table for each period in the planning period.

Each entry consists of an AONEW table, which contains the data for the orders that are to be scheduled in the respective period, as well as the SCHEDCONTROL and SCHEDPARAM control structures. These structures are used for determining the scheduling type. You can find details on the control parameters for these structures in the following include: /SAPAPO/CONSTANTS_SCHED_PARAMS.

Orders that cannot be scheduled finitely in the planning period are updated last. There is also an entry for this in the IT_SCHED_AONEW table.

The following export parameters are transferred:

ET_CAPREQS

,,Newly created / deleted / changed capacity requirements

ET_PEGIDS

,,Material- /location combinations for which orders have been created / changed / deleted. These do not necessarily have to agree with the objects contained in the CT_AONEW or CT_AONEW_OVER tables.

Example

Notes

Further information





Parameters

ET_CAPREQS
ET_PEGIDS_CHANGED
ET_PEGIDS_PLANNED
IS_HEUR_SETTINGS
IT_IO_REC_UNFIRMED
IT_PRODUCTS
IT_SCHED_AONEW
IV_APPLICATION
IV_END_TIME
IV_SIMID
IV_SIMSESSION
IV_START_TIME
I_DIALOG_FLG

Exceptions

FAILED

Function Group

APO/SAPLPT_HEUR

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 3219 Date: 20240426 Time: 132918     sap01-206 ( 52 ms )