SAP DEBITOR_BDCDATA Function Module for NOTRANSL: Erstellung der Batch-Input-Daten für die Pflege von Debitoren
DEBITOR_BDCDATA is a standard debitor bdcdata 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: Erstellung der Batch-Input-Daten für die Pflege von Debitoren 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 debitor bdcdata FM, simply by entering the name DEBITOR_BDCDATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: VV02
Program Name: SAPLVV02
Main Program: SAPLVV02
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DEBITOR_BDCDATA 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 'DEBITOR_BDCDATA'"NOTRANSL: Erstellung der Batch-Input-Daten für die Pflege von Debitoren.
EXPORTING
* PI_XD99_USED = ' ' "
TABLES
TAB_WA = "
IBDCDATA = "
EXCEPTIONS
NO_RECORDS = 1 EDITING_TERMINATED = 2 NO_SESSION_RECORDS = 3 INTERNAL_ERROR = 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_SAPLVV02_001 Read and Post Additional Export Customer Master Segments
IMPORTING Parameters details for DEBITOR_BDCDATA
PI_XD99_USED -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for DEBITOR_BDCDATA
TAB_WA -
Data type: BDIFIBIWAOptional: No
Call by Reference: No ( called with pass by value option)
IBDCDATA -
Data type: BDCDATAOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_RECORDS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EDITING_TERMINATED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SESSION_RECORDS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Internal error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for DEBITOR_BDCDATA 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: | ||||
| lt_tab_wa | TYPE STANDARD TABLE OF BDIFIBIWA, " | |||
| lv_no_records | TYPE BDIFIBIWA, " | |||
| lv_pi_xd99_used | TYPE CHAR1, " SPACE | |||
| lt_ibdcdata | TYPE STANDARD TABLE OF BDCDATA, " | |||
| lv_editing_terminated | TYPE BDCDATA, " | |||
| lv_no_session_records | TYPE BDCDATA, " | |||
| lv_internal_error | TYPE BDCDATA. " |
|   CALL FUNCTION 'DEBITOR_BDCDATA' "NOTRANSL: Erstellung der Batch-Input-Daten für die Pflege von Debitoren |
| EXPORTING | ||
| PI_XD99_USED | = lv_pi_xd99_used | |
| TABLES | ||
| TAB_WA | = lt_tab_wa | |
| IBDCDATA | = lt_ibdcdata | |
| EXCEPTIONS | ||
| NO_RECORDS = 1 | ||
| EDITING_TERMINATED = 2 | ||
| NO_SESSION_RECORDS = 3 | ||
| INTERNAL_ERROR = 4 | ||
| . " DEBITOR_BDCDATA | ||
ABAP code using 7.40 inline data declarations to call FM DEBITOR_BDCDATA
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.| DATA(ld_pi_xd99_used) | = ' '. | |||
Search for further information about these or an SAP related objects