RFFMFG_SO_HISTORY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The purpose of this report is to show the sales order (SO) history...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RFFMFG_SO_HISTORY into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FMFG_SO_HISTORY - Sales Order History
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.
Selection Text: P_BL = Budgetary View
Selection Text: P_FM = Funds Management View
Selection Text: P_FP = Include Funded Program
Selection Text: P_PL = Proprietary View
Selection Text: P_VARI = D .
Selection Text: S_POSNR = D .
Selection Text: S_VBELN = D .
Title: Sales Order History
Text Symbol: 001 = Sales Order History
Text Symbol: 002 = Layout
Text Symbol: 003 = Account description
Text Symbol: 004 = Selection Criteria
Text Symbol: 005 = Views
Text Symbol: 006 = Budgetary View
Text Symbol: 007 = Proprietary View
Text Symbol: 008 = Funds Management View
Text Symbol: 009 = Special Purp. Ledger
Text Symbol: 010 = Sales Document
Text Symbol: 011 = Document Number
Text Symbol: 012 = Unassigned
Text Symbol: 013 = Use Funded Program
INCLUDE RFFMFG_SCHED.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = con_save_variant CHANGING cs_variant = gx_s_variant EXCEPTIONS not_found = 2.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = gs_variant i_save = con_save_variant IMPORTING e_exit = f_exit es_variant = gx_s_variant EXCEPTIONS not_found = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = c_t_events.
FM_ALV_LAYOUT CALL FUNCTION 'FM_ALV_LAYOUT' CHANGING c_f_layout = l_f_layout.
T001_SINGLE_READ CALL FUNCTION 'T001_SINGLE_READ' EXPORTING bukrs = s_fmusfga-rbukrs IMPORTING wt001 = t_t001 EXCEPTIONS not_found = 1 wrong_call = 2 OTHERS = 3.
SKAT_SELECT CALL FUNCTION 'SKAT_SELECT' EXPORTING ktopl = t_t001-ktopl saknr = s_fmusfga-racct IMPORTING i_skat = t_skat.
BSV_GET_TEXT_VRGNG CALL FUNCTION 'BSV_GET_TEXT_VRGNG' EXPORTING langu = sy-langu vrgng = s_fmifiit-vrgng IMPORTING txt = l_vrgng_txt txt_langu = l_vrgng_langu EXCEPTIONS error_message = 2 OTHERS = 1.
BSV_GET_TEXT_VRGNG CALL FUNCTION 'BSV_GET_TEXT_VRGNG' EXPORTING langu = sy-langu vrgng = s_fmia-rvrgng IMPORTING txt = l_vrgng_txt txt_langu = l_vrgng_langu EXCEPTIONS error_message = 2 OTHERS = 1.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'IFMFG_SO_HISTORY' TABLES x031l_tab = l_t_nametab.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = con_repid i_callback_pf_status_set = 'PF_STATUS_SET' "Auth messages log i_callback_user_command = 'USER_COMMAND' * i_callback_top_of_page = 'TOP_OF_PAGE' i_grid_settings = u_l_f_grid_settings is_layout = u_l_f_layout it_fieldcat = u_l_t_fieldcat[] it_sort = u_l_t_sort[] it_events = g_t_events[] i_save = con_save_variant is_variant = u_l_variant TABLES t_outtab = u_lt_outptbl.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = g_t_list_top_of_page.
FM_DOCUMENT_DISPLAY CALL FUNCTION 'FM_DOCUMENT_DISPLAY' EXPORTING i_belnr = g_s_views-refdoc i_bukrs = g_s_views-refbuk i_gjahr = g_s_views-refgja i_wrttp = g_s_views-wrttp.
MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' EXPORTING i_deadend = 'X' i_mblnr = l_mblnr i_mjahr = l_mjahr.
AC_DOCUMENT_SENDER CALL FUNCTION 'AC_DOCUMENT_SENDER' EXPORTING i_awtyp = g_s_views-awtyp i_awref = g_s_views-refdoc * i_aworg = g_s_views-aworg * i_awsys = g_s_views-logsys i_bukrs = g_s_views-bukrs EXCEPTIONS * awtyp_not_found = 1 * no_document_display_function = 2 OTHERS = 0.
DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'FM_WRTTP' text = 'X' langu = sy-langu TABLES dd07v_tab = c_dd07v EXCEPTIONS OTHERS = 0.
DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'FM_BTART' text = 'X' langu = sy-langu TABLES dd07v_tab = c_dd07v_b EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFFMFG_SO_HISTORY - Sales Order History RFFMFG_SO_HISTORY - Sales Order History RFFMFG_SF133_TOP - Include RFFMFG_SF133_TOP RFFMFG_SF133 - SF 133 - Report on Budget Execution and Budgetary Resources RFFMFG_SF133 - SF 133 - Report on Budget Execution and Budgetary Resources RFFMFG_SF132_TOP - Include RFFMFG_SF132_TOP