SAP VC_I_GET_CONFIGURATION Function Module for NOTRANSL: Stellt die Konfiguration in einer itab aufbereitet zur Verfügung









VC_I_GET_CONFIGURATION is a standard vc 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: Stellt die Konfiguration in einer itab aufbereitet zur Verfügung 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 vc i get configuration FM, simply by entering the name VC_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 VC_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 'VC_I_GET_CONFIGURATION'"NOTRANSL: Stellt die Konfiguration in einer itab aufbereitet zur Verfügung
EXPORTING
INSTANCE = "
* IV_INVALID_POSSIBLE = ' ' "
* IV_MAX_MASSPROCESSING = 0 "
* IV_EXPLICIT_ORGAREA = ' ' "Application View
* IV_NO_DESCRIPTION = ' ' "
* IV_USER = ' ' "
* IV_NO_VALUE_CHECK = 'X' "
* IV_NO_DIALOG = ' ' "
* IV_DISPLAY_WARNING = ' ' "
* BUSINESS_OBJECT = "
* LANGUAGE = SY-LANGU "
* PRINT_SALES = ' ' "
* PRINT_PURCHASE = ' ' "
* PRINT_ENGINEERING = ' ' "
* IDOC_MODE = ' ' "
* ANW_SICHT = ' ' "
* EXCL_IND = ' ' "

TABLES
* CONFIGURATION = "
* CONFIGURATION_IDOC = "API Interface for Characteristic Value

EXCEPTIONS
INSTANCE_NOT_FOUND = 1 INTERNAL_ERROR = 2 NO_CLASS_ALLOCATION = 3 INSTANCE_NOT_VALID = 4
.




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 VC_I_GET_CONFIGURATION

INSTANCE -

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

IV_INVALID_POSSIBLE -

Data type: IBXX_BOOL
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_MAX_MASSPROCESSING -

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

IV_EXPLICIT_ORGAREA - Application View

Data type: CUCO-VVIEW
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_NO_DESCRIPTION -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_USER -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_NO_VALUE_CHECK -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_NO_DIALOG -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_DISPLAY_WARNING -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

BUSINESS_OBJECT -

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

LANGUAGE -

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

PRINT_SALES -

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

PRINT_PURCHASE -

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

PRINT_ENGINEERING -

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

IDOC_MODE -

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

ANW_SICHT -

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

EXCL_IND -

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

TABLES Parameters details for VC_I_GET_CONFIGURATION

CONFIGURATION -

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

CONFIGURATION_IDOC - API Interface for Characteristic Value

Data type: API_VALUE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

INSTANCE_NOT_FOUND -

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

INTERNAL_ERROR -

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

NO_CLASS_ALLOCATION -

Data type:
Optional: No
Call by Reference: Yes

INSTANCE_NOT_VALID -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for VC_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_instance  TYPE INOB-CUOBJ, "   
lt_configuration  TYPE STANDARD TABLE OF CONF_OUT, "   
lv_instance_not_found  TYPE CONF_OUT, "   
lv_iv_invalid_possible  TYPE IBXX_BOOL, "   SPACE
lv_iv_max_massprocessing  TYPE I, "   0
lv_iv_explicit_orgarea  TYPE CUCO-VVIEW, "   ' '
lv_iv_no_description  TYPE C, "   ' '
lv_iv_user  TYPE C, "   ' '
lv_iv_no_value_check  TYPE C, "   'X'
lv_iv_no_dialog  TYPE C, "   SPACE
lv_iv_display_warning  TYPE C, "   SPACE
lv_internal_error  TYPE C, "   
lv_business_object  TYPE IBXX_BUSINESS_OBJECT, "   
lt_configuration_idoc  TYPE STANDARD TABLE OF API_VALUE, "   
lv_language  TYPE SY-LANGU, "   SY-LANGU
lv_no_class_allocation  TYPE SY, "   
lv_print_sales  TYPE SY, "   ' '
lv_instance_not_valid  TYPE SY, "   
lv_print_purchase  TYPE SY, "   ' '
lv_print_engineering  TYPE SY, "   ' '
lv_idoc_mode  TYPE SY, "   ' '
lv_anw_sicht  TYPE SY, "   ' '
lv_excl_ind  TYPE SY. "   ' '

  CALL FUNCTION 'VC_I_GET_CONFIGURATION'  "NOTRANSL: Stellt die Konfiguration in einer itab aufbereitet zur Verfügung
    EXPORTING
         INSTANCE = lv_instance
         IV_INVALID_POSSIBLE = lv_iv_invalid_possible
         IV_MAX_MASSPROCESSING = lv_iv_max_massprocessing
         IV_EXPLICIT_ORGAREA = lv_iv_explicit_orgarea
         IV_NO_DESCRIPTION = lv_iv_no_description
         IV_USER = lv_iv_user
         IV_NO_VALUE_CHECK = lv_iv_no_value_check
         IV_NO_DIALOG = lv_iv_no_dialog
         IV_DISPLAY_WARNING = lv_iv_display_warning
         BUSINESS_OBJECT = lv_business_object
         LANGUAGE = lv_language
         PRINT_SALES = lv_print_sales
         PRINT_PURCHASE = lv_print_purchase
         PRINT_ENGINEERING = lv_print_engineering
         IDOC_MODE = lv_idoc_mode
         ANW_SICHT = lv_anw_sicht
         EXCL_IND = lv_excl_ind
    TABLES
         CONFIGURATION = lt_configuration
         CONFIGURATION_IDOC = lt_configuration_idoc
    EXCEPTIONS
        INSTANCE_NOT_FOUND = 1
        INTERNAL_ERROR = 2
        NO_CLASS_ALLOCATION = 3
        INSTANCE_NOT_VALID = 4
. " VC_I_GET_CONFIGURATION




ABAP code using 7.40 inline data declarations to call FM VC_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).
 
 
 
DATA(ld_iv_invalid_possible) = ' '.
 
 
"SELECT single VVIEW FROM CUCO INTO @DATA(ld_iv_explicit_orgarea).
DATA(ld_iv_explicit_orgarea) = ' '.
 
DATA(ld_iv_no_description) = ' '.
 
DATA(ld_iv_user) = ' '.
 
DATA(ld_iv_no_value_check) = 'X'.
 
DATA(ld_iv_no_dialog) = ' '.
 
DATA(ld_iv_display_warning) = ' '.
 
 
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_language).
DATA(ld_language) = SY-LANGU.
 
 
DATA(ld_print_sales) = ' '.
 
 
DATA(ld_print_purchase) = ' '.
 
DATA(ld_print_engineering) = ' '.
 
DATA(ld_idoc_mode) = ' '.
 
DATA(ld_anw_sicht) = ' '.
 
DATA(ld_excl_ind) = ' '.
 


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!