/SAPAPO/OM_PEGAREA_CHANGE - Create/Change/Delete Pegging Areas in liveCache

Addresses (Business Address Services)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Functionality

This function creates/changes/deletes the pegging areas specified in the IT_PEGAREA table. The operation to be performed depends on the data in the METHOD field in T_PEGAREA:

  • If METHOD = GC_NEW:
The pegging area with key PEGAREA is created. It cannot already exist.
  • If METHOD = GC_CHANGE:
The parameters of the pegging area with key PEGAREA are reset.
  • If METHOD = GC_DELETE:
If possible, the pegging area with key PEGAREA is deleted. Deletion is only possible if there are no more issues or receipts for this pegging area.
  • Falls METHOD = GC_CHANGE_OR_NEW:
If the pegging area already exists, only the parameters are set; otherwise new parameters are created.

Default characteristic requirements (for input nodes) or default characteristic value assignments (for output nodes) can be returned in tables IT_CHARACT_REQ and IT_CHARACT_VAL.

ET_RC contains return codes for pegging areas with processing errors.

Example

Notes

Return codes (see table ET_RC):

  • OM_INALID_PEGAREA: Pegging area GUID not found.

Further information


Parameters

ET_RC
IT_CHARACT_REQ
IT_CHARACT_VAL
IT_PEGAREA
IV_SIMSESSION

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_CORE

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.


Length: 2148 Date: 20120525 Time: 044430     triton ( 50 ms )