Ansicht
Dokumentation
CNV_MBT_USR_SET_USER_COPY - Presettings of copy user tables will be copied
ABAP Short Reference rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
The function module supplies some functions we need to maintain the parameter for copy user tables. The different tasks can be called with the execution modes SET, GET and COPY. We can only set one execution mode per function module call.
Execution mode GET
With execution mode GET we can read the parameter entry for the package we specify in the import parameter NEW_PACK. We get the result in the export parameter PARAMS.
Execution mode SET
If we want to use the function of user tables copy we set the import parameter SET. The import parameter NEW_PACK gets the package number. If we want that the copy function will be executed we set the import parameter COPY_USER. If we leave the field empty the copy function will not be executed.
Execution mode COPY
With execution mode COPY we copy the parameters of the old package but with the packi d of the new package. Both packages must be assigned to the same subproject. If the import parameter OLD_PACK is initial we assume that the former package shall be used as old package. If there is already an entry for the new package in the parameter table we check if the parameters are equal. In the case that the parameters not equal we update the new parameters with the values from the old parameters.
The import parameters new_pack and subproject has to be supplied by all execution modes.
Example
Notes
Further information
Parameters
COPYCOPY_USER
GET
NEW_PACK
OLD_PACK
PARAMS
SET
SUBPROJECT
Exceptions
INITIAL_SUBPROJECTNEW_PACK_INITIAL
NEW_PACK_NOT_IN_SUBPROJECT
NOT_SAME_SUBPROJECT
NO_PACKAGES
NO_SELECTED_MODE
NO_SUBPROJECT
WRONG_MODE_NUMBER
Function Group
CNV_MBT_USRCL_GUI_FRONTEND_SERVICES - Frontend Services BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 2082 Date: 20240605 Time: 091131 sap01-206 ( 55 ms )