SAP CUCP_CHECK_DEL_PROFCNT_CONF Function Module for NOTRANSL: Verwendungsprüfung einzelnes Konfigurationsprofil in konfig. Obj









CUCP_CHECK_DEL_PROFCNT_CONF is a standard cucp check del profcnt conf SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Verwendungsprüfung einzelnes Konfigurationsprofil in konfig. Obj 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 cucp check del profcnt conf FM, simply by entering the name CUCP_CHECK_DEL_PROFCNT_CONF into the relevant SAP transaction such as SE37 or SE38.

Function Group: CUCP
Program Name: SAPLCUCP
Main Program:
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CUCP_CHECK_DEL_PROFCNT_CONF 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 'CUCP_CHECK_DEL_PROFCNT_CONF'"NOTRANSL: Verwendungsprüfung einzelnes Konfigurationsprofil in konfig. Obj
EXPORTING
CUCP_VAR_CLASS_TYPE = "Variant Class Type
CUCP_PROFILE_OBTAB = "Name of Database Table for Object
CUCP_PROFILE_OBJEK = "Key of configurable object
CUCP_PROFILE_NUMBER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* CUCP_AENNR = "Change Number
* CUCP_DATUV = "Valid-From Date

EXCEPTIONS
DELETION_ALLOWED = 1 DELETION_ALLOWED_WITH_ECM = 2
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCUCP_002 Deleted Assignment of Class to Object Despite Configured Objects
EXIT_SAPLCUCP_003 Delete assignment of characteristic to class despite configured object
EXIT_SAPLCUCP_004 Deleted Assignment of Class to Object Despite Configured Objects
EXIT_SAPLCUCP_005 Delete assignment of profile to object despite configured objects
EXIT_SAPLCUCP_006 Delete Assignment of Characteristic to Class Despite Configured Obj. CBASE
EXIT_SAPLCUCP_007 Delete ASsignment of Class to Object Despite Configured Object CBASE
EXIT_SAPLCUCP_008 Delete Assignment of Profile for Object Despite Configured Object CBASE

IMPORTING Parameters details for CUCP_CHECK_DEL_PROFCNT_CONF

CUCP_VAR_CLASS_TYPE - Variant Class Type

Data type: KLAH-KLART
Optional: No
Call by Reference: No ( called with pass by value option)

CUCP_PROFILE_OBTAB - Name of Database Table for Object

Data type: CUCO-OBTAB
Optional: No
Call by Reference: No ( called with pass by value option)

CUCP_PROFILE_OBJEK - Key of configurable object

Data type: CUCO-OBJEK
Optional: No
Call by Reference: No ( called with pass by value option)

CUCP_PROFILE_NUMBER - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: CUCO-ZAEHL
Optional: No
Call by Reference: No ( called with pass by value option)

CUCP_AENNR - Change Number

Data type: RMCLM-AENNR
Optional: Yes
Call by Reference: Yes

CUCP_DATUV - Valid-From Date

Data type: RMCLM-DATUV
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

DELETION_ALLOWED - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

DELETION_ALLOWED_WITH_ECM - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CUCP_CHECK_DEL_PROFCNT_CONF 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_cucp_var_class_type  TYPE KLAH-KLART, "   
lv_cucp_profile_obtab  TYPE CUCO-OBTAB, "   
lv_deletion_allowed_with_ecm  TYPE CUCO, "   
lv_cucp_profile_objek  TYPE CUCO-OBJEK, "   
lv_cucp_profile_number  TYPE CUCO-ZAEHL, "   
lv_cucp_aennr  TYPE RMCLM-AENNR, "   
lv_cucp_datuv  TYPE RMCLM-DATUV. "   

  CALL FUNCTION 'CUCP_CHECK_DEL_PROFCNT_CONF'  "NOTRANSL: Verwendungsprüfung einzelnes Konfigurationsprofil in konfig. Obj
    EXPORTING
         CUCP_VAR_CLASS_TYPE = lv_cucp_var_class_type
         CUCP_PROFILE_OBTAB = lv_cucp_profile_obtab
         CUCP_PROFILE_OBJEK = lv_cucp_profile_objek
         CUCP_PROFILE_NUMBER = lv_cucp_profile_number
         CUCP_AENNR = lv_cucp_aennr
         CUCP_DATUV = lv_cucp_datuv
    EXCEPTIONS
        DELETION_ALLOWED = 1
        DELETION_ALLOWED_WITH_ECM = 2
. " CUCP_CHECK_DEL_PROFCNT_CONF




ABAP code using 7.40 inline data declarations to call FM CUCP_CHECK_DEL_PROFCNT_CONF

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_cucp_var_class_type).
 
"SELECT single OBTAB FROM CUCO INTO @DATA(ld_cucp_profile_obtab).
 
 
"SELECT single OBJEK FROM CUCO INTO @DATA(ld_cucp_profile_objek).
 
"SELECT single ZAEHL FROM CUCO INTO @DATA(ld_cucp_profile_number).
 
"SELECT single AENNR FROM RMCLM INTO @DATA(ld_cucp_aennr).
 
"SELECT single DATUV FROM RMCLM INTO @DATA(ld_cucp_datuv).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!