SAP EXIT_SAPLCUCQ_001 Function Module for Additional Logic for Selection of Configuration Profiles in FG CUCQ
EXIT_SAPLCUCQ_001 is a standard exit saplcucq 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Additional Logic for Selection of Configuration Profiles in FG CUCQ 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 saplcucq 001 FM, simply by entering the name EXIT_SAPLCUCQ_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XCUCQ
Program Name: SAPLXCUCQ
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPLCUCQ_001 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_SAPLCUCQ_001'"Additional Logic for Selection of Configuration Profiles in FG CUCQ.
EXPORTING
IV_OBTAB = "Name of Database Table for Object
IV_OBJEK = "Key of Configurable Object
IV_PROFILE_COUNTER = "Internal counter
IV_CLASS_TYPE = "Class type
IV_DATE = "Valid-From Date
IS_WA_CUCO_ROOT = "Additional Data for Configurable Objects
IV_ONLY_ORDER_BOM = "Order BOM
IV_OWNER_ID = "Name of Database Table for Object
* IV_POSEX = "
CHANGING
* CV_NO_MANUAL_SEL = "
TABLES
IT_CUCO = "Additional Data for Configurable Objects
ET_CUCO = "Additional Data for Configurable Objects
EXCEPTIONS
NOT_FOUND = 1 FALSE = 2
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.CUCQ_CHECK_PROFILE_EXISTS NOTRANSL: Prüft, ob Konfigurationsprofil existiert (Zeitpunkt beliebig)
CUCQ_CHECK_VALIDITY_DATE_SHIFT NOTRANSL: Prüfen Datumsverschiebung für Konfigurationsprofile
CUCQ_CONFIG_PARAM_CHANGENUMBER NOTRANSL: Lesen der konfigurierbaren Objekte zu einer Änderungsnummer
CUCQ_CONFIG_PARAM_RELATION NOTRANSL: Lesen der konfigurierbaren Objekte mit Zuordnung zu einem Bezieh
CUCQ_CONFIG_PARAM_RELATION_R NOTRANSL: Lesen der konfigurierb. Obj. mit Zuordnung zu Beziehungswissen ü
CUCQ_CONFIG_PARAM_RELAT_PREC_R NOTRANSL: Lesen der konfigurierb. Obj. mit Zuordnung zu Vorbedingungen übe
CUCQ_GET_CONFIGURATION_PARAMS NOTRANSL: Ermittlung der Konfigurationsparameter zu einem konfigurierbaren
CUCQ_GET_CONFIG_PARAM_CLASS NOTRANSL: Lesen der konfigurierbaren Objekte, die einer Klasse zugeordnet
CUCQ_GET_SINGLE_PROFILE NOTRANSL: Lesen einzelnes Konfigurationsprofil
CUCQ_GET_SINGLE_PROF_WITH_ID NOTRANSL: Lesen einzelnes Konfigurationsprofil zur Profil-ID
CUCQ_INFORM_WORK_NOT_COMMITTED NOTRANSL: Setzen Signal für synchron gepflegte Konfigurationsparameter im
CUCQ_PROFILE_INITIALIZER NOTRANSL: CUCQ Initialisierung Profilpuffer
CUCQ_REDUCE_SUBORDINATE_PROFIL NOTRANSL: Einschränken nicht erlaubter untergeordneter Konfigurationsprofi
IMPORTING Parameters details for EXIT_SAPLCUCQ_001
IV_OBTAB - Name of Database Table for Object
Data type: TABELLEOptional: No
Call by Reference: Yes
IV_OBJEK - Key of Configurable Object
Data type: CUCOOBJOptional: No
Call by Reference: Yes
IV_PROFILE_COUNTER - Internal counter
Data type: CUCOZHLOptional: No
Call by Reference: Yes
IV_CLASS_TYPE - Class type
Data type: KLASSENARTOptional: No
Call by Reference: Yes
IV_DATE - Valid-From Date
Data type: DATUVOptional: No
Call by Reference: Yes
IS_WA_CUCO_ROOT - Additional Data for Configurable Objects
Data type: CUCOOptional: No
Call by Reference: Yes
IV_ONLY_ORDER_BOM - Order BOM
Data type: CUSTLKDOptional: No
Call by Reference: Yes
IV_OWNER_ID - Name of Database Table for Object
Data type: TABELLEOptional: No
Call by Reference: Yes
IV_POSEX -
Data type: VBAP-POSEXOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for EXIT_SAPLCUCQ_001
CV_NO_MANUAL_SEL -
Data type: COptional: Yes
Call by Reference: Yes
TABLES Parameters details for EXIT_SAPLCUCQ_001
IT_CUCO - Additional Data for Configurable Objects
Data type: CUCOOptional: No
Call by Reference: Yes
ET_CUCO - Additional Data for Configurable Objects
Data type: CUCOOptional: No
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND - No Active Configuration Parameters Found
Data type:Optional: No
Call by Reference: Yes
FALSE - Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLCUCQ_001 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: | ||||
lt_it_cuco | TYPE STANDARD TABLE OF CUCO, " | |||
lv_iv_obtab | TYPE TABELLE, " | |||
lv_not_found | TYPE TABELLE, " | |||
lv_cv_no_manual_sel | TYPE C, " | |||
lv_false | TYPE C, " | |||
lt_et_cuco | TYPE STANDARD TABLE OF CUCO, " | |||
lv_iv_objek | TYPE CUCOOBJ, " | |||
lv_iv_profile_counter | TYPE CUCOZHL, " | |||
lv_iv_class_type | TYPE KLASSENART, " | |||
lv_iv_date | TYPE DATUV, " | |||
lv_is_wa_cuco_root | TYPE CUCO, " | |||
lv_iv_only_order_bom | TYPE CUSTLKD, " | |||
lv_iv_owner_id | TYPE TABELLE, " | |||
lv_iv_posex | TYPE VBAP-POSEX. " |
  CALL FUNCTION 'EXIT_SAPLCUCQ_001' "Additional Logic for Selection of Configuration Profiles in FG CUCQ |
EXPORTING | ||
IV_OBTAB | = lv_iv_obtab | |
IV_OBJEK | = lv_iv_objek | |
IV_PROFILE_COUNTER | = lv_iv_profile_counter | |
IV_CLASS_TYPE | = lv_iv_class_type | |
IV_DATE | = lv_iv_date | |
IS_WA_CUCO_ROOT | = lv_is_wa_cuco_root | |
IV_ONLY_ORDER_BOM | = lv_iv_only_order_bom | |
IV_OWNER_ID | = lv_iv_owner_id | |
IV_POSEX | = lv_iv_posex | |
CHANGING | ||
CV_NO_MANUAL_SEL | = lv_cv_no_manual_sel | |
TABLES | ||
IT_CUCO | = lt_it_cuco | |
ET_CUCO | = lt_et_cuco | |
EXCEPTIONS | ||
NOT_FOUND = 1 | ||
FALSE = 2 | ||
. " EXIT_SAPLCUCQ_001 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCUCQ_001
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 POSEX FROM VBAP INTO @DATA(ld_iv_posex). | ||||
Search for further information about these or an SAP related objects