Ansicht
Dokumentation

/SCMB/MDL_BATCH_READ_MULTI - Batch - Mass Access

/SCMB/MDL_BATCH_READ_MULTI - Batch - Mass Access

ABAP 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 returns the batch data that was entered using parameter IT_ID. This parameter contains the batch numbers and material numbers to be read, in the form of a table. The data for batches found is returned using the export parameter ET_DATA. Each batch found contains an entry in this results table.

If a given batch is not found, the function module returns the key for this batch (batch number, material number) using the export parameter ET_NOT_EXIST. After executing the function module, this results table contains the keys for all batches that could not be found. Therefore, the function module does not trigger an exception if a given batch could not be found.

Example

Notes

The exceptions that the function module can trigger are class-based exceptions. This means that the function module must always be called in a statement block that is closed with the statements TRY and ENDTRY. A handler is started by the CATCH statement, which is followed by the exception classes and the corresponding handler code. If the exceptions are not collected, this causes the program to terminate.

Further information





Parameters

ET_DATA
ET_NOT_EXIST
IT_ID
IV_APPL_COMPONENT
IV_BYPASSING_BUFFER
IV_LANGUAGE

Exceptions

/SCMB/CX_MDL
/SCMB/CX_MDL_INTERFACE
/SCMB/CX_MDL_RESULT
/SCMB/CX_MDL_RESULT_EMPTY
/SCMB/CX_MDL_RESULT_TOOMANY

Function Group

B/SAPLMDL_BATCH

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1646 Date: 20240328 Time: 110613     sap01-206 ( 50 ms )