MV56AFFC 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 MV56AFFC 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!
LE_SHIPMENT_PSCR_GET_DOCUMENTS CALL FUNCTION 'LE_SHIPMENT_PSCR_GET_DOCUMENTS' EXPORTING i_field_for_delivery = 'NAME' i_check_packing_status = true i_check_planning_status = true IMPORTING e_documents = tree_marklist[] EXCEPTIONS no_documents_found = 1 OTHERS = 2.
LE_SHIPMENT_PSCR_CONTROLS_FREE CALL FUNCTION 'LE_SHIPMENT_PSCR_CONTROLS_FREE'.
SD_SHIPMENTS_CHECK_CHANGES CALL FUNCTION 'SD_SHIPMENTS_CHECK_CHANGES' TABLES c_xvttk = xvttk i_yvttk = yvttk i_xvttp = xvttp i_yvttp = yvttp i_xvbpa = xvbpa i_yvbpa = yvbpa i_xvtts = xvtts i_yvtts = yvtts i_xvtsp = xvtsp i_yvtsp = yvtsp EXCEPTIONS no_change = 1 OTHERS = 99.
POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'Y' diagnosetext1 = text-pt1 textline1 = text-pt2 titel = text-pti IMPORTING answer = answer.
SD_SHIPMENT_HAZMAT_CHECK CALL FUNCTION 'SD_SHIPMENT_HAZMAT_CHECK' EXPORTING i_dg_chk_start = '4' " Dialog-Pushbutton i_tvtk = tvtk i_display_mode = l_display_mode TABLES i_tknum_range = l_tknum_range i_xvttk = xvttk i_yvttk = yvttk i_xvttp = xvttp i_yvttp = yvttp i_vtrlk = xtrlk i_vtrlp = xtrlp i_xvtts = xvtts i_yvtts = yvtts i_xvtsp = xvtsp i_yvtsp = yvtsp i_xvbpa = xvbpa i_yvbpa = yvbpa i_xsadr = xvbadr i_ysadr = yvbadr i_xvtfa = xvtfa i_yvtfa = yvtfa EXCEPTIONS OTHERS = 1.
SD_SHIPMENT_HEADERS_CHANGE_DIA CALL FUNCTION 'SD_SHIPMENT_HEADERS_CHANGE_DIA' EXPORTING i_in_popup = true i_read_shipments = false i_do_not_save = true TABLES * IT_VTTK = xvttk = xvttk yvttk = yvttk xvttp = xvttp yvttp = yvttp xvtts = xvtts yvtts = yvtts xvtsp = xvtsp yvtsp = yvtsp xvbpa = xvbpa yvbpa = yvbpa xsadr = xvbadr ysadr = yvbadr xvtfa = xvtfa yvtfa = yvtfa xtrlk = xtrlk xtrlp = xtrlp.
RV_MESSAGE_PRINT_SINGLE CALL FUNCTION 'RV_MESSAGE_PRINT_SINGLE' "#EC DOM_EQUAL EXPORTING msg_kappl = tvtk-kappl msg_objky = xobjky msg_kschl = tvtk-kschl EXCEPTIONS cancel = 1 no_message = 2 message_not_printable = 2 print_error = 3 OTHERS = 99.
SD_DELIVERY_FOR_TRANSPORT CALL FUNCTION 'SD_DELIVERY_FOR_TRANSPORT' EXPORTING option_selection_screen = ' ' option_search_strategy = 'L' opt_minimized_delivery_data = ' ' "temporary full read trans_planning_point = vttk-tplst shipment_number = vttk-tknum shipment_processing_type = vttk-abfer shipment_completion = vttk-stdis leg_indicator = vttk-laufk IMPORTING number_of_deliveries = logcount-lk TABLES select_options = selopt delivery_header = xtrlk delivery_item = xtrlp shipment_item = xvttp CHANGING shipment_header = xvttk EXCEPTIONS empty_shipment = 1 OTHERS = 99.
SD_SHIPMENT_PROTOCOL_REFRESH CALL FUNCTION 'SD_SHIPMENT_PROTOCOL_REFRESH'.
SD_SHIPMENT_PROTOCOL_START CALL FUNCTION 'SD_SHIPMENT_PROTOCOL_START'.
RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = 'RV56LFSL' variant = us_variant IMPORTING r_c = variant_exists EXCEPTIONS not_authorized = 0 OTHERS = 99.
SD_DELIVERY_FOR_TRANSPORT CALL FUNCTION 'SD_DELIVERY_FOR_TRANSPORT' EXPORTING option_selection_screen = 'X' opt_minimized_delivery_data = ' ' "temporary full read selection_set = l_selection_set standard_sel_set = rv56a-svtra trans_planning_point = vttk-tplst shipment_number = vttk-tknum shipment_processing_type = vttk-abfer shipment_completion = vttk-stdis leg_indicator = tvtk-laufk IMPORTING number_of_deliveries = logcount-lk TABLES select_options = selopt delivery_header = xtrlk delivery_item = xtrlp shipment_item = xvttp CHANGING shipment_header = xvttk EXCEPTIONS empty_shipment = 1 OTHERS = 99.
SD_DELIVERY_FOR_TRANSPORT_LOG CALL FUNCTION 'SD_DELIVERY_FOR_TRANSPORT_LOG'.
RV_MESSAGE_PREVIEW CALL FUNCTION 'RV_MESSAGE_PREVIEW' "#EC DOM_EQUAL EXPORTING msg_kappl = tvtk-kappl msg_objky = xobjky msg_kschl = tvtk-kschl EXCEPTIONS cancel = 1 no_message = 2 message_not_printable = 2 print_error = 3.
SD_GTIS_TRANSNET CALL FUNCTION 'SD_GTIS_TRANSNET' EXPORTING shipmid = vttk-tknum mode = 'N' return_mode = 'N' output_mode = 'G' TABLES xvttk = xvttk xvttp = xvttp yvttp = yvttp xvtts = xvtts xvtsp = xvtsp.
SD_GTIS_TRANSNET CALL FUNCTION 'SD_GTIS_TRANSNET' EXPORTING shipmid = vttk-tknum mode = 'R' return_mode = 'N' output_mode = 'G' TABLES xvttk = xvttk xvttp = xvttp yvttp = yvttp xvtts = xvtts xvtsp = xvtsp.
SD_SHIPMENT_PROTOCOL_GET CALL FUNCTION 'SD_SHIPMENT_PROTOCOL_GET' TABLES c_protocol = l_logfile EXCEPTIONS OTHERS = 0.
SD_SHIPMENT_PROTOCOL_EXPORT CALL FUNCTION 'SD_SHIPMENT_PROTOCOL_EXPORT' TABLES i_protocol = l_logfile EXCEPTIONS OTHERS = 0.
CALL FUNCTION 'SD_SHIPMENT_MEM_EXPORT' CHANGING c_shipment = l_shipment EXCEPTIONS OTHERS = 0.
SD_SHIPMENTS_CHECK_COMPLETE CALL FUNCTION 'SD_SHIPMENTS_CHECK_COMPLETE' EXPORTING i_opt_dialog = 'X' IMPORTING e_errors_occurred = l_errors_occurred * e_warnings_occurred = TABLES i_xvttk = xvttk i_yvttk = yvttk i_xvttp = xvttp i_yvttp = yvttp i_xvtts = xvtts i_yvtts = yvtts i_xvtsp = xvtsp i_yvtsp = yvtsp EXCEPTIONS OTHERS = 1.
SD_SHIPMENT_HAZMAT_CHECK CALL FUNCTION 'SD_SHIPMENT_HAZMAT_CHECK' EXPORTING i_dg_chk_start = '5' "Save in dialog i_tvtk = tvtk i_display_mode = false TABLES i_xvttk = xvttk i_yvttk = yvttk i_xvttp = xvttp i_yvttp = yvttp i_vtrlk = xtrlk i_vtrlp = xtrlp i_xvtts = xvtts i_yvtts = yvtts i_xvtsp = xvtsp i_yvtsp = yvtsp i_xvbpa = xvbpa i_yvbpa = yvbpa i_xsadr = xvbadr i_ysadr = yvbadr i_xvtfa = xvtfa i_yvtfa = yvtfa EXCEPTIONS do_not_save = 1 OTHERS = 2.
LE_SHIPMENT_BADI_DATA_XFER CALL FUNCTION 'LE_SHIPMENT_BADI_DATA_XFER' EXPORTING i_flag_tra_complete = flag_tra_complete-complete i_tra_save_caller = tra_save_caller-dialog_old TABLES i_xvttk = xvttk i_yvttk = yvttk i_xvtts = xvtts i_yvtts = yvtts i_xvtsp = xvtsp i_yvtsp = yvtsp i_xvttp = xvttp i_yvttp = yvttp i_xvtrlk = xtrlk i_xvtrlp = xtrlp i_xvbpa = xvbpa i_yvbpa = yvbpa i_xsadr = xvbadr i_ysadr = yvbadr CHANGING c_cxshipments = l_cxshipments.
LE_SHIPMENT_BADI_DATA_CHA CALL FUNCTION 'LE_SHIPMENT_BADI_DATA_CHA' EXPORTING i_cxshipments = l_cxshipments TABLES i_xvttk = xvttk i_yvttk = yvttk i_xvtts = xvtts i_yvtts = yvtts i_xvtsp = xvtsp i_yvtsp = yvtsp i_xvttp = xvttp i_yvttp = yvttp i_xvtrlk = xtrlk i_xvtrlp = xtrlp i_xvbpa = xvbpa i_yvbpa = yvbpa i_xsadr = xvbadr i_ysadr = yvbadr.
SD_SHIPMENTS_SAVE CALL FUNCTION 'SD_SHIPMENTS_SAVE' EXPORTING i_transaktionstyp = t185f-trtyp i_upd_deadlines = 'X' i_upd_texts = 'X' i_opt_read_ship_units = 'X' i_upd_output = 'X' i_opt_update_task = l_in_update_task i_opt_activities = 'X' i_flag_tra_complete = flag_tra_complete-complete i_tra_save_caller = tra_save_caller-dialog_old IMPORTING e_log_always = l_log_always e_log_on_error_warning = l_log_on_error_warning e_save_log = l_save_log "n_661998 TABLES i_xvttk = xvttk i_yvttk = yvttk i_xvttp = xvttp i_yvttp = yvttp i_vtrlk = xtrlk i_vtrlp = xtrlp i_xvtts = xvtts i_yvtts = yvtts i_xvtsp = xvtsp i_yvtsp = yvtsp i_xvbpa = xvbpa i_yvbpa = yvbpa i_xsadr = xvbadr i_ysadr = yvbadr i_xvtfa = xvtfa i_yvtfa = yvtfa EXCEPTIONS no_change = 1 OTHERS = 99.
LE_SHIPMENT_BADI_DATA_XFER CALL FUNCTION 'LE_SHIPMENT_BADI_DATA_XFER' EXPORTING i_flag_tra_complete = flag_tra_complete-complete i_tra_save_caller = tra_save_caller-dialog_old TABLES i_xvttk = xvttk i_yvttk = yvttk i_xvtts = xvtts i_yvtts = yvtts i_xvtsp = xvtsp i_yvtsp = yvtsp i_xvttp = xvttp i_yvttp = yvttp i_xvtrlk = xtrlk i_xvtrlp = xtrlp i_xvbpa = xvbpa i_yvbpa = yvbpa i_xsadr = xvbadr i_ysadr = yvbadr CHANGING c_cxshipments = ldsd_cxshipments.
SD_SHIPMENTS_SAVE_LOGFILE_GET CALL FUNCTION 'SD_SHIPMENTS_SAVE_LOGFILE_GET' IMPORTING e_error_warning_occured = l_error_warning_occured TABLES i_xvttk = xvttk c_logfile = l_logfile.
SD_SHIPMENT_VT04_PROT_OUTPUT CALL FUNCTION 'SD_SHIPMENT_VT04_PROT_OUTPUT' TABLES i_protocol = l_logfile.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'SD_VT04' IMPORTING number = lv_protnum EXCEPTIONS OTHERS = 99.
SD_SHIPMENT_VT04_PROT_SAVE CALL FUNCTION 'SD_SHIPMENT_VT04_PROT_SAVE' EXPORTING i_prot_num = lv_protnum TABLES i_xvttk = xvttk EXCEPTIONS OTHERS = 0.
SD_GTIS_TRANSNET CALL FUNCTION 'SD_GTIS_TRANSNET' EXPORTING shipmid = vttk-tknum mode = 'N' return_mode = 'N' output_mode = 'L' TABLES xvttk = xvttk xvttp = xvttp xvtts = xvtts xvtsp = xvtsp.
SD_GTIS_TRANSNET CALL FUNCTION 'SD_GTIS_TRANSNET' EXPORTING shipmid = vttk-tknum mode = 'R' return_mode = 'N' output_mode = 'L' TABLES xvttk = xvttk xvttp = xvttp xvtts = xvtts xvtsp = xvtsp.
ST_STAGES_COUNT CALL FUNCTION 'ST_STAGES_COUNT' EXPORTING i_tknum = vttk-tknum IMPORTING e_tsrfo = vttkd-tsrfol TABLES i_xvtts = xvtts.
SD_SHIPMENT_STAGES_MATN_TO_R45 CALL FUNCTION 'SD_SHIPMENT_STAGES_MATN_TO_R45' EXPORTING i_tknum = xvttk-tknum opt_display = l_display IMPORTING e_pressed_fcode = l_fcode e_leave_transaction = l_leave e_save = l_save TABLES c_xvttk = xvttk c_yvttk = yvttk c_xvttp = xvttp c_yvttp = yvttp c_xvtts = xvtts c_yvtts = yvtts c_xvtsp = xvtsp c_yvtsp = yvtsp c_xvbpa = xvbpa c_yvbpa = yvbpa c_xvbadr = xvbadr c_yvbadr = yvbadr i_vtrlk = xtrlk EXCEPTIONS OTHERS = 0.
SD_SHIPMENT_FCODE_CONTROL CALL FUNCTION 'SD_SHIPMENT_FCODE_CONTROL' EXPORTING i_xvttk = xvttk i_fcode = l_fcode TABLES i_xvttk_tab = xvttk i_xvttp_tab = xvttp i_xtrlk_tab = xtrlk i_xtrlp_tab = xtrlp i_xvtts_tab = xvtts i_xvtsp_tab = xvtsp i_xvbpa_tab = xvbpa EXCEPTIONS not_allowed = 1 OTHERS = 2.
SD_SHIPMENT_HEADER_STATUS_OVRL Call Function 'SD_SHIPMENT_HEADER_STATUS_OVRL' Tables I_Xvtts = Xvtts Changing C_Xvttk = Xvttk Exceptions Others = 0.
SD_SCD_COST_INFO_SHIPMENT CALL FUNCTION 'SD_SCD_COST_INFO_SHIPMENT' EXPORTING i_shipment_data = l_shipment_data i_opt_dialog = true i_opt_sim = 3.
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 MV56AFFC or its description.