Ansicht
Dokumentation
/SAPAPO/OM_SIMSESSION_CONTROL - Create and Administer Simulation Session
General Material Data RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
Further information
@0P@The Simulation Version (or Simsession)
Functionality
Processes the simsession with the GUID IV_SIMSESSION, as specified by the method entered in the parameter IV_SIMSESSION_METHOD:
Value | Constant | Description | |
---|---|---|---|
'N' | gc_simsession_new | Create new simsession with the specified GUID | |
'M' | gc_simsession_merge | Perform a soft merge for the specified simsession | |
'H' | gc_simsession_merge | Perform a hard merge for the specified simsession | |
'D' | gc_simsession_delete | Delete simsession | |
'S' | gc_simsession_save | Save a simsession to be used again later | |
'O' | gc_simsession_open | Open a previously saved simsession | |
'C' | gc_simsession_cancel | Reset simsession to its last saved state; delete if not yet saved |
Notes
Error Handling and Troubleshooting
If problems occur when applying the modified data from the simsession to the current data (in a hard merge), the problems are registered in the export table ET_INFO_RC. Any other errors are registered in the standard return code table ET_RC.
The following errors are possible:
- 17831 = om_simsession_does_not_exists (sic!):
A simsession with the specified GUID does not exist in liveCache.
- 34 = om_invalid_method:
Invalid method; use only the methods listed above.
Parameters
ET_DELETED_FIX_PEGGINGET_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_IS_UNCOUPLED
IV_LCNAME
IV_MLEVEL_ATP_PROTOCOL_ID
IV_SIMSESSION
IV_SIMSESSION_METHOD
IV_SIMSESSION_REF
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
MLEVEL_ATP_PROTOCOL_REG_FAILED
MULTI_TASIM_REGISTRATION
TASIM_REGISTRATION_FAILED
Function Group
APO/SAPLOM_CORETXBHW - Original Tax Base Amount in Local Currency TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 3992 Date: 20240328 Time: 180141 sap01-206 ( 38 ms )