SAP Reports / Programs | Logistics Execution | Transportation(LE-TRA) SAP LE

MV56AF0U SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

ASH_SD_VTTK_READ CALL FUNCTION 'ASH_SD_VTTK_READ' EXPORTING i_borident = ls_borident TABLES et_vttk = lt_vttk et_vttp = lt_vttp et_vtts = lt_vtts et_vtsp = lt_vtsp et_vtpa = lt_vtpa et_addr1_val = lt_addr1_val et_sadr = lt_sadr EXCEPTIONS not_in_infostructure = 1 not_in_archive = 2 no_instructure_defined = 3 OTHERS = 4.

SD_SHIPMENT_DELIVERY_VIEW CALL FUNCTION 'SD_SHIPMENT_DELIVERY_VIEW' EXPORTING i_langu = sy-langu opt_minimized_delivery_view = 'X' opt_items = ' ' opt_status_data = ' ' opt_partners = ' ' opt_customer_data = ' ' opt_customizing_data = space opt_order_data = space opt_export_data = space * IMPORTING * e_not_all_deliveries_found = L_not_all_deliveries_found TABLES i_deliv = lt_deliv c_vtrlk = lt_vtrlk c_vtrlp = lt_vtrlp EXCEPTIONS OTHERS = 0.

ASH_RV_LIKP_READ CALL FUNCTION 'ASH_RV_LIKP_READ' EXPORTING i_borident = ls_borident TABLES et_likp = lt_likp et_lips = lt_lips et_vbuk = lt_vbuk et_vbpa = lt_vbpa et_vbpa3 = lt_vbpa3 et_sadr = lt_sadr et_addr1_val = lt_addr1_val EXCEPTIONS not_in_infostructure = 1 not_in_archive = 2 no_instructure_defined = 3 OTHERS = 4.

SD_VBPA_RECORD_COMPLETE CALL FUNCTION 'SD_VBPA_RECORD_COMPLETE' CHANGING frs_vbpa = .

SD_ADDRESS_HANDLE_GET CALL FUNCTION 'SD_ADDRESS_HANDLE_GET' EXPORTING fif_parvw = lf_parvw fif_posnr = lf_posnr IMPORTING fef_adrnr = lf_adrnr EXCEPTIONS no_handle_available = 1 OTHERS = 2.

ADDR_INSERT CALL FUNCTION 'ADDR_INSERT' EXPORTING address_data = ls_addr1_data address_group = 'SD01' address_handle = lf_address_handle check_empty_address = ' ' check_address = 'X' EXCEPTIONS address_exists = 1 parameter_error = 2 internal_error = 3 OTHERS = 4.

ADDR_CONVERT_ADDR1_VAL_TO_SADR CALL FUNCTION 'ADDR_CONVERT_ADDR1_VAL_TO_SADR' EXPORTING addr1_val = ls_addr1_val IMPORTING sadr = ls_sadr.

SD_PARTNER_DATA_PUT CALL FUNCTION 'SD_PARTNER_DATA_PUT' EXPORTING fic_objecttype = 'LIKP' fic_objectkey = lf_objectkey TABLES frt_xvbpa = lt_xvbpa frt_xvbadr = lt_xvbadr EXCEPTIONS no_object_specified = 1 no_object_creation_possible = 2 OTHERS = 3.

SD_SHIPMENT_DELIVERY_CONVERT CALL FUNCTION 'SD_SHIPMENT_DELIVERY_CONVERT' EXPORTING opt_items = 'X' opt_partners = 'X' opt_customer_data = ' ' opt_customizing_data = ' ' opt_order_data = ' ' opt_export_data = ' ' TABLES i_likp = lt_xlikp i_lips = lt_xlips i_vbpa = lt_xvbpa i_vbuk = lt_xvbuk c_vtrlk = lt_vtrlk c_vtrlp = lt_vtrlp EXCEPTIONS OTHERS = 0.

SD_VBPA_RECORD_COMPLETE CALL FUNCTION 'SD_VBPA_RECORD_COMPLETE' CHANGING frs_vbpa = ls_vbpa.

SD_ADDRESS_HANDLE_GET CALL FUNCTION 'SD_ADDRESS_HANDLE_GET' EXPORTING fif_parvw = lf_parvw fif_posnr = lf_posnr IMPORTING fef_adrnr = lf_adrnr EXCEPTIONS no_handle_available = 1 OTHERS = 2.

ADDR_INSERT CALL FUNCTION 'ADDR_INSERT' EXPORTING address_data = ls_addr1_data address_group = 'WST1' address_handle = lf_address_handle check_empty_address = ' ' check_address = 'X' EXCEPTIONS address_exists = 1 parameter_error = 2 internal_error = 3 OTHERS = 4.

ADDR_CONVERT_ADDR1_VAL_TO_SADR CALL FUNCTION 'ADDR_CONVERT_ADDR1_VAL_TO_SADR' EXPORTING addr1_val = ls_addr1_val IMPORTING sadr = ls_sadr.

SD_PARTNER_DATA_PUT CALL FUNCTION 'SD_PARTNER_DATA_PUT' EXPORTING fic_objecttype = 'VTTK' fic_objectkey = lf_objectkey TABLES frt_xvbpa = xvbpa frt_xvbadr = xvbadr EXCEPTIONS no_object_specified = 1 no_object_creation_possible = 2 OTHERS = 3.

SD_ADDRESS_HANDLE_GET CALL FUNCTION 'SD_ADDRESS_HANDLE_GET' EXPORTING fif_parvw = lf_parvw fif_posnr = lf_posnr IMPORTING fef_adrnr = lf_adrnr EXCEPTIONS no_handle_available = 1 OTHERS = 2.

ADDR_INSERT CALL FUNCTION 'ADDR_INSERT' EXPORTING address_data = ls_addr1_data address_group = 'WST1' address_handle = lf_address_handle check_empty_address = ' ' EXCEPTIONS address_exists = 1 parameter_error = 2 internal_error = 3 OTHERS = 4.

SD_ADDRESS_HANDLE_GET CALL FUNCTION 'SD_ADDRESS_HANDLE_GET' EXPORTING fif_parvw = lf_parvw fif_posnr = lf_posnr IMPORTING fef_adrnr = lf_adrnr EXCEPTIONS no_handle_available = 1 OTHERS = 2.

ADDR_INSERT CALL FUNCTION 'ADDR_INSERT' EXPORTING address_data = ls_addr1_data address_group = 'WST1' address_handle = lf_address_handle check_empty_address = ' ' EXCEPTIONS address_exists = 1 parameter_error = 2 internal_error = 3 OTHERS = 4.

ST_STAGES_ADD_VIEW_DATA





CALL FUNCTION 'ST_STAGES_ADD_VIEW_DATA' EXPORTING i_langu = sy-langu TABLES c_xvtts = ct_xvtts EXCEPTIONS OTHERS = 0.



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