Fonction SAP CBIH_LB61_UE_MP_COPY - EHS: User Exit: Copy Measurement Project

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ADDINF RCGADDINF u 27 Additional Information
I_SOURCE_MP CCIHS_MPIOT u 1113 Source Measurement Project

Paramètre Reférence Type Long. Description
E_TARGET_MP CCIHS_MPIOT u 1113 Target Measurement Project

Exception Description
INTERNAL_ERROR
SOURCE_DATA_ERROR

Use
With this function module you can copy measurement projects.
The function module is also available as a reference function module forthe definition of the interface of the user exit category IHS_MPCOPY
.

Preconditions
The user exit name MP_COPY must exist in Customizing forBasic Data and Tools under Manage User Exits and must beassigned a function module.

Features
The module takes the measurement project you want to copy and reads itsdetail data using the function module CBIH_LB61_MP_SINGLE_READ.
The keys are deleted from the header and detail data and then the newdata record for the measurement project including the detail datarecords is created with the API function CBIH_MP30_MP_CREATE.
The header data record for the copied measurement project is returned tothe caller.