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

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
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:

  • o,,IV_SIMSESSION_METHOD = gc_simsession_delete (constant is defined in the include /sapapo/constants_om): Deletes the data of a simulation version.

o,,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.

o,,IV_SIMSESSION_METHOD = gc_simsession_save: Saves the data.

o,,IV_SIMSESSION_METHOD = gc_simsession_new: Creates a new simulation version.

Example

Notes

Return codes (see table ET_RC):

o,,OM_INVALID_SIMSESSION: GUID of the simulation version has an error.

o,,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_FIX_PEGGING
ET_INFO_RC
ET_ORDER_CHANGED
ET_ORDER_DELETED_IN_OP_DATA
ET_ORDER_DELETED_IN_SIM
ET_ORDER_PCM
ET_RC
ET_REOPEN_IONODES_DELETED
ET_REOPEN_ORDKEYS_DELETED
ET_REOPEN_ORDMAPS_DELETED
IS_GEN_PARAMS
IV_CLIENT
IV_LCNAME
IV_MLEVEL_ATP_PROTOCOL_ID
IV_SIMSESSION
IV_SIMSESSION_METHOD

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED
MLEVEL_ATP_PROTOCOL_REG_FAILED
MULTI_TASIM_REGISTRATION
TASIM_REGISTRATION_FAILED

Function Group

APO/SAPLOM_CORE

Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.


Length: 2382 Date: 20120525 Time: 085757     triton ( 67 ms )