SAP EWF_DB_CONFIG_SELECT Function Module for NOTRANSL: INTERN: Datenbankselektion einer gesamten Front-Office-konfigura









EWF_DB_CONFIG_SELECT is a standard ewf db config select 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: INTERN: Datenbankselektion einer gesamten Front-Office-konfigura 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 ewf db config select FM, simply by entering the name EWF_DB_CONFIG_SELECT into the relevant SAP transaction such as SE37 or SE38.

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



Function EWF_DB_CONFIG_SELECT 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 'EWF_DB_CONFIG_SELECT'"NOTRANSL: INTERN: Datenbankselektion einer gesamten Front-Office-konfigura
EXPORTING
X_CONFIG = "Action Box configuration
* X_ACTSTAT = 'A' "Activation Status of Entry
* X_LANGU = SY-LANGU "ABAP System Field: Language Key of Text Environment
* X_ACTUAL = ' ' "General checkbox: X or ' '

IMPORTING
Y_EWFCON = "Front Office Configuration

TABLES
* YT_EWFCONT = "Front Office Configuration: Text
* YT_EWFPAR = "Front Office Configuration: Call Parameter
* YT_EWFPART = "Front Office Configuration: Call Parameter: Text
* YT_EWFGRU = "Front Office Call Group
* YT_EWFGRUT = "Front Office Call Group: Text
* YT_EWFCAL = "Front Office Call
* YT_EWFCALT = "Front Office Call: Text
* YT_EWFTRA = "Front Office Call: Data Flow
* YT_CCMACTIONOBJ = "Assign transactions to object types - usage restriction

EXCEPTIONS
NOT_FOUND = 1 SYSTEM_ERROR = 2
.



IMPORTING Parameters details for EWF_DB_CONFIG_SELECT

X_CONFIG - Action Box configuration

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

X_ACTSTAT - Activation Status of Entry

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

X_LANGU - ABAP System Field: Language Key of Text Environment

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

X_ACTUAL - General checkbox: X or SPACE

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

EXPORTING Parameters details for EWF_DB_CONFIG_SELECT

Y_EWFCON - Front Office Configuration

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

TABLES Parameters details for EWF_DB_CONFIG_SELECT

YT_EWFCONT - Front Office Configuration: Text

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

YT_EWFPAR - Front Office Configuration: Call Parameter

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

YT_EWFPART - Front Office Configuration: Call Parameter: Text

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

YT_EWFGRU - Front Office Call Group

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

YT_EWFGRUT - Front Office Call Group: Text

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

YT_EWFCAL - Front Office Call

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

YT_EWFCALT - Front Office Call: Text

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

YT_EWFTRA - Front Office Call: Data Flow

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

YT_CCMACTIONOBJ - Assign transactions to object types - usage restriction

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

EXCEPTIONS details

NOT_FOUND -

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

SYSTEM_ERROR -

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

Copy and paste ABAP code example for EWF_DB_CONFIG_SELECT 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_x_config  TYPE EWFCON-CONFIG, "   
lv_y_ewfcon  TYPE EWFCON, "   
lv_not_found  TYPE EWFCON, "   
lt_yt_ewfcont  TYPE STANDARD TABLE OF EWFCONT, "   
lv_x_actstat  TYPE EWFCON-ACTSTAT, "   'A'
lt_yt_ewfpar  TYPE STANDARD TABLE OF EWFPAR, "   
lv_system_error  TYPE EWFPAR, "   
lv_x_langu  TYPE SY-LANGU, "   SY-LANGU
lt_yt_ewfpart  TYPE STANDARD TABLE OF EWFPART, "   
lv_x_actual  TYPE EBAGEN-KENNZX, "   SPACE
lt_yt_ewfgru  TYPE STANDARD TABLE OF EWFGRU, "   
lt_yt_ewfgrut  TYPE STANDARD TABLE OF EWFGRUT, "   
lt_yt_ewfcal  TYPE STANDARD TABLE OF EWFCAL, "   
lt_yt_ewfcalt  TYPE STANDARD TABLE OF EWFCALT, "   
lt_yt_ewftra  TYPE STANDARD TABLE OF EWFTRA, "   
lt_yt_ccmactionobj  TYPE STANDARD TABLE OF CCMACTIONOBJ. "   

  CALL FUNCTION 'EWF_DB_CONFIG_SELECT'  "NOTRANSL: INTERN: Datenbankselektion einer gesamten Front-Office-konfigura
    EXPORTING
         X_CONFIG = lv_x_config
         X_ACTSTAT = lv_x_actstat
         X_LANGU = lv_x_langu
         X_ACTUAL = lv_x_actual
    IMPORTING
         Y_EWFCON = lv_y_ewfcon
    TABLES
         YT_EWFCONT = lt_yt_ewfcont
         YT_EWFPAR = lt_yt_ewfpar
         YT_EWFPART = lt_yt_ewfpart
         YT_EWFGRU = lt_yt_ewfgru
         YT_EWFGRUT = lt_yt_ewfgrut
         YT_EWFCAL = lt_yt_ewfcal
         YT_EWFCALT = lt_yt_ewfcalt
         YT_EWFTRA = lt_yt_ewftra
         YT_CCMACTIONOBJ = lt_yt_ccmactionobj
    EXCEPTIONS
        NOT_FOUND = 1
        SYSTEM_ERROR = 2
. " EWF_DB_CONFIG_SELECT




ABAP code using 7.40 inline data declarations to call FM EWF_DB_CONFIG_SELECT

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 CONFIG FROM EWFCON INTO @DATA(ld_x_config).
 
 
 
 
"SELECT single ACTSTAT FROM EWFCON INTO @DATA(ld_x_actstat).
DATA(ld_x_actstat) = 'A'.
 
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_x_langu).
DATA(ld_x_langu) = SY-LANGU.
 
 
"SELECT single KENNZX FROM EBAGEN INTO @DATA(ld_x_actual).
DATA(ld_x_actual) = ' '.
 
 
 
 
 
 
 


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!