Ansicht
Dokumentation
/SAPAPO/OM_SIMSESSION_UNDO - Delete, Process, Save, Load Simulation Version
Fill RESBD Structure from EBP Component Structure General Material DataThis documentation is copyright by SAP AG.
Functionality
This function module handles the data of the simulation version with the GUID IV_SIMSESSION.
Depending on the content of the parameter IV_SIMSESSION_METHOD, the following operations are performed on the simulation version:
- IV_SIMSESSION_METHOD = gc_simsession_delete (constant is defined in the include /sapapo/constants_om): Deletes the data of a simulation version.
- IV_SIMSESSION_METHOD = gc_simsession_merge: Merges the simulation version with the actual data. In this case, the table ET_ORDER_CHANGED contains the GUIDs of the merged orders.
- IV_SIMSESSION_METHOD = gc_simsession_save: Saves the data.
- IV_SIMSESSION_METHOD = gc_simsession_new: Creates a new simulation version.
Example
Notes
Return codes (see table ET_RC):
- OM_INVALID_SIMSESSION: GUID of the simulation version has an error.
- The table ET_RC can also contains GUIDs of objects where there were errors when the simulation version was merged with the actual data.
Further information
Parameters
ET_DELETED_ORDERSET_RC
ET_TOUCHED_ORDERS
IS_GEN_PARAMS
IV_SIMSESSION
IV_UNDO_INDEX
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
Function Group
APO/SAPLOM_CORERFUMSV00 - Advance Return for Tax on Sales/Purchases General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 1617 Date: 20240329 Time: 154413 sap01-206 ( 29 ms )