SAP Reports / Programs | Logistics Execution | Shipping(LE-SHP) SAP LE

MV50AWIBF05 SAP ABAP INCLUDE - documentation and ABAP source code







MV50AWIBF05 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MV50AWIBF05 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MV50AWIBF05. "Basic submit
SUBMIT MV50AWIBF05 AND RETURN. "Return to original report after report execution complete
SUBMIT MV50AWIBF05 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MV50AWIBF05

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'Y' TEXTLINE1 = LF_TEXTLINE1 TEXTLINE2 = LF_TEXTLINE2 TITEL = LF_TITLE START_COLUMN = 25 START_ROW = 6 CANCEL_DISPLAY = GC_TRUE IMPORTING ANSWER = LF_ANSWER.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EVVBLKE CALL FUNCTION 'ENQUEUE_EVVBLKE' EXPORTING VBELN = GS_LIKP-VBELN EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING MANDT = SY-MANDT EBELN = LT_PURCHASE-VGBEL EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.

ME_CONFIRMATION_CHECK_QUANTITY CALL FUNCTION 'ME_CONFIRMATION_CHECK_QUANTITY' EXPORTING I_EBELN = GS_LIPS-VGBEL I_EBELP = LF_VGPOS I_MEINS = GS_LIPS-VRKME I_MENGE = GS_LIPS-LFIMG I_VBELN = GS_LIKP-VBELN I_VBELP = LF_POSNR I_DATE = LIKP-LFDAT I_IBTYP = LC_AQ_TYPE EXCEPTIONS CONFIRMATION_NOT_FOUND = 01 CONVERSION_NOT_POSSIBLE = 02 PO_NOT_FOUND = 03 PO_NOT_VALID = 04.

SHP_WEIVOL_SINGLE_ITEM CALL FUNCTION 'SHP_WEIVOL_SINGLE_ITEM' EXPORTING IS_QUAN_OLD = LS_QUAN_OLD IS_QUAN_NEW = LS_QUAN_NEW IS_WEIVOL_OLD = LS_WEIVOL_OLD IS_CONTROL = LS_CONTROL_WEIVOL_ITEM IF_MATNR = GS_LIPS-MATNR IF_VRKME = GS_LIPS-VRKME IMPORTING ES_WEIVOL_NEW = LS_WEIVOL_NEW EXCEPTIONS INTERNAL_ERROR = 1 WRONG_CALL = 2 NEGATIV_INPUT = 3 OTHERS = 4.

BAPI_USER_APPLICATION_OBJ_GET CALL FUNCTION 'BAPI_USER_APPLICATION_OBJ_GET' EXPORTING USERNAME = LF_USERNAME OBJTYPE = LC_OBJTYP TABLES OBJKEYS = L_OBJKEY_TAB RETURN = LT_RETURN EXCEPTIONS NO_RELATION_FOR_OBJTYPE = 1 OTHERS = 2.

SHP_WEIVOL_CUMULATE CALL FUNCTION 'SHP_WEIVOL_CUMULATE' EXPORTING IS_CONTROL = LS_CONTROL_WEIVOL_HD IT_WEIVOL_ITEM = LT_WEIVOL_ITEM IMPORTING ES_WEIVOL_NEW = LS_WEIVOL_NEW EXCEPTIONS WRONG_CALL = 1 INTERNAL_ERROR = 2 NEGATIV_RESULT = 3 OTHERS = 4.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '+' DATE = IF_LFDAT FACTORY_CALENDAR_ID = T001W-FABKL IMPORTING DATE = LF_WKDAT WORKINGDAY_INDICATOR = LF_ABTAG EXCEPTIONS DATE_AFTER_RANGE = 01 DATE_BEFORE_RANGE = 02 FACTORY_CALENDAR_NOT_FOUND = 03 OTHERS = 04.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MV50AWIBF05 or its description.