Ansicht
Dokumentation
/SAPAPO/OM_SEG_RULES_GET - Create, Change, or Delete Pegging Areas in liveCache
CL_GUI_FRONTEND_SERVICES - Frontend Services ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Further information
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_RCET_RULES
IT_SEGMENTATION_IDS
IV_SIMSESSION
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
Function Group
APO/SAPLOM_COREBAL Application Log Documentation CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 2983 Date: 20240425 Time: 182227 sap01-206 ( 35 ms )