/SAPAPO/OM_SIMSESSION_COPY - Delete, Process, Save, Load a Trans. Simulation

Vendor Master (General Section)   rdisp/max_wprun_time - Maximum work process run time  
This 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_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

General Data in Customer Master   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.


Length: 1462 Date: 20120525 Time: 085820     triton ( 53 ms )