SAP BORWE_VL_MM_CHECK_ASN_WE Function Module for NOTRANSL: Gibt zurück, ob der Wareneingang zur Anl. aus MM buchbar ist ode









BORWE_VL_MM_CHECK_ASN_WE is a standard borwe vl mm check asn we 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: Gibt zurück, ob der Wareneingang zur Anl. aus MM buchbar ist ode 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 borwe vl mm check asn we FM, simply by entering the name BORWE_VL_MM_CHECK_ASN_WE into the relevant SAP transaction such as SE37 or SE38.

Function Group: BORWE
Program Name: SAPLBORWE
Main Program: SAPLBORWE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BORWE_VL_MM_CHECK_ASN_WE 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 'BORWE_VL_MM_CHECK_ASN_WE'"NOTRANSL: Gibt zurück, ob der Wareneingang zur Anl. aus MM buchbar ist ode
EXPORTING
I_VBELN = "Delivery
I_POSNR = "Delivery Item
I_ERFMG = "Quantity in Unit of Entry
I_ERFME = "Unit of Entry
I_BWART = "Movement Type (Inventory Management)
* IF_BWART_RESEL = "
* IF_MD_STORNO = "
* IS_MSEG = "Document Segment: Material

IMPORTING
ES_LIKP = "Reference Structure for XLIKP/YLIKP
ES_VBUK = "Reference structure for XVBUK/YVBUK
E_ASN_BAD_FOR_GR_BWART = "Checkbox

TABLES
* ET_LIPS = "Reference Structure for XLIPS/YLIPS
* ET_VBUP = "Reference Structure for XVBUP/YVBUP
* ET_VBFA = "Sales Document Flow
* ET_VBAPF = "Order Item Flow: Dynamic Division
ET_PROT = "Log

EXCEPTIONS
EX_UOM_CONVERSION_ERROR = 1
.



IMPORTING Parameters details for BORWE_VL_MM_CHECK_ASN_WE

I_VBELN - Delivery

Data type: LIPS-VBELN
Optional: No
Call by Reference: Yes

I_POSNR - Delivery Item

Data type: LIPS-POSNR
Optional: No
Call by Reference: Yes

I_ERFMG - Quantity in Unit of Entry

Data type: MSEG-ERFMG
Optional: No
Call by Reference: Yes

I_ERFME - Unit of Entry

Data type: MSEG-ERFME
Optional: No
Call by Reference: Yes

I_BWART - Movement Type (Inventory Management)

Data type: MSEG-BWART
Optional: No
Call by Reference: Yes

IF_BWART_RESEL -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

IF_MD_STORNO -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

IS_MSEG - Document Segment: Material

Data type: MSEG
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for BORWE_VL_MM_CHECK_ASN_WE

ES_LIKP - Reference Structure for XLIKP/YLIKP

Data type: LIKPVB
Optional: No
Call by Reference: Yes

ES_VBUK - Reference structure for XVBUK/YVBUK

Data type: VBUKVB
Optional: No
Call by Reference: Yes

E_ASN_BAD_FOR_GR_BWART - Checkbox

Data type: XFELD
Optional: No
Call by Reference: Yes

TABLES Parameters details for BORWE_VL_MM_CHECK_ASN_WE

ET_LIPS - Reference Structure for XLIPS/YLIPS

Data type: LIPSVB
Optional: Yes
Call by Reference: Yes

ET_VBUP - Reference Structure for XVBUP/YVBUP

Data type: VBUPVB
Optional: Yes
Call by Reference: Yes

ET_VBFA - Sales Document Flow

Data type: VBFAVB
Optional: Yes
Call by Reference: Yes

ET_VBAPF - Order Item Flow: Dynamic Division

Data type: VBAPF
Optional: Yes
Call by Reference: Yes

ET_PROT - Log

Data type: SPROT_U
Optional: No
Call by Reference: Yes

EXCEPTIONS details

EX_UOM_CONVERSION_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BORWE_VL_MM_CHECK_ASN_WE 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_es_likp  TYPE LIKPVB, "   
lt_et_lips  TYPE STANDARD TABLE OF LIPSVB, "   
lv_i_vbeln  TYPE LIPS-VBELN, "   
lv_ex_uom_conversion_error  TYPE LIPS, "   
lv_es_vbuk  TYPE VBUKVB, "   
lt_et_vbup  TYPE STANDARD TABLE OF VBUPVB, "   
lv_i_posnr  TYPE LIPS-POSNR, "   
lt_et_vbfa  TYPE STANDARD TABLE OF VBFAVB, "   
lv_i_erfmg  TYPE MSEG-ERFMG, "   
lv_e_asn_bad_for_gr_bwart  TYPE XFELD, "   
lv_i_erfme  TYPE MSEG-ERFME, "   
lt_et_vbapf  TYPE STANDARD TABLE OF VBAPF, "   
lt_et_prot  TYPE STANDARD TABLE OF SPROT_U, "   
lv_i_bwart  TYPE MSEG-BWART, "   
lv_if_bwart_resel  TYPE XFELD, "   
lv_if_md_storno  TYPE XFELD, "   
lv_is_mseg  TYPE MSEG. "   

  CALL FUNCTION 'BORWE_VL_MM_CHECK_ASN_WE'  "NOTRANSL: Gibt zurück, ob der Wareneingang zur Anl. aus MM buchbar ist ode
    EXPORTING
         I_VBELN = lv_i_vbeln
         I_POSNR = lv_i_posnr
         I_ERFMG = lv_i_erfmg
         I_ERFME = lv_i_erfme
         I_BWART = lv_i_bwart
         IF_BWART_RESEL = lv_if_bwart_resel
         IF_MD_STORNO = lv_if_md_storno
         IS_MSEG = lv_is_mseg
    IMPORTING
         ES_LIKP = lv_es_likp
         ES_VBUK = lv_es_vbuk
         E_ASN_BAD_FOR_GR_BWART = lv_e_asn_bad_for_gr_bwart
    TABLES
         ET_LIPS = lt_et_lips
         ET_VBUP = lt_et_vbup
         ET_VBFA = lt_et_vbfa
         ET_VBAPF = lt_et_vbapf
         ET_PROT = lt_et_prot
    EXCEPTIONS
        EX_UOM_CONVERSION_ERROR = 1
. " BORWE_VL_MM_CHECK_ASN_WE




ABAP code using 7.40 inline data declarations to call FM BORWE_VL_MM_CHECK_ASN_WE

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 VBELN FROM LIPS INTO @DATA(ld_i_vbeln).
 
 
 
 
"SELECT single POSNR FROM LIPS INTO @DATA(ld_i_posnr).
 
 
"SELECT single ERFMG FROM MSEG INTO @DATA(ld_i_erfmg).
 
 
"SELECT single ERFME FROM MSEG INTO @DATA(ld_i_erfme).
 
 
 
"SELECT single BWART FROM MSEG INTO @DATA(ld_i_bwart).
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!