SAP BAPI_EBDR_CREATEMULTIPLE Function Module for Create External Billing Document Requests
BAPI_EBDR_CREATEMULTIPLE is a standard bapi ebdr createmultiple SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create External Billing Document Requests 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 bapi ebdr createmultiple FM, simply by entering the name BAPI_EBDR_CREATEMULTIPLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: EBDR
Program Name: SAPLEBDR
Main Program: SAPLEBDR
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_EBDR_CREATEMULTIPLE 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 'BAPI_EBDR_CREATEMULTIPLE'"Create External Billing Document Requests.
EXPORTING
* TESTRUN = ' ' "External Billing Document Request - Request - Testrun
* IS_CONTROL_DATA = "External Billing Document Request - Request - Control
* IS_ADMINISTRATION_DATA = "External Billing Document Request - Request - Admin
IT_DATA = "External Billing Document Request - Request
* IT_CONDITION_DATA = "External Billing Document Request - Request - Condition
* IT_TEXT_DATA = "External Billing Document Request - Request - Text
* IT_PAYMENT_CARD_DATA = "External Billing Document Request - Request - Payment Card
* IT_PARTNER_DATA = "External Billing Document Request - Request - Partner
IMPORTING
ET_EBDRCREATEDDOC = "External Billing Document Request - Request - IDs
ET_EBDRCREATEDDOCITEM = "External Billing Document Request - Request - Admin
ET_EBDRCREATEFAILEDDOCITEM = "External Billing Document Request - precedingdoc items
ET_MESSAGE = "External Billing Document Request - Request - Message
RETURN = "Return parameter table
IMPORTING Parameters details for BAPI_EBDR_CREATEMULTIPLE
TESTRUN - External Billing Document Request - Request - Testrun
Data type: BAPIVBRKTESTRUN-TESTRUNDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_CONTROL_DATA - External Billing Document Request - Request - Control
Data type: BAPIEBDRREQUESTCTRLOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_ADMINISTRATION_DATA - External Billing Document Request - Request - Admin
Data type: BAPIEBDRREQUESTADMINOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_DATA - External Billing Document Request - Request
Data type: BAPIEBDRREQUEST_TOptional: No
Call by Reference: No ( called with pass by value option)
IT_CONDITION_DATA - External Billing Document Request - Request - Condition
Data type: BAPIEBDRREQUESTCOND_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TEXT_DATA - External Billing Document Request - Request - Text
Data type: BAPIEBDRREQUESTTEXT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_PAYMENT_CARD_DATA - External Billing Document Request - Request - Payment Card
Data type: BAPIVFPAYMENTCARD_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_PARTNER_DATA - External Billing Document Request - Request - Partner
Data type: BAPIEBDRREQUESTPARNR_TOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_EBDR_CREATEMULTIPLE
ET_EBDRCREATEDDOC - External Billing Document Request - Request - IDs
Data type: BAPIEBDRREQUESTEXTBILLDOCREQ_TOptional: No
Call by Reference: No ( called with pass by value option)
ET_EBDRCREATEDDOCITEM - External Billing Document Request - Request - Admin
Data type: BAPIEBDRREQUESTRESULT_TOptional: No
Call by Reference: No ( called with pass by value option)
ET_EBDRCREATEFAILEDDOCITEM - External Billing Document Request - precedingdoc items
Data type: BAPIEBDRREQUESTFAILED_TOptional: No
Call by Reference: No ( called with pass by value option)
ET_MESSAGE - External Billing Document Request - Request - Message
Data type: BAPIEBDRREQUESTMSG_TOptional: No
Call by Reference: No ( called with pass by value option)
RETURN - Return parameter table
Data type: BAPIRET2_TOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_EBDR_CREATEMULTIPLE 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_testrun | TYPE BAPIVBRKTESTRUN-TESTRUN, " ' ' | |||
| lv_et_ebdrcreateddoc | TYPE BAPIEBDRREQUESTEXTBILLDOCREQ_T, " | |||
| lv_is_control_data | TYPE BAPIEBDRREQUESTCTRL, " | |||
| lv_et_ebdrcreateddocitem | TYPE BAPIEBDRREQUESTRESULT_T, " | |||
| lv_is_administration_data | TYPE BAPIEBDRREQUESTADMIN, " | |||
| lv_et_ebdrcreatefaileddocitem | TYPE BAPIEBDRREQUESTFAILED_T, " | |||
| lv_it_data | TYPE BAPIEBDRREQUEST_T, " | |||
| lv_et_message | TYPE BAPIEBDRREQUESTMSG_T, " | |||
| lv_return | TYPE BAPIRET2_T, " | |||
| lv_it_condition_data | TYPE BAPIEBDRREQUESTCOND_T, " | |||
| lv_it_text_data | TYPE BAPIEBDRREQUESTTEXT_T, " | |||
| lv_it_payment_card_data | TYPE BAPIVFPAYMENTCARD_T, " | |||
| lv_it_partner_data | TYPE BAPIEBDRREQUESTPARNR_T. " |
|   CALL FUNCTION 'BAPI_EBDR_CREATEMULTIPLE' "Create External Billing Document Requests |
| EXPORTING | ||
| TESTRUN | = lv_testrun | |
| IS_CONTROL_DATA | = lv_is_control_data | |
| IS_ADMINISTRATION_DATA | = lv_is_administration_data | |
| IT_DATA | = lv_it_data | |
| IT_CONDITION_DATA | = lv_it_condition_data | |
| IT_TEXT_DATA | = lv_it_text_data | |
| IT_PAYMENT_CARD_DATA | = lv_it_payment_card_data | |
| IT_PARTNER_DATA | = lv_it_partner_data | |
| IMPORTING | ||
| ET_EBDRCREATEDDOC | = lv_et_ebdrcreateddoc | |
| ET_EBDRCREATEDDOCITEM | = lv_et_ebdrcreateddocitem | |
| ET_EBDRCREATEFAILEDDOCITEM | = lv_et_ebdrcreatefaileddocitem | |
| ET_MESSAGE | = lv_et_message | |
| RETURN | = lv_return | |
| . " BAPI_EBDR_CREATEMULTIPLE | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_EBDR_CREATEMULTIPLE
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 TESTRUN FROM BAPIVBRKTESTRUN INTO @DATA(ld_testrun). | ||||
| DATA(ld_testrun) | = ' '. | |||
Search for further information about these or an SAP related objects