SAP CE_I_GET_CONFIGURATION Function Module for NOTRANSL: Liefert die aktuelle Merkmalbewertung einer Instanz









CE_I_GET_CONFIGURATION is a standard ce i get configuration 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: Liefert die aktuelle Merkmalbewertung einer Instanz 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 ce i get configuration FM, simply by entering the name CE_I_GET_CONFIGURATION into the relevant SAP transaction such as SE37 or SE38.

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



Function CE_I_GET_CONFIGURATION 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 'CE_I_GET_CONFIGURATION'"NOTRANSL: Liefert die aktuelle Merkmalbewertung einer Instanz
EXPORTING
INSTANCE = "
CINST = "
PROFILE = "
DATE = "

IMPORTING
CFGI = "
STATUS = "Component Status (Instance) from Configuration Perspective
STATUS_INCONSISTENT = "Inconsistent status

EXCEPTIONS
INSTANCE_NOT_FOUND = 1
.




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_SAPLCEI0_001 User Exit: SD Customer Fields in a Configurable Instance
EXIT_SAPLCEI0_010 User Exit: Customer Pushbutton 01
EXIT_SAPLCEI0_011 User Exit: Customer Pushbutton 02
EXIT_SAPLCEI0_012 User Exit: Customer Pushbutton 03
EXIT_SAPLCEI0_013 User Exit: Customer Pushbutton 04
EXIT_SAPLCEI0_014 User Exit: Customer Pushbutton 05
EXIT_SAPLCEI0_015 User Exit: Customer Pushbutton 06
EXIT_SAPLCEI0_016 User Exit: Customer Pushbutton 07
EXIT_SAPLCEI0_017 User Exit: Customer Pushbutton 08
EXIT_SAPLCEI0_018 User Exit: Customer Pushbutton 09
EXIT_SAPLCEI0_019 User Exit: Customer Pushbutton 10
EXIT_SAPLCEI0_020 Switch Off Standard Batch-Input Screen 0109
EXIT_SAPLCEI0_021 Assigned Values Files and Object Characteristics
EXIT_SAPLCEI0_022 Change presentation of F4 help
EXIT_SAPLCEI0_023 Activate Search for Material Variant with Same Values

IMPORTING Parameters details for CE_I_GET_CONFIGURATION

INSTANCE -

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

CINST -

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

PROFILE -

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

DATE -

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

EXPORTING Parameters details for CE_I_GET_CONFIGURATION

CFGI -

Data type: IBCO2_VALUE_TAB
Optional: No
Call by Reference: Yes

STATUS - Component Status (Instance) from Configuration Perspective

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

STATUS_INCONSISTENT - Inconsistent status

Data type: XFELD
Optional: No
Call by Reference: Yes

EXCEPTIONS details

INSTANCE_NOT_FOUND -

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

Copy and paste ABAP code example for CE_I_GET_CONFIGURATION 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_cfgi  TYPE IBCO2_VALUE_TAB, "   
lv_instance  TYPE INOB-CUOBJ, "   
lv_instance_not_found  TYPE INOB, "   
lv_cinst  TYPE DDB_C02-INSTANCE, "   
lv_status  TYPE IBINCONF-CSTATUS, "   
lv_profile  TYPE CUCO, "   
lv_status_inconsistent  TYPE XFELD, "   
lv_date  TYPE SY-DATUM. "   

  CALL FUNCTION 'CE_I_GET_CONFIGURATION'  "NOTRANSL: Liefert die aktuelle Merkmalbewertung einer Instanz
    EXPORTING
         INSTANCE = lv_instance
         CINST = lv_cinst
         PROFILE = lv_profile
         DATE = lv_date
    IMPORTING
         CFGI = lv_cfgi
         STATUS = lv_status
         STATUS_INCONSISTENT = lv_status_inconsistent
    EXCEPTIONS
        INSTANCE_NOT_FOUND = 1
. " CE_I_GET_CONFIGURATION




ABAP code using 7.40 inline data declarations to call FM CE_I_GET_CONFIGURATION

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 CUOBJ FROM INOB INTO @DATA(ld_instance).
 
 
"SELECT single INSTANCE FROM DDB_C02 INTO @DATA(ld_cinst).
 
"SELECT single CSTATUS FROM IBINCONF INTO @DATA(ld_status).
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_date).
 


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!