ROIRE_PCSTAT3 is a standard Executable ABAP Report 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 ROIRE_PCSTAT3 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.
Selection Text: SO_YEAR = D Fiscal Year
Selection Text: SO_WAERS = D Currency
Selection Text: SO_MATNR = D Material
Selection Text: SO_LOC = D Business location ID
Selection Text: SO_CTYP = D Paym.card type
Selection Text: P_VARI = D Layout
Selection Text: P_SUPMAT = Suppress material level
Selection Text: P_SUPLOC = Suppress location level
Selection Text: P_SUPCLH = Suppress clearing house
Selection Text: P_PROCID = D Process ID
Selection Text: P_BUKRS = D Company Code
Title: PC Statistics: Annual differences
Text Symbol: 136 = :Fee prtcptn
Text Symbol: 131 = :PC Fees
Text Symbol: 126 = :Unit
Text Symbol: 121 = :Crncy
Text Symbol: 116 = :No hdrs
Text Symbol: 111 = :No itms
Text Symbol: 106 = :Quantity
Text Symbol: 101 = :Amount
Text Symbol: 020 = to
Text Symbol: 018 = Please choose the desired fields via the display variant
Text Symbol: 017 = Company code
Text Symbol: 016 = Currencies
Text Symbol: 015 = Card type
Text Symbol: 014 = all
Text Symbol: 013 = Material
Text Symbol: 012 = Location
Text Symbol: 011 = Infinity
Text Symbol: 004 = Data
Text Symbol: 003 = Selection data
Text Symbol: 001 = Year
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = g_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.
REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING es_variant = ls_variant_old.
REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING es_variant = ls_variant.
OIRA_ANALYSIS_CURRENCY_GET call function 'OIRA_ANALYSIS_CURRENCY_GET' "SOGK007915 exporting "SOGK007915 i_currency = gs_curr_conv-analysis_currency i_type_of_rate = gs_curr_conv-type_of_rate "SOGK007915 i_conversion_date = gs_curr_conv-conversion_date importing "SOGK007915 e_currency = gs_curr_conv-analysis_currency e_type_of_rate = gs_curr_conv-type_of_rate "SOGK007915 e_conversion_date = gs_curr_conv-conversion_date exceptions "SOGK007915 dialog_calncelled = 1 "SOGK007915 others = 2. "SOGK007915
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = g_tabname_header i_structure_name = 'ROIREPCSTAT3' CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_BUFFER_ACTIVE = 'X' "SO7K107196 MS i_callback_program = g_repid i_structure_name = 'ROIREPCSTAT3' is_layout = gs_layout i_callback_user_command = g_user_command i_save = g_save is_variant = g_variant it_events = gt_events[] it_fieldcat = gt_fieldcat[] it_event_exit = g_caller_exit TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.
OIRA_AUTH_FILTER_LOCATIONS CALL FUNCTION 'OIRA_AUTH_FILTER_LOCATIONS' EXPORTING i_structure = 'S414' i_fname_pblnr = 'PBLNR' * I_REPID = SY-CPROG TABLES t_data_tab = g_s414_tab EXCEPTIONS ddif_tabl_get = 1 OTHERS = 2 .
MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING matnr = g_s414-matnr spras = sy-langu IMPORTING wmakt = l_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.
REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING et_sort = lt_sort.
OIRA_ALV_SUBTOTALLINES_GET CALL FUNCTION 'OIRA_ALV_SUBTOTALLINES_GET' EXPORTING I_SELFIELD = pi_selfield I_SORT_TAB = lt_sort I_STRUCTURE = 'ROIREPCSTAT3' IMPORTING E_TABIX_FROM = l_tabix_from E_TABIX_TO = l_tabix_to E_FIELDNAME = pi_selfield-fieldname E_VALUE = pi_selfield-value TABLES I_OUTTAB_TOTAL = gt_outtab.
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = g_variant EXCEPTIONS not_found = 2.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save i_tabname_header = g_tabname_header IMPORTING e_exit = l_exit es_variant = g_variant EXCEPTIONS not_found = 2.
DDIF_TABL_GET call function 'DDIF_TABL_GET' EXPORTING name = 'ROIREPCSTAT3' TABLES dd03p_tab = l_dd03p_tab EXCEPTIONS illegal_input = 1 others = 2.
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = pi_curr_conv-conversion_date foreign_amount =
foreign_currency = local_currency = pi_curr_conv-analysis_currency type_of_rate = pi_curr_conv-type_of_rate IMPORTING local_amount = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 others = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.