Ansicht
Dokumentation

/SAPAPO/OM_SEG_RULES_CHANGE - Create, Change, or Delete Pegging Areas in liveCache

/SAPAPO/OM_SEG_RULES_CHANGE - Create, Change, or Delete Pegging Areas in liveCache

rdisp/max_wprun_time - Maximum work process run time   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Further information

@0P@liveCache Pegging Area

Functionality

This module creates, changes, or deletes pegging areas in liveCache.

It enables you to process pegging areas in different planning versions with a single liveCache call. To make this possible, the data records of the import tables contain the field SIMVERSION.

The field METHOD of the pegging area structure contains the processing method:

Value Constant   Meaning
N gc_new   Create new pegging area
C gc_change   Change pegging area
O gc_change_or_new   Change pegging area if it already exists, or create it
D gc_delete   Delete pegging area

To delete a pegging area, only the field PEGAREA needs to be filled in the pegging area structure (besides the method and the SIMVERSION).

Notes

Error Handling and Troubleshooting

Return codes:

  • 34 = om_invalid_method:
    Invalid method; only the methods listed above are valid.
  • 38 = om_invalid_pegarea:
    The specified pegging area does not exist in liveCache.
  • 55 = om_duplicate_pegarea:
    The specified pegging area already exists in liveCache.
  • 56 = om_duplicate_atp_anchor:
    The ATP anchor of the pegging area already exists in liveCache. The ATP anchor is created before the pegging area, so this error generally occurs instead of the return code 55 = om_duplicate_pegarea.




Parameters

ET_RC
IT_RULES
IV_METHOD
IV_SIMSESSION

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_CORE

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Length: 2973 Date: 20240426 Time: 042855     sap01-206 ( 34 ms )