Ansicht
Dokumentation

/SAPAPO/OM_ORDER_DELETE - Delete Orders in liveCache

/SAPAPO/OM_ORDER_DELETE - Delete Orders in liveCache

General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Further information

@0P@liveCache Data Model

Functionality

Deletes orders together with all their data (activities, I/O nodes, ...) in liveCache. In particular, all internal or external constraints associated with the order are deleted.

The GUIDs of the deleted orders are entered in the method table IT_ORDER_METHOD; always use gc_delete as the method. The two date fields in the method structure are not relevant for OM_ORDER_DELETE.

Information About Changed Objects

If required, OM_ORDER_DELETE returns the objects of the deleted order in the export tables. In addition, deleting an order can also change the objects of a different order, for example a dependent setup activity. These implicit changes are also registered using the lists of changed objects.

Notes

Error Handling and Troubleshooting

Possible error codes:

  • 40 = OM_INVALID_ORDER: An order with the specified GUID does not exist in liveCache.




Parameters

ET_CHANGED_CAP_REQS
ET_CHANGED_IO_NODES
ET_CHANGED_IO_PP_NODES
ET_CHANGED_ORDERS
ET_CHANGED_PEGIDS
ET_DELETED_FIX_PEGGING
ET_OVERFLOWS
ET_RC
ET_SCHED_FAILURES
ET_SCHED_LOG
IS_ATP_INFO
IS_EXCLUDE_FIELDS
IS_GEN_PARAMS
IS_GET_CHANGED_OPTIONS
IT_ORDER_METHOD
IV_GET_ALL_OBJECTS
IV_SIMSESSION

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_PLANNING

General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.

Length: 3262 Date: 20240419 Time: 112253     sap01-206 ( 36 ms )