Ansicht
Dokumentation

EAM_CL_API_CREATE_LOT - Checklist: Create Checklist (Inspection Lot)

EAM_CL_API_CREATE_LOT - Checklist: Create Checklist (Inspection Lot)

Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to create a new checklist (inspection lot). To do so, import a valid order number (IV_ORDNR), an operation number of this order (IV_OPERNR), and an inspection plan (IV_TL_COUNTER, IV_TL_KEY, IV_TL_TYPE) as checklist templates. Additionally, you must either provide a functional location label (IV_FUNCLOC_LABEL) or equipment (IV_EQUIPMENT) if both importing parameters are filled, so that the checklist will be assigned to the equipment.

Authorization and data consistency checks of the importing parameters are in place. Corresponding maintenance orders will be locked and unlocked. BAdI methods for checklist creation are also executed.

Exporting parameter EV_INSPECTIONLOT_NUMBER contains the inspection lot number of the new checklist if successfully executed (EV_ERROR = ‘ ‘).

The process can also be executed in test mode (IV_TEST = ‘X’), where changes are not committed, but the process messages are returned in parameter ET_RETURN.

Notes

In test mode, changes are rolled back with ‘ROLLBACK WORK’, otherwise they are committed with ‘COMMIT WORK AND WAIT’. Exporting parameter ET_RETURN contains all messages from creation processes, and parameter ET_LOGH contains application log handles including these messages.





Parameters

ET_LOGH
ET_RETURN
EV_ERROR
EV_INSPECTIONLOT_NUMBER
IV_COMPLETE_LUW
IV_EQUIPMENT
IV_FUNCLOC_LABEL
IV_OPERNR
IV_ORDNR
IV_SKIP_AUTH_CHECK
IV_TEST
IV_TL_COUNTER
IV_TL_KEY
IV_TL_TYPE

Exceptions

Function Group

EAM_CL_API

TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1806 Date: 20240523 Time: 093144     sap01-206 ( 42 ms )