MV50AFTR 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 MV50AFTR 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!
BORRS_ROUTE_CUSTOMIZING_READ CALL FUNCTION 'BORRS_ROUTE_CUSTOMIZING_READ' EXPORTING if_route = likp-route IMPORTING es_routewa = f_routewa CHANGING ct_balm = t_borrs_log EXCEPTIONS OTHERS = 1.
BORRS_ROUTE_SCHEDULING CALL FUNCTION 'BORRS_ROUTE_SCHEDULING' EXPORTING if_route = likp-route if_point_from = f_idt-cur_evtloc if_point_to = t_nodes-knote if_waittime_from = f_waittime if_waittime_to = space if_direction = '1' if_datelocal = f_date if_timelocal = f_time if_timestamp = f_timestamp IMPORTING ef_datelocal = f_date ef_timelocal = f_time ef_timestamp = f_timestamp et_pointtimes = t_node_time CHANGING ct_balm = t_borrs_log EXCEPTIONS OTHERS = 1.
BORRS_SIMULATE_ETA_CALCULATION CALL FUNCTION 'BORRS_SIMULATE_ETA_CALCULATION' EXPORTING if_route = likp-route if_point_from = f_knote if_waittime_from = f_waittime if_waittime_to = space if_direction = '1' if_datelocal = f_date if_timelocal = f_time if_timestamp = f_timestamp if_no_times_backward = 'X' if_bypass_selection = 'X' CHANGING ct_balm = t_borrs_log EXCEPTIONS OTHERS = 1.
EDI_DOCUMENT_TREE_DISPLAY CALL FUNCTION 'EDI_DOCUMENT_TREE_DISPLAY' EXPORTING docnum = f_idocnum EXCEPTIONS no_idoc_found = 1 OTHERS = 2.
BORTE_IDOC_CREATE_TRXSTA CALL FUNCTION 'BORTE_IDOC_CREATE_TRXSTA' EXPORTING t_idt = bortf_idt IMPORTING idoc_num = likp-idt_docnum EXCEPTIONS idoc_not_saved = 1 OTHERS = 2.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = dyname dynumb = dynumb translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = dyname dynumb = dynumb translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'f_knote' titel = f_title display = f_display IMPORTING select_value = f_knote_out TABLES fields = t_fields valuetab = t_nodes_disp EXCEPTIONS OTHERS = 1.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = dyname dynumb = dynumb TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 1.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = dyname dynumb = dynumb translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'f_aulwe' display = f_display IMPORTING select_value = f_aulwe_out TABLES fields = t_fields valuetab = t_disp EXCEPTIONS OTHERS = 1.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = dyname dynumb = dynumb TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 1.
DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'IDT_WRKQUA_3' text = 'X' langu = sy-langu TABLES dd07v_tab = t_domvalues_wrkqua_3 EXCEPTIONS OTHERS = 1.
DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'IDT_WRKQUA_4' text = 'X' langu = sy-langu TABLES dd07v_tab = t_domvalues_wrkqua_4 EXCEPTIONS OTHERS = 1.
BORGR_WBSTK_FROM_EKES CALL FUNCTION 'BORGR_WBSTK_FROM_EKES' EXPORTING i_vbeln = likp-vbeln TABLES xt_vbup = lt_vbup CHANGING x_wbstk = trx_wbstk.
BORTE_IDOC_HISTORY_TRXSTA CALL FUNCTION 'BORTE_IDOC_HISTORY_TRXSTA' EXPORTING ivbeln = p_likp_vbeln IMPORTING ibortf_idttab = idttab ibortf_logtab = logtab.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'BORRS_HISTORY' CHANGING ct_fieldcat = gt_fieldcat_lvc_history[].
LVC_VARIANT_DEFAULT_GET CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET' EXPORTING i_save = gc_var_maint_user_specific CHANGING cs_variant = gs_variant_header EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.
CALL FUNCTION 'HU_HURES_GET' EXPORTING it_venum = lt_venum IMPORTING et_hures = lt_hures.
BORSHP_SEARCH_VTTP_NOEX_DB CALL FUNCTION 'BORSHP_SEARCH_VTTP_NOEX_DB' EXPORTING i_lifnr = p_likp-lifnr i_lifex = p_likp-lifex IMPORTING et_borgr_vttp_noex = lt_vttp_noex.
BORSHP_CONFIRM_APPEND_SHPM CALL FUNCTION 'BORSHP_CONFIRM_APPEND_SHPM' EXPORTING i_only_information = 'X' it_borgr_vttp_noex = lt_vttp_noex IMPORTING e_do_append = g_do_append_shpm.
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 MV50AFTR or its description.