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

MV50AFDB SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

LE_MOVEMENT_IS_QUITL_DETERMINE CALL FUNCTION 'LE_MOVEMENT_IS_QUITL_DETERMINE' EXPORTING if_vbeln = xlips-vbeln if_posnr = xlips-posnr if_lfimg = xlips-lfimg if_lgmng = xlips-lgmng if_lfimg_flo = xlips-lfimg_flo if_lgmng_flo = xlips-lgmng_flo if_vbumg = xlips-vbumg if_vbumg_bme = xlips-vbumg_bme if_nowab = xlips-nowab if_bwart = xlips-bwart if_sobkz = xlips-sobkz if_vgtyp = xlips-vgtyp if_posar = xlips-posar if_xchar = xlips-xchar if_xchpf = xlips-xchpf if_uecha = xlips-uecha if_kcmeng = xlips-kcmeng if_werks = xlips-werks if_mtart = xlips-mtart if_ebumg = xlips-ebumg "n_880596 if_lgnum = likp-lgnum "n_1703346 IMPORTING * ES_V134W = ef_is_quitl = xlips-is_quitl. "^_XAN-SPM

VBDBDM_DATA_READ_FOR_DELIVERY CALL FUNCTION 'VBDBDM_DATA_READ_FOR_DELIVERY' EXPORTING i_matnr = xlips-matnr i_werks = xlips-werks i_quantity = lv_pikmg i_uom = lv_vrkmp i_process_id = lv_process_id i_ebeln = lv_ebeln i_ebelp = lv_ebelp i_vbeln = xlips-vbeln i_posnr = xlips-posnr I_MOVEMENT_POSTED = LS_XVBUP-WBSTA i_movement_cancelled = lv_movement_cancelled i_display_only = lv_display_only "n_1402303 is_docubatch_com = ls_docubatch_com IMPORTING e_control = xlips-docubatch_control e_docubatch_charg = xlips-docubatch_charg e_mult_entries = xlips-docubatch_mult_entries EXCEPTIONS OTHERS = 0.

SD_DELIVERY_CUMULATIVE_SET CALL FUNCTION 'SD_DELIVERY_CUMULATIVE_SET' EXPORTING f_xlips = xlips f_kuwev = kuwev f_likp = likp EXCEPTIONS OTHERS = 6.

SHP_FILL_DYN_PART_XVBAP CALL FUNCTION 'SHP_FILL_DYN_PART_XVBAP' CHANGING cs_vbap = cvbap is_vbak = EXCEPTIONS internal_error = 1 wrong_call = 2 OTHERS = 3 .

SD_PARTNER_READ CALL FUNCTION 'SD_PARTNER_READ' EXPORTING f_vbeln = vs_vbeln object = 'VBPA' TABLES i_xvbadr = xvbadr i_xvbpa = xvbpa i_yvbadr = yvbadr i_yvbpa = yvbpa EXCEPTIONS OTHERS = 1.

SD_PARTNER_READ CALL FUNCTION 'SD_PARTNER_READ' EXPORTING f_vbeln = vs_vbeln object = 'VBPA' TABLES i_xvbadr = xvbadr i_xvbpa = cvbpa.

SD_PARTNER_READ CALL FUNCTION 'SD_PARTNER_READ' "50A TAX EXPORTING f_vbeln = vs_vbeln object = 'VBPA' TABLES i_xvbadr = xvbadr i_xvbpa = cvbpa.

SD_VBPA_RECORD_COMPLETE CALL FUNCTION 'SD_VBPA_RECORD_COMPLETE' "HP_301429 CHANGING frs_vbpa = vbpa.

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING comwa = vtcom IMPORTING pawa = kupav tpar_wa = tpar EXCEPTIONS no_lfa1 = 1 no_knvk = 2.

SD_ADDRESS_GET CALL FUNCTION 'SD_ADDRESS_GET' EXPORTING fif_address_number = address_selection-addrnumber fif_personal_number = lvf_persnumber fif_address_indicator = vs_adrda fif_read_sadr_only = read_sadr_only IMPORTING fes_address = lvs_vbadr EXCEPTIONS address_not_found = 1 address_type_not_exists = 2 no_person_number = 3 OTHERS = 4. "SADR40C

RV_KONV_SELECT CALL FUNCTION 'RV_KONV_SELECT' EXPORTING comm_head_i = tkomk general_read = lf_general_read "SP_315408 read_condition_record = 'X' IMPORTING comm_head_e = tkomk TABLES tkomv = tkomv.



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