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

MV50AI0L SAP ABAP INCLUDE - Include LV50R_VIEWF58







MV50AI0L 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 MV50AI0L 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 MV50AI0L. "Basic submit
SUBMIT MV50AI0L AND RETURN. "Return to original report after report execution complete
SUBMIT MV50AI0L 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 MV50AI0L

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:

RV_LOC_DATA_READ CALL FUNCTION 'RV_LOC_DATA_READ' EXPORTING i_enqueue_necessary = 'X' i_fin_doc_number = likp-lcnum IMPORTING e_fin_doc_currency = likp-akwae EXCEPTIONS foreign_lock = 1 system_failure = 2 fin_doc_does_not_exist = 3 OTHERS = 4.

RV_LOC_ORDER_DATA_RETRIEVE CALL FUNCTION 'RV_LOC_ORDER_DATA_RETRIEVE' EXPORTING i_sd_order_comp_code = cvbak-bukrs_vf i_sd_order_sales_org = cvbak-vkorg i_sd_deliv_sales_org = likp-vkorg IMPORTING e_currency_company_code = da_t001_waers.

READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING date = da_erdat foreign_currency = likp-akwae local_currency = da_t001_waers IMPORTING exchange_rate = da_kursk EXCEPTIONS no_rate_found = 1.

VBXD_CUOBJ_CBATP_CHECK_AND_SET CALL FUNCTION 'VBXD_CUOBJ_CBATP_CHECK_AND_SET' EXPORTING i_material = lips-matnr i_batch = lips-charg i_plant = lips-werks CHANGING c_cuobj_ch = lips-cuobj_ch EXCEPTIONS no_plant = 1 unknown_cuobj_ch = 2.

RV_LIPS_PSTYV_DETERMINE CALL FUNCTION 'RV_LIPS_PSTYV_DETERMINE' "v_n_796382 exporting t184l_lfart = likp-lfart t184l_mtpos = maapv-mtpos t184l_uepst = clips-pstyv t184l_vwpos = 'CHSP' lips_pstyv_i = ' ' importing lips_pstyv = lips-pstyv exceptions eintrag_nicht_da = 1 pstyv_nicht_erlaubt = 2.

RV_LIPS_PSTYV_DETERMINE CALL FUNCTION 'RV_LIPS_PSTYV_DETERMINE' exporting t184l_lfart = likp-lfart t184l_mtpos = maapv-mtpos t184l_uepst = ' ' t184l_vwpos = 'CHSP' lips_pstyv_i = ' ' importing lips_pstyv = lips-pstyv exceptions eintrag_nicht_da = 1 pstyv_nicht_erlaubt = 2.

VBXD_CUOBJ_CBATP_CHECK_AND_SET CALL FUNCTION 'VBXD_CUOBJ_CBATP_CHECK_AND_SET' EXPORTING i_material = lips-matnr i_batch = lips-charg i_plant = lips-werks CHANGING c_cuobj_ch = lips-cuobj_ch EXCEPTIONS no_plant = 1 unknown_cuobj_ch = 2.

RV_INCOTERMS_CHECK CALL FUNCTION 'RV_INCOTERMS_CHECK' EXPORTING inco1 = likp-inco1 inco2 = likp-inco2 fieldname_inco1 = 'LIKP-INCO1' fieldname_inco2 = 'LIKP-INCO2'.

T001L_SINGLE_READ CALL FUNCTION 'T001L_SINGLE_READ' EXPORTING T001L_WERKS = LIPS-UMWRK T001L_LGORT = LIPS-UMLGO EXCEPTIONS OTHERS = 1 .

L_LGORT_LGNUM_CHECK CALL FUNCTION 'L_LGORT_LGNUM_CHECK' EXPORTING I_WERKS = LIPS-UMWRK I_LGORT = LIPS-UMLGO I_LGDAT = CHARX IMPORTING E_T340D = LS_T340D EXCEPTIONS ENTRY_NOT_IN_T320 = 0 "No warehouse, no problem OTHERS = 1.



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 MV50AI0L or its description.