Ansicht
Dokumentation

/SAPAPO/OM_FIX_PEGGING_CHANGE - Create, change or delete fixed pegging edges in liveCache

/SAPAPO/OM_FIX_PEGGING_CHANGE - Create, change or delete fixed pegging edges in liveCache

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Further information

@0P@liveCache Pegging

Material Flow

Functionality

This function module creates, changes or deletes fixed pegging edges (or material flow) between two I/O nodes in liveCache. liveCache processes as many fixed edge attributes listed in the IT_FIXPEG_PROFILE table as possible.

The I/O nodes connected by a pegging edge must belong to the same pegging area, but to different top orders. It is not possible to create more than one pegging edge of the same fixing type between the same I/O nodes.

Methods

liveCache supports these methods to manipulate fixed pegging edges:

Value Constant   Meaning
N gc_new   Create and schedule a new order
C gc_change   Change amount of an existing fixed pegging edge
O gc_change_or_new   Change a fixed pegging edge (if it exists) or create a new fixed pegging edge
A gc_add   Add amount to a fixed pegging edge (if it exists) or create a new fixed pegging edge
D gc_delete   Delete fixed pegging edge

Depending on the settings of the pegging area, liveCache automatically replaces a deleted fixed pegging edge with a dynamic pegging edge.

Notes

Error Handling and Troubleshooting

Since it is not possible to store the key of a fixed pegging edge in the standard return code table ET_RC, liveCache reports these via the enhanced return code table ET_FIXPEG_RC.

Possible return code:

  • 34 = om_invalid_method: Invalid method, only the methods listed above are valid
  • 152 = om_invalid_ionode: At least one of the I/O nodes that shall be connected with a pegging edge does not exist in liveCache
  • 389 = om_invalid_fix_arc_type: Attempt to create a dynamic pegging edge




Parameters

ET_FIXPEG_RC
ET_RC
IS_GEN_PARAMS
IT_FIXPEG_PROFILE
IV_SIMSESSION

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_PLANNINGTABLE

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 4251 Date: 20240328 Time: 170914     sap01-206 ( 45 ms )