SAP DBA_DBH_EFWK_WRAPPER Function Module for DBA-DBH: RFC EFWK Wrapper
DBA_DBH_EFWK_WRAPPER is a standard dba dbh efwk wrapper SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DBA-DBH: RFC EFWK Wrapper 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 dba dbh efwk wrapper FM, simply by entering the name DBA_DBH_EFWK_WRAPPER into the relevant SAP transaction such as SE37 or SE38.
Function Group: SDBA_DBH
Program Name: SAPLSDBA_DBH
Main Program: SAPLSDBA_DBH
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DBA_DBH_EFWK_WRAPPER 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 'DBA_DBH_EFWK_WRAPPER'"DBA-DBH: RFC EFWK Wrapper.
EXPORTING
SID = "DBA-DBH: SID
INSTNO = "DBA-DBH: Installation Number
PRPPMSID = "DBA-DBH: Product PPMS ID
MIPPMSID = "DBA-DBH: Maininstance MI PPMS ID
PPPMSID = "DBA-DBH: Maininstance P PPMS ID
CVPPMSID = "DBA-DBH: Component CV PPMS ID
EXTRACTORCLASS = "DBA-DBH: Collector/Extractor Class
AGGLEVEL = "DBA-DBH: Level of Aggregation
CONFIGSTRING = "DBA-DBH: Configuration String
IMPORTING
HEADER = "DBA-DBH: Header Date (100 Data; 10 Long Fields)
EXTRACTOR_DATA = "DBA-DBH: Extracted Data
RETURN_STATUS = "DBA-DBH: Return Status (RC and Message)
TABLES
REQUIRED_RECORDS = "DBA-DBH: Required Records
IMPORTING Parameters details for DBA_DBH_EFWK_WRAPPER
SID - DBA-DBH: SID
Data type: DBA_DBH_SIDOptional: No
Call by Reference: Yes
INSTNO - DBA-DBH: Installation Number
Data type: DBA_DBH_INSTNOOptional: No
Call by Reference: Yes
PRPPMSID - DBA-DBH: Product PPMS ID
Data type: DBA_DBH_PRPPMSIDOptional: No
Call by Reference: Yes
MIPPMSID - DBA-DBH: Maininstance MI PPMS ID
Data type: DBA_DBH_MIPPMSIDOptional: No
Call by Reference: Yes
PPPMSID - DBA-DBH: Maininstance P PPMS ID
Data type: DBA_DBH_PPPMSIDOptional: No
Call by Reference: Yes
CVPPMSID - DBA-DBH: Component CV PPMS ID
Data type: DBA_DBH_CVPPMSIDOptional: No
Call by Reference: Yes
EXTRACTORCLASS - DBA-DBH: Collector/Extractor Class
Data type: DBA_DBH_CLASSOptional: No
Call by Reference: Yes
AGGLEVEL - DBA-DBH: Level of Aggregation
Data type: DBA_DBH_LEVELOptional: No
Call by Reference: Yes
CONFIGSTRING - DBA-DBH: Configuration String
Data type: DBA_DBH_CONFIG_STRINGOptional: No
Call by Reference: Yes
EXPORTING Parameters details for DBA_DBH_EFWK_WRAPPER
HEADER - DBA-DBH: Header Date (100 Data; 10 Long Fields)
Data type: DBA_DBH_LOADER_HEADEROptional: No
Call by Reference: Yes
EXTRACTOR_DATA - DBA-DBH: Extracted Data
Data type: DBA_DBH_LOADER_DATAOptional: No
Call by Reference: Yes
RETURN_STATUS - DBA-DBH: Return Status (RC and Message)
Data type: DBA_DBH_RETURN_STATUSOptional: No
Call by Reference: Yes
TABLES Parameters details for DBA_DBH_EFWK_WRAPPER
REQUIRED_RECORDS - DBA-DBH: Required Records
Data type: DBA_DBH_REQUIRED_RECORDSOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DBA_DBH_EFWK_WRAPPER 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_sid | TYPE DBA_DBH_SID, " | |||
| lv_header | TYPE DBA_DBH_LOADER_HEADER, " | |||
| lt_required_records | TYPE STANDARD TABLE OF DBA_DBH_REQUIRED_RECORDS, " | |||
| lv_instno | TYPE DBA_DBH_INSTNO, " | |||
| lv_extractor_data | TYPE DBA_DBH_LOADER_DATA, " | |||
| lv_prppmsid | TYPE DBA_DBH_PRPPMSID, " | |||
| lv_return_status | TYPE DBA_DBH_RETURN_STATUS, " | |||
| lv_mippmsid | TYPE DBA_DBH_MIPPMSID, " | |||
| lv_pppmsid | TYPE DBA_DBH_PPPMSID, " | |||
| lv_cvppmsid | TYPE DBA_DBH_CVPPMSID, " | |||
| lv_extractorclass | TYPE DBA_DBH_CLASS, " | |||
| lv_agglevel | TYPE DBA_DBH_LEVEL, " | |||
| lv_configstring | TYPE DBA_DBH_CONFIG_STRING. " |
|   CALL FUNCTION 'DBA_DBH_EFWK_WRAPPER' "DBA-DBH: RFC EFWK Wrapper |
| EXPORTING | ||
| SID | = lv_sid | |
| INSTNO | = lv_instno | |
| PRPPMSID | = lv_prppmsid | |
| MIPPMSID | = lv_mippmsid | |
| PPPMSID | = lv_pppmsid | |
| CVPPMSID | = lv_cvppmsid | |
| EXTRACTORCLASS | = lv_extractorclass | |
| AGGLEVEL | = lv_agglevel | |
| CONFIGSTRING | = lv_configstring | |
| IMPORTING | ||
| HEADER | = lv_header | |
| EXTRACTOR_DATA | = lv_extractor_data | |
| RETURN_STATUS | = lv_return_status | |
| TABLES | ||
| REQUIRED_RECORDS | = lt_required_records | |
| . " DBA_DBH_EFWK_WRAPPER | ||
ABAP code using 7.40 inline data declarations to call FM DBA_DBH_EFWK_WRAPPER
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.Search for further information about these or an SAP related objects