SAP EXIT_SAPLCUCP_003 Function Module for Delete assignment of characteristic to class despite configured object
EXIT_SAPLCUCP_003 is a standard exit saplcucp 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Delete assignment of characteristic to class despite configured object processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for exit saplcucp 003 FM, simply by entering the name EXIT_SAPLCUCP_003 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XCUCP
Program Name: SAPLXCUCP
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPLCUCP_003 pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'EXIT_SAPLCUCP_003'"Delete assignment of characteristic to class despite configured object.
EXPORTING
I_VAR_CLASS_TYPE = "Class type
I_VAR_CLASS = "Class number
I_CHARACTERISTIC = "Characteristic name
I_AENNR = "Change number
I_DATUV = "Valid-From Date
TABLES
CONFIGURED_OBJECTS_INOB = "Link between Internal Number and Object
EXCEPTIONS
DELETION_ALLOWED = 1
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.CUCP_CHECK_CLASS_CHAR_CONFIG NOTRANSL: Verwendung Merkmal in konfigurierten Objekten bzgl. Klasse
CUCP_CHECK_DEL_CLASS_CHAR_CONF NOTRANSL: Verwendungsprüfung Merkmal in konfigurierten Objekten
CUCP_CHECK_DEL_OBJ_CLASS_CONF NOTRANSL: Verwendungsprüfung Klasse in konfigurierten Objekten
CUCP_CHECK_DEL_PROFCNT_CONF NOTRANSL: Verwendungsprüfung einzelnes Konfigurationsprofil in konfig. Obj
CUCP_CHECK_MULTILEVEL_CFG NOTRANSL: Prüfung auf mehrstufige Konfigurationen
CUCP_CHECK_MULTILEVEL_CFG_IB NOTRANSL: Prüfung auf mehrstufige Konfiguration IBASE
CUCP_CHECK_SINGLELEVEL_CFG_IB NOTRANSL: Prüfung auf einstufige Konfiguration IBASE
CUCP_CHECK_VALUE_IN_CBASE NOTRANSL: Verwendung eines Merkmalwertes in der CBASE (IBSYMBOL)
CUCP_CONFIGURATIONS_EXIST NOTRANSL: Verwendung eines konfigurierbaren Objektes in Konfigurationen
CUCP_CONFIGURATIONS_PROFILE NOTRANSL: Verwendung Profil eines konfigurierbaren Objektes in Konfigurati
CUCP_CONFIGURATIONS_PROFILE_IB NOTRANSL: Verwendung Profil eines konfigurierbaren Objektes in Konfigurati
CUCP_CONF_PROF_COUNT_INOB_IB NOTRANSL: Verwendung eines einzelnen Konfig.-Profils in Konfigurationen (
IMPORTING Parameters details for EXIT_SAPLCUCP_003
I_VAR_CLASS_TYPE - Class type
Data type: KLAH-KLARTOptional: No
Call by Reference: Yes
I_VAR_CLASS - Class number
Data type: KLAH-CLASSOptional: No
Call by Reference: Yes
I_CHARACTERISTIC - Characteristic name
Data type: CABN-ATNAMOptional: No
Call by Reference: Yes
I_AENNR - Change number
Data type: RMCLM-AENNROptional: No
Call by Reference: Yes
I_DATUV - Valid-From Date
Data type: RMCLM-DATUVOptional: No
Call by Reference: Yes
TABLES Parameters details for EXIT_SAPLCUCP_003
CONFIGURED_OBJECTS_INOB - Link between Internal Number and Object
Data type: INOBOptional: No
Call by Reference: Yes
EXCEPTIONS details
DELETION_ALLOWED - Characteristic can be deleted
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLCUCP_003 Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_deletion_allowed | TYPE STRING, " | |||
lv_i_var_class_type | TYPE KLAH-KLART, " | |||
lt_configured_objects_inob | TYPE STANDARD TABLE OF INOB, " | |||
lv_i_var_class | TYPE KLAH-CLASS, " | |||
lv_i_characteristic | TYPE CABN-ATNAM, " | |||
lv_i_aennr | TYPE RMCLM-AENNR, " | |||
lv_i_datuv | TYPE RMCLM-DATUV. " |
  CALL FUNCTION 'EXIT_SAPLCUCP_003' "Delete assignment of characteristic to class despite configured object |
EXPORTING | ||
I_VAR_CLASS_TYPE | = lv_i_var_class_type | |
I_VAR_CLASS | = lv_i_var_class | |
I_CHARACTERISTIC | = lv_i_characteristic | |
I_AENNR | = lv_i_aennr | |
I_DATUV | = lv_i_datuv | |
TABLES | ||
CONFIGURED_OBJECTS_INOB | = lt_configured_objects_inob | |
EXCEPTIONS | ||
DELETION_ALLOWED = 1 | ||
. " EXIT_SAPLCUCP_003 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCUCP_003
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8."SELECT single KLART FROM KLAH INTO @DATA(ld_i_var_class_type). | ||||
"SELECT single CLASS FROM KLAH INTO @DATA(ld_i_var_class). | ||||
"SELECT single ATNAM FROM CABN INTO @DATA(ld_i_characteristic). | ||||
"SELECT single AENNR FROM RMCLM INTO @DATA(ld_i_aennr). | ||||
"SELECT single DATUV FROM RMCLM INTO @DATA(ld_i_datuv). | ||||
Search for further information about these or an SAP related objects