SAP CE_I_HAS_ACTUAL_INSTANCE Function Module for NOTRANSL: DDB: Information mit welcher Instanz die DDB zur Zeit arbeitet









CE_I_HAS_ACTUAL_INSTANCE is a standard ce i has actual instance 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: DDB: Information mit welcher Instanz die DDB zur Zeit arbeitet 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 has actual instance FM, simply by entering the name CE_I_HAS_ACTUAL_INSTANCE into the relevant SAP transaction such as SE37 or SE38.

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



Function CE_I_HAS_ACTUAL_INSTANCE 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_HAS_ACTUAL_INSTANCE'"NOTRANSL: DDB: Information mit welcher Instanz die DDB zur Zeit arbeitet
IMPORTING
INSTANCE = "Configuration (internal object number)
OBJECT_INSTANCE = "Instance number within DDB (configuration)
CINST = "Instance number within DDB (configuration)
.




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

EXPORTING Parameters details for CE_I_HAS_ACTUAL_INSTANCE

INSTANCE - Configuration (internal object number)

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

OBJECT_INSTANCE - Instance number within DDB (configuration)

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

CINST - Instance number within DDB (configuration)

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

Copy and paste ABAP code example for CE_I_HAS_ACTUAL_INSTANCE 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_instance  TYPE INOB-CUOBJ, "   
lv_object_instance  TYPE DDB_C02-INSTANCE, "   
lv_cinst  TYPE DDB_C02-INSTANCE. "   

  CALL FUNCTION 'CE_I_HAS_ACTUAL_INSTANCE'  "NOTRANSL: DDB: Information mit welcher Instanz die DDB zur Zeit arbeitet
    IMPORTING
         INSTANCE = lv_instance
         OBJECT_INSTANCE = lv_object_instance
         CINST = lv_cinst
. " CE_I_HAS_ACTUAL_INSTANCE




ABAP code using 7.40 inline data declarations to call FM CE_I_HAS_ACTUAL_INSTANCE

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_object_instance).
 
"SELECT single INSTANCE FROM DDB_C02 INTO @DATA(ld_cinst).
 


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!