SAP Reports / Programs | Service Station Retailing | Industry Solution Oil | Service Station Retailing(IS-OIL-DS-SSR) SAP IS

ROIRE_PCSTAT2 SAP ABAP Report - PC Statistics: Yearly Overview







ROIRE_PCSTAT2 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_PCSTAT2 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT ROIRE_PCSTAT2. "Basic submit
SUBMIT ROIRE_PCSTAT2 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIRE_PCSTAT2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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_YEAR = D Fiscal Year
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: Yearly Overview
Text Symbol: 136 = :Fee prtcptn
Text Symbol: 135 = :Prntr participation pymnt crd fees
Text Symbol: 131 = :PC Fees
Text Symbol: 130 = :Payment Card Fees
Text Symbol: 126 = :Unit
Text Symbol: 125 = : Sales unit
Text Symbol: 121 = :Crncy
Text Symbol: 120 = : Currency
Text Symbol: 116 = :No hdrs
Text Symbol: 115 = :Number of headers
Text Symbol: 111 = :No itms
Text Symbol: 110 = :Number of items
Text Symbol: 106 = :Quantity
Text Symbol: 105 = : Quantity
Text Symbol: 102 = :Amnt
Text Symbol: 101 = :Amount
Text Symbol: 100 = : Amount
Text Symbol: 020 = to
Text Symbol: 017 = Please choose the desired fields via the display variant
Text Symbol: 016 = Currencies
Text Symbol: 015 = Company code
Text Symbol: 014 = all
Text Symbol: 013 = Material
Text Symbol: 012 = Location
Text Symbol: 011 = Card type
Text Symbol: 010 = Selection





Text Symbol: 003 = Data
Text Symbol: 002 = Year


INCLUDES used within this REPORT ROIRE_PCSTAT2

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 0 importing et_events = pt_events.

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' "SO7K017449 exporting "SO7K017449 i_currency = gs_curr_conv-analysis_currency"SO7K017449 i_type_of_rate = gs_curr_conv-type_of_rate "SO7K017449 i_conversion_date = gs_curr_conv-conversion_date "SO7K017449 importing "SO7K017449 e_currency = gs_curr_conv-analysis_currency"SO7K017449 e_type_of_rate = gs_curr_conv-type_of_rate "SO7K017449 e_conversion_date = gs_curr_conv-conversion_date "SO7K017449 exceptions "SO7K017449 dialog_calncelled = 1 "SO7K017449 others = 2. "SO7K017449

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_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_program_name = g_repid i_internal_tabname = g_tabname_header i_structure_name = 'ROIREPCSTAT2' 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 = ' ' "LTH i_callback_program = g_repid i_structure_name = 'ROIREPCSTAT2' 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.

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.

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 = 'ROIREPCSTAT2' 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.

DDIF_TABL_GET call function 'DDIF_TABL_GET' exporting name = 'ROIREPCSTAT2' 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.



Contribute (Add Comments)

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 ROIRE_PCSTAT2 or its description.