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
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.