Ansicht
Dokumentation

/SAPAPO/OM_SIMSESSION_COPY - Delete, Process, Save, Load Simulation Version

/SAPAPO/OM_SIMSESSION_COPY - Delete, Process, Save, Load Simulation Version

PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

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_RC
IS_GEN_PARAMS
IV_SIMSESSION_SOURCE
IV_SIMSESSION_TARGET

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_CORE

CPI1466 during Backup   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1568 Date: 20240424 Time: 231336     sap01-206 ( 30 ms )