SAP VBDBDM_DATA_READ_FOR_MATDOC_LE Function Module for NOTRANSL: Dokumentationschargen zur Materialbelegsposition ermitteln - Fer
VBDBDM_DATA_READ_FOR_MATDOC_LE is a standard vbdbdm data read for matdoc le 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: Dokumentationschargen zur Materialbelegsposition ermitteln - Fer 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 vbdbdm data read for matdoc le FM, simply by entering the name VBDBDM_DATA_READ_FOR_MATDOC_LE into the relevant SAP transaction such as SE37 or SE38.
Function Group: VBDOCUBATCH_DM
Program Name: SAPLVBDOCUBATCH_DM
Main Program: SAPLVBDOCUBATCH_DM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function VBDBDM_DATA_READ_FOR_MATDOC_LE 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 'VBDBDM_DATA_READ_FOR_MATDOC_LE'"NOTRANSL: Dokumentationschargen zur Materialbelegsposition ermitteln - Fer.
EXPORTING
I_KEY = "Documentary Batch - Key
I_MATNR = "Material Number
I_WERKS = "Plant
I_VBELN = "Number of Material Document
I_POSNR = "Material Document Year
* I_REFDOC = "Reference Document for MIGO Transaction
* I_ACTION = "Executable Action in Transaction MIGO
IMPORTING
E_DOCUBATCH_CONTROL = "Define Documentary Batches per Material Type
E_DOCUBATCH_CHARG = "Documentary Batch - Batch Number
E_MULT_ENTRIES = "Checkbox
IMPORTING Parameters details for VBDBDM_DATA_READ_FOR_MATDOC_LE
I_KEY - Documentary Batch - Key
Data type: MIGO_GLOBAL_COUNTEROptional: No
Call by Reference: Yes
I_MATNR - Material Number
Data type: MATNROptional: No
Call by Reference: Yes
I_WERKS - Plant
Data type: WERKS_DOptional: No
Call by Reference: Yes
I_VBELN - Number of Material Document
Data type: VBELN_VLOptional: No
Call by Reference: Yes
I_POSNR - Material Document Year
Data type: POSNR_VLOptional: No
Call by Reference: Yes
I_REFDOC - Reference Document for MIGO Transaction
Data type: REFDOCOptional: Yes
Call by Reference: Yes
I_ACTION - Executable Action in Transaction MIGO
Data type: GOACTIONOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for VBDBDM_DATA_READ_FOR_MATDOC_LE
E_DOCUBATCH_CONTROL - Define Documentary Batches per Material Type
Data type: DOCUBATCH_CONTROLOptional: No
Call by Reference: Yes
E_DOCUBATCH_CHARG - Documentary Batch - Batch Number
Data type: DOCUBATCH_CHARGOptional: No
Call by Reference: Yes
E_MULT_ENTRIES - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for VBDBDM_DATA_READ_FOR_MATDOC_LE 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_i_key | TYPE MIGO_GLOBAL_COUNTER, " | |||
| lv_e_docubatch_control | TYPE DOCUBATCH_CONTROL, " | |||
| lv_i_matnr | TYPE MATNR, " | |||
| lv_e_docubatch_charg | TYPE DOCUBATCH_CHARG, " | |||
| lv_i_werks | TYPE WERKS_D, " | |||
| lv_e_mult_entries | TYPE XFELD, " | |||
| lv_i_vbeln | TYPE VBELN_VL, " | |||
| lv_i_posnr | TYPE POSNR_VL, " | |||
| lv_i_refdoc | TYPE REFDOC, " | |||
| lv_i_action | TYPE GOACTION. " |
|   CALL FUNCTION 'VBDBDM_DATA_READ_FOR_MATDOC_LE' "NOTRANSL: Dokumentationschargen zur Materialbelegsposition ermitteln - Fer |
| EXPORTING | ||
| I_KEY | = lv_i_key | |
| I_MATNR | = lv_i_matnr | |
| I_WERKS | = lv_i_werks | |
| I_VBELN | = lv_i_vbeln | |
| I_POSNR | = lv_i_posnr | |
| I_REFDOC | = lv_i_refdoc | |
| I_ACTION | = lv_i_action | |
| IMPORTING | ||
| E_DOCUBATCH_CONTROL | = lv_e_docubatch_control | |
| E_DOCUBATCH_CHARG | = lv_e_docubatch_charg | |
| E_MULT_ENTRIES | = lv_e_mult_entries | |
| . " VBDBDM_DATA_READ_FOR_MATDOC_LE | ||
ABAP code using 7.40 inline data declarations to call FM VBDBDM_DATA_READ_FOR_MATDOC_LE
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