SAP Knowledge Base Article - Public

3317135 - Dump occurs with object I_BatchTP_2

Symptom

When using business object I_BATCHTP_2 to read, create, and update batches, a dump occurs when executing the object:

  • Runtime Error: RAISE_SHORTDUMP
    Exception: CX_LOBM_BATCH_BO_MIXED_TX_CTXT
    Program: CL_LOBM_DUMP_TRIGGER==========CP
    Application Component: LO-BM

Environment

SAP S/4HANA Cloud.

Cause

Standard system behavior.

Resolution

Write access to the business object I_BatchTP_2 must not be mixed in the same transaction with calls to conventional function modules that also change batch data.

This also applies to the business object (BO) I_MaterialDocumentTP which cannot be used in the same transaction as I_BatchTP_2. The reason is that I_MaterialDocumentRecordTP is also calling some conventional function modules internally.

To be able to use both business objects, the calls have to be split into different transactions.

For more details, please check the following link from API Hub:

See Also

SAP Help - Objects Released for Developer Extensibility in Batch Management

API Business Hub - Batch - I_BATCHTP_2

Keywords

Batch, API, service, dump, error, I_BATCHTP_2, API business hub, I_MaterialDocumentTP, characteristics, classification data. , KBA , LO-BM-2CL , Batch Management (Public Cloud) , LO-BM , Batch Management , LO-BM-FIO-2CL , Fiori UI for Batch Management (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions