Menu

SAP Function Module CRM_ROLE_COPIER

Utility for Copying Complete Roles with Portal Service IDs

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module CRM_ROLE_COPIER (Utility for Copying Complete Roles with Portal Service IDs) is a standard Function Module in SAP ERP and is part of the function group CRMC_PRT_URL_CHECK within the package CRM_BSP_URL_GENERATION.

Technical Information

Function Module CRM_ROLE_COPIER
Short Text Utility for Copying Complete Roles with Portal Service IDs
Function Group CRMC_PRT_URL_CHECK
Package CRM_BSP_URL_GENERATION
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
INSERT_MODE TYPE CRMT_URL_ROLE_COPY_INSERTMODE 'X' Indicator for Role Copier
PRIORITY TYPE CRMT_PRT_ROLE_PRIO Priority of Role Regarding Object Method
SOURCE_PORTAL_ROLE TYPE CRMT_ID_PORTAL_ROLE Portal Role ID
SOURCE_SINGLE_ROLE TYPE AGR_NAME Role Name
TARGET_PORTAL_ROLE TYPE CRMT_ID_PORTAL_ROLE Portal Role ID
TARGET_ROLE_ADDENDUM TYPE CRMT_URL_ROLE_COPY_ADDENDUM Addendum to Target Portal Role in Role Copier
TARGET_SINGLE_ROLE TYPE AGR_NAME Role Name
TEST_MODE TYPE CRMT_URL_ROLE_COPY_TESTMODE 'X' Indicator for Role Copier Test Mode

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DB_FAULTY_RECORDS LIKE CRMC_PRT_ROLE_MO Assignment of CRM Object Method to Role
FAULTY_RECORDS LIKE CRMC_PRT_ROLE_MO Assignment of CRM Object Method to Role
SUCCEEDED_RECORDS LIKE CRMC_PRT_ROLE_MO Assignment of CRM Object Method to Role

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
COPIER_DB_WRITING_ERROR Fehler beim Schreiben in Tabelle CRMC_PRT_ROLE_MO. Roleback initiiert.
COPIER_MISSING_S_PORTAL_ROLE Fehlende Portal-Rolle
COPIER_MISSING_S_SINGLE_ROLE Fehlende Einzel-Rolle
COPIER_MISSING_T_PORTAL_ROLE Fehlende Ziel-Portal-Rolle
COPIER_MISSING_T_PRIORITY Fehlende Ziel-Priorität
COPIER_MISSING_T_SINGLE_ROLE Fehlende Ziel-Einzel-Rolle
COPIER_NO_SERVICES_FOUND Keine Einträge zur Quell-Einzel-Rolle in Tabelle CRMC_PRT_ROLE_MO
COPIER_WRITING_ROLE_RL Fehler beim Schreiben in Tabelle CRMC_PRT_ROLE_RL