SAP EXIT_SAPLCUCP_008 Function Module for Delete Assignment of Profile for Object Despite Configured Object CBASE
EXIT_SAPLCUCP_008 is a standard exit saplcucp 008 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 Profile for Object Despite Configured Object CBASE 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 008 FM, simply by entering the name EXIT_SAPLCUCP_008 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_008 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_008'"Delete Assignment of Profile for Object Despite Configured Object CBASE.
EXPORTING
I_VAR_CLASS_TYPE = "Class Type
I_ROOT_OBJECT_KEY = "Key of Object to be Classified
I_CUCP_OBJECT_TABLE = "Name of Database Table for Object
I_CUCP_PROFILE_NUMBER = "Internal counter
I_AENNR = "Change Number
I_DATUV = "Valid-From Date
TABLES
CONFIGURED_OBJECTS_CBASE = "Configured Object for Profile (in CBASE)
EXCEPTIONS
DELETION_ALLOWED_WITH_ECM = 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_008
I_VAR_CLASS_TYPE - Class Type
Data type: KLAH-KLARTOptional: No
Call by Reference: Yes
I_ROOT_OBJECT_KEY - Key of Object to be Classified
Data type: INOB-OBJEKOptional: No
Call by Reference: Yes
I_CUCP_OBJECT_TABLE - Name of Database Table for Object
Data type: INOB-OBTABOptional: No
Call by Reference: Yes
I_CUCP_PROFILE_NUMBER - Internal counter
Data type: CUCO-ZAEHLOptional: No
Call by Reference: Yes
I_AENNR - Change Number
Data type: RMCLF-AENNR1Optional: No
Call by Reference: Yes
I_DATUV - Valid-From Date
Data type: RMCLF-DATUV1Optional: No
Call by Reference: Yes
TABLES Parameters details for EXIT_SAPLCUCP_008
CONFIGURED_OBJECTS_CBASE - Configured Object for Profile (in CBASE)
Data type: IBINOptional: No
Call by Reference: Yes
EXCEPTIONS details
DELETION_ALLOWED_WITH_ECM - Deletion of Configuration Profile with ECM is Allowed
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLCUCP_008 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_i_var_class_type | TYPE KLAH-KLART, " | |||
lt_configured_objects_cbase | TYPE STANDARD TABLE OF IBIN, " | |||
lv_deletion_allowed_with_ecm | TYPE IBIN, " | |||
lv_i_root_object_key | TYPE INOB-OBJEK, " | |||
lv_i_cucp_object_table | TYPE INOB-OBTAB, " | |||
lv_i_cucp_profile_number | TYPE CUCO-ZAEHL, " | |||
lv_i_aennr | TYPE RMCLF-AENNR1, " | |||
lv_i_datuv | TYPE RMCLF-DATUV1. " |
  CALL FUNCTION 'EXIT_SAPLCUCP_008' "Delete Assignment of Profile for Object Despite Configured Object CBASE |
EXPORTING | ||
I_VAR_CLASS_TYPE | = lv_i_var_class_type | |
I_ROOT_OBJECT_KEY | = lv_i_root_object_key | |
I_CUCP_OBJECT_TABLE | = lv_i_cucp_object_table | |
I_CUCP_PROFILE_NUMBER | = lv_i_cucp_profile_number | |
I_AENNR | = lv_i_aennr | |
I_DATUV | = lv_i_datuv | |
TABLES | ||
CONFIGURED_OBJECTS_CBASE | = lt_configured_objects_cbase | |
EXCEPTIONS | ||
DELETION_ALLOWED_WITH_ECM = 1 | ||
. " EXIT_SAPLCUCP_008 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCUCP_008
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 OBJEK FROM INOB INTO @DATA(ld_i_root_object_key). | ||||
"SELECT single OBTAB FROM INOB INTO @DATA(ld_i_cucp_object_table). | ||||
"SELECT single ZAEHL FROM CUCO INTO @DATA(ld_i_cucp_profile_number). | ||||
"SELECT single AENNR1 FROM RMCLF INTO @DATA(ld_i_aennr). | ||||
"SELECT single DATUV1 FROM RMCLF INTO @DATA(ld_i_datuv). | ||||
Search for further information about these or an SAP related objects