MV56AF99N_FCODE_ROUTINES 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 MV56AF99N_FCODE_ROUTINES 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.
INCLUDE MV56A_EXIT_AFTER_DSP. "^_689950
No SAP DATABASE tables are accessed within this REPORT code!
LOCATION_CORRECT CALL FUNCTION 'LOCATION_CORRECT' EXPORTING bild = l_h185-panel bildgruppe = l_h185-bldgr kopfgruppe = l_h185-kopgr positionsgruppe = ' ' programm = programm-name stackstufe = 1 trtyp = l_h185f-trtyp.
LOCATION_CORRECT CALL FUNCTION 'LOCATION_CORRECT' EXPORTING bild = l_h185-panel bildgruppe = l_h185-bldgr kopfgruppe = l_h185-kopgr positionsgruppe = ' ' programm = programm-name stackstufe = 1 trtyp = l_h185f-trtyp.
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.
SD_SHIPMENTS_PRECHECK_CHNG CALL FUNCTION 'SD_SHIPMENTS_PRECHECK_CHNG' 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 = 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 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_xvekp = xvekp i_yvekp = yvekp i_xvepo = xvepo i_yvepo = yvepo 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 i_xvekp = xvekp "v_n_806136 i_yvekp = yvekp i_xvepo = xvepo i_yvepo = yvepo. "^_n_806136
SD_SHIPMENTS_SAVE CALL FUNCTION 'SD_SHIPMENTS_SAVE' EXPORTING i_transaktionstyp = t180-trtyp i_upd_deadlines = 'X' i_upd_texts = 'X' i_upd_shipping_units = 'X' i_upd_output = 'X' i_opt_update_task = l_in_update_task i_opt_activities = 'X' i_opt_read_ship_units = 'X' i_flag_tra_complete = flag_tra_complete-complete i_tra_save_caller = tra_save_caller-dialog 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 i_xvekp = xvekp i_yvekp = yvekp i_xvepo = xvepo i_yvepo = yvepo CHANGING c_split_dialog_wa = g_dialog_wa 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 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_xvekp = xvekp i_yvekp = yvekp i_xvepo = xvepo i_yvepo = yvepo 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.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-pli diagnose_object = 'CMDIA1' text_question = text-023 text_button_1 = text-020 text_button_2 = text-021 default_button = '1' display_cancel_button = 'X' start_column = 25 start_row = 6 iv_quickinfo_button_1 = ' ' iv_quickinfo_button_2 = ' ' IMPORTING answer = l_answer.
POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'Y' diagnosetext1 = text textline1 = text-pl1 titel = text-pli IMPORTING answer = l_answer.
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 = 'SAPLV56L' variant = us_variant IMPORTING r_c = variant_exists EXCEPTIONS not_authorized = 0 OTHERS = 99.
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 e_dispo = l_dispo TABLES select_options = selopt delivery_header = xtrlk delivery_item = xtrlp shipment_item = xvttp CHANGING shipment_header = xvttk EXCEPTIONS empty_shipment = 1 OTHERS = 99.
LE_SHIPMENT_PSCR_DELIV_SORT CALL FUNCTION 'LE_SHIPMENT_PSCR_DELIV_SORT' EXPORTING i_tknum = xvttk-tknum i_vtrlk_tab = xtrlk[] i_vtrlp_tab = xtrlp[] i_shipment_processing_type = xvttk-abfer i_dispo = l_dispo CHANGING c_xvttp_tab = xvttp[].
SD_GTIS_TRANSNET CALL FUNCTION 'SD_GTIS_TRANSNET' EXPORTING shipmid = l_selected_shipm-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 = l_selected_shipm-tknum mode = 'R' 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 = l_selected_shipm-tknum mode = 'N' return_mode = 'N' output_mode = 'L' TABLES xvttk = xvttk xvttp = xvttp yvttp = yvttp xvtts = xvtts xvtsp = xvtsp.
SD_GTIS_TRANSNET CALL FUNCTION 'SD_GTIS_TRANSNET' EXPORTING shipmid = l_selected_shipm-tknum mode = 'R' return_mode = 'N' output_mode = 'L' TABLES xvttk = xvttk xvttp = xvttp yvttp = yvttp xvtts = xvtts xvtsp = xvtsp.
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.
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.
LE_SHIPMENTS_SELECT CALL FUNCTION 'LE_SHIPMENTS_SELECT' TABLES c_xvttk = xvttk c_xvttp = xvttp c_xvtsp = xvtsp c_xvtts = xvtts c_xvtrlk = xtrlk c_xvtrlp = xtrlp c_xvbpa = xvbpa c_xvbadr = xvbadr c_xvtfa = xvtfa.
LE_SHIPMENT_PSCR_GET_DOCUMENTS CALL FUNCTION 'LE_SHIPMENT_PSCR_GET_DOCUMENTS' EXPORTING i_opt_deliveries = 'X' i_opt_assigned_tree = 'X' i_opt_unassigned_tree = 'X' i_check_planning_status = false IMPORTING e_documents = l_selected_deliv[] EXCEPTIONS no_documents_found = 1 OTHERS = 2.
LE_DSP_DIALOG CALL FUNCTION 'LE_DSP_DIALOG' EXPORTING it_vtrlk = l_vtrlk it_vtrlp = l_vtrlp * IS_SPLIT_BOUNDARY_FIRST = * IS_SPLIT_BOUNDARY = it_tknum = l_tknum it_locked_vpobj = l_locked_vpobj is_dia_param = l_dia_param IMPORTING et_vtrlk = r_vtrlk et_vtrlp = r_vtrlp et_shpmt = l_deliv_assign CHANGING cs_dialog_memory = g_dialog_memory cs_split_wa = g_dialog_wa EXCEPTIONS parameter_error = 1 OTHERS = 2.
LE_ASSIGN_SPLITRESULT_TO_SHPMT CALL FUNCTION 'LE_ASSIGN_SPLITRESULT_TO_SHPMT' EXPORTING i_xtrlk = l_vtrlk_wa i_xtrlp = r_vtrlp i_split_wa = g_dialog_wa TABLES c_xvttp = xvttp c_yvttp = yvttp c_xvtsp = xvtsp c_yvtsp = yvtsp c_xtrlk = xtrlk c_xtrlp = xtrlp i_xvttp_index = l_vttp i_deliv_assignment = lt_deliv_assignment "c_685374 i_xvttk = xvttk i_delivdel = lt_delivdel.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = l_vekpgw-tasum unit_in = l_vekpgw-gewei unit_out = l_vtrlk-gewei IMPORTING output = l_vekpgw-tasum EXCEPTIONS OTHERS = 99.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = s_vekp-tarag unit_in = s_vekp-gewei unit_out = p_i_gewei IMPORTING output = s_vekp-tarag EXCEPTIONS OTHERS = 99.
LE_SHIPMENT_PSCR_GET_DOCUMENTS CALL FUNCTION 'LE_SHIPMENT_PSCR_GET_DOCUMENTS' EXPORTING i_opt_deliveries = false i_opt_shipment = true i_opt_assigned_tree = true i_opt_unassigned_tree = false IMPORTING e_documents = l_shipments EXCEPTIONS no_documents_found = 1 OTHERS = 2.
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.
HU_PACKING_TRANSPORT CALL FUNCTION 'HU_PACKING_TRANSPORT' EXPORTING is_init_transp = ls_init_transp is_transport = ls_transport it_xvbpa = l_xvbpa "v_603882 it_yvbpa = l_yvbpa "^_603882 it_xvbadr = xvbadr[] IMPORTING ef_data_changed = vse_change ef_fcode = lf_fcode o_r185d = r185d CHANGING cs_vttk = vttkvb ct_xvtfa = xvtfa[] ct_yvtfa = yvtfa[] ct_xvttp = lvttp[].
LE_SHIPMENT_TOTAL_WEIGHT_SUM CALL FUNCTION 'LE_SHIPMENT_TOTAL_WEIGHT_SUM' EXPORTING activity = t180-trtyp TABLES i_vttp = lvttp i_vtrlk = xtrlk CHANGING c_vttk = vttkvb.
LE_SHIPMENT_PSCR_GET_DOCUMENTS CALL FUNCTION 'LE_SHIPMENT_PSCR_GET_DOCUMENTS' EXPORTING i_opt_shipment = 'X' i_opt_deliveries = ' ' i_opt_assigned_tree = 'X' i_opt_unassigned_tree = ' ' IMPORTING e_documents = tknum_tab[] EXCEPTIONS no_documents_found = 1 OTHERS = 2.
TRA_GET_SHPT_MODIF_STATUS CALL FUNCTION 'TRA_GET_SHPT_MODIF_STATUS' EXPORTING option_check_locks = 'X' option_no_lock_release = 'X' CHANGING xvttk = p_transport_chain EXCEPTIONS tps_planned_shipment = 1 no_change_allowed = 2 wrong_shipment_number = 3 foreign_lock = 4 foreign_lock_error = 5 freight_cost_doc_exist = 6 OTHERS = 7.
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'VT22' EXCEPTIONS ok = 0 not_ok = 2 OTHERS = 3.
ASH_HIERARCHY_SHOW CALL FUNCTION 'ASH_HIERARCHY_SHOW' EXPORTING i_borident = ls_borident.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ls_vekp-btvol unit_in = ls_vekp-voleh_max unit_out = ls_vtrlk-voleh IMPORTING output = ls_vekp-btvol EXCEPTIONS OTHERS = 99.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ls_lips-volum unit_in = ls_lips-voleh unit_out = ls_vtrlk-voleh IMPORTING output = ls_lips-volum EXCEPTIONS OTHERS = 99.
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 MV56AF99N_FCODE_ROUTINES or its description.