Ansicht
Dokumentation
CNV_MBT_USR_COPY_USER_TABLES - Copy of all user tables from old to new package
PERFORM Short Reference Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
Entries in an user table of a previous package will be copied to the user table of a new package in each involved system. So far it is possible to get a connection to the remote system which we get from the rfc destinations of the previous package. This is dependent on the parameter COPY_USER_TABLE in table cnvmbtparams. If this parameter value in field low is YES then the copy procedure will be executed. The parameter can be maintained in the user management with the function/button PRESETTING. The parameter setting is valid for the next package creation/copy.
Import parameter:
OLD_PACK
If this parameter is initial we take the former package for the copy procedure. The package must be assigned to the same subproject as the new package.
NEW_PACK
This parameter is mandatory. It must be assigned to the same subproject as the old package.
SUBPROJECT
This parameter is mandatory. The old packge and the new package have to be assigned to this subproject.
Export parameter:
DESTINATION_ERR
The rfc destinations are read with the function module cnv_mbt_rfc_get. This function module returns with an exception. This should not be an real problem if we keep in mind that these destinations from a previous package and therefor not necessarily up to date. Instead of raising an excpetion we copy the user from the local system and set the export parameter to 'X'.
COMMUNICATION_ERR
The function module CNV_MBT_USR_SYNC_USER return with a communication error. This means that the connection to the remote system or with the rfc destination was not possible.
SYSTEM_ERR
The function module CNV_MBT_USR_SYNC_USER returns with a system error. The reason could be that the remote system could not find the function module or was not able to call the function module.
Example
Notes
Further information
Parameters
COMMUNICATION_ERRDESTINATION_ERR
NEW_PACK
OLD_PACK
SUBPROJECT
SYSTEM_ERR
Exceptions
INSERT_FAILEDNOT_SAME_SUBPROJECT
NO_INSERT_POSSIBLE
NO_PACKAGES
NO_PACK_FOUND
ONLY_ONE_PACK
SUBPROJECT_NOT_FOUND
USER_COPY_NOT_SET
Function Group
CNV_MBT_USRGeneral Data in Customer Master ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 3352 Date: 20240523 Time: 111235 sap01-206 ( 64 ms )