SAP VBDBDM_DOCUBATCH_RELEVANCE Function Module for NOTRANSL: Dokumentationschargen - Bestimmen ProcessID, füllen proz. spez.
VBDBDM_DOCUBATCH_RELEVANCE is a standard vbdbdm docubatch relevance 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 - Bestimmen ProcessID, füllen proz. spez. 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 docubatch relevance FM, simply by entering the name VBDBDM_DOCUBATCH_RELEVANCE 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_DOCUBATCH_RELEVANCE 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_DOCUBATCH_RELEVANCE'"NOTRANSL: Dokumentationschargen - Bestimmen ProcessID, füllen proz. spez..
EXPORTING
IS_LTAK = "WM transfer order header
IS_LTAP_VB = "Transmission structure LTAP + LTAP1 for update task
IMPORTING
EV_EBELN = "Purchasing Document Number
EV_EBELP = "Item Number of Purchasing Document
EV_AUFNR = "Order Number
EV_AUFPS = "Order Item Number
EV_PROCESS_ID = "Definable Processes for Documentary Batches
EV_DISPLAY_ONLY = "Checkbox
EXCEPTIONS
PARAMETER_MISSING = 1
IMPORTING Parameters details for VBDBDM_DOCUBATCH_RELEVANCE
IS_LTAK - WM transfer order header
Data type: LTAKOptional: No
Call by Reference: Yes
IS_LTAP_VB - Transmission structure LTAP + LTAP1 for update task
Data type: LTAP_VBOptional: No
Call by Reference: Yes
EXPORTING Parameters details for VBDBDM_DOCUBATCH_RELEVANCE
EV_EBELN - Purchasing Document Number
Data type: EBELNOptional: No
Call by Reference: Yes
EV_EBELP - Item Number of Purchasing Document
Data type: EBELPOptional: No
Call by Reference: Yes
EV_AUFNR - Order Number
Data type: AUFNROptional: No
Call by Reference: Yes
EV_AUFPS - Order Item Number
Data type: CO_POSNROptional: No
Call by Reference: Yes
EV_PROCESS_ID - Definable Processes for Documentary Batches
Data type: DOCUBATCH_PROCESS_IDOptional: No
Call by Reference: Yes
EV_DISPLAY_ONLY - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
EXCEPTIONS details
PARAMETER_MISSING - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for VBDBDM_DOCUBATCH_RELEVANCE 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_is_ltak | TYPE LTAK, " | |||
| lv_ev_ebeln | TYPE EBELN, " | |||
| lv_parameter_missing | TYPE EBELN, " | |||
| lv_ev_ebelp | TYPE EBELP, " | |||
| lv_is_ltap_vb | TYPE LTAP_VB, " | |||
| lv_ev_aufnr | TYPE AUFNR, " | |||
| lv_ev_aufps | TYPE CO_POSNR, " | |||
| lv_ev_process_id | TYPE DOCUBATCH_PROCESS_ID, " | |||
| lv_ev_display_only | TYPE XFELD. " |
|   CALL FUNCTION 'VBDBDM_DOCUBATCH_RELEVANCE' "NOTRANSL: Dokumentationschargen - Bestimmen ProcessID, füllen proz. spez. |
| EXPORTING | ||
| IS_LTAK | = lv_is_ltak | |
| IS_LTAP_VB | = lv_is_ltap_vb | |
| IMPORTING | ||
| EV_EBELN | = lv_ev_ebeln | |
| EV_EBELP | = lv_ev_ebelp | |
| EV_AUFNR | = lv_ev_aufnr | |
| EV_AUFPS | = lv_ev_aufps | |
| EV_PROCESS_ID | = lv_ev_process_id | |
| EV_DISPLAY_ONLY | = lv_ev_display_only | |
| EXCEPTIONS | ||
| PARAMETER_MISSING = 1 | ||
| . " VBDBDM_DOCUBATCH_RELEVANCE | ||
ABAP code using 7.40 inline data declarations to call FM VBDBDM_DOCUBATCH_RELEVANCE
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