Ansicht
Dokumentation

EAM_CL_API_COPY_LOT - Checklist: Copy Checklist (Inspection Lot)

EAM_CL_API_COPY_LOT - Checklist: Copy Checklist (Inspection Lot)

Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to create a copy of an existing checklist (inspection lot) by calling it with the respective inspection lot number as importing parameter IV_INSPECTIONLOT_NUMBER.

Based on the order number, operation number, technical object, and inspection plan (checklist template) of the already existing checklist, the creation process of a new checklist is started using EAM_CL_API_CREATE_LOT.

Authorization and data consistency checks are performed. 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 after successful execution (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 instead.

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 copy and 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_INSPECTIONLOT_NUMBER
IV_SKIP_AUTH_CHECK
IV_TEST

Exceptions

Function Group

EAM_CL_API

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1677 Date: 20240523 Time: 095949     sap01-206 ( 34 ms )