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

ROIRE_PCSTAT1 SAP ABAP Report - PC Statistics: Monthly Overview







ROIRE_PCSTAT1 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_PCSTAT1 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_PCSTAT1. "Basic submit
SUBMIT ROIRE_PCSTAT1 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIRE_PCSTAT1 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_PERIO = Month (Format: MM.YYYY)
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: Monthly Overview
Text Symbol: 022 = Please choose the desired fields via the display variant
Text Symbol: 021 = Aggregate months into single row
Text Symbol: 020 = to
Text Symbol: 017 = No
Text Symbol: 016 = Yes
Text Symbol: 015 = Aggregate months
Text Symbol: 012 = Execute
Text Symbol: 011 = Currency
Text Symbol: 010 = Company code
Text Symbol: 009 = all
Text Symbol: 008 = Material
Text Symbol: 007 = Location
Text Symbol: 006 = Card type
Text Symbol: 005 = Selection data
Text Symbol: 003 = Period


INCLUDES used within this REPORT ROIRE_PCSTAT1

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_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

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 = l_s414_row-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 = 'ROIREPCSTAT1' CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 0 program_error = 0 OTHERS = 0.

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 = g_exit es_variant = g_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = g_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = pe_events.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_BUFFER_ACTIVE = 'X' "SO7K107196 MS I_CALLBACK_PROGRAM = pi_repid I_STRUCTURE_NAME = pi_structure IS_LAYOUT = pi_layout IT_FIELDCAT = pi_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = IT_SORT = pi_sorttab[] * IT_FILTER = * IS_SEL_HIDE = I_DEFAULT = ' ' I_SAVE = pi_save IS_VARIANT = pi_g_variant IT_EVENTS = pi_events[] tables t_outtab = pt_outtab EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY * call function 'REUSE_ALV_GRID_DISPLAY' * EXPORTING * I_BUFFER_ACTIVE = 'X' ** I_INTERFACE_CHECK = ' ' * I_CALLBACK_PROGRAM = pi_repid ** I_CALLBACK_PF_STATUS_SET = ' ' ** I_CALLBACK_USER_COMMAND = ' ' ** I_CALLBACK_TOP_OF_PAGE = ' ' ** I_CALLBACK_HTML_TOP_OF_PAGE = ' ' ** I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = pi_structure ** I_BACKGROUND_ID = ' ' ** I_GRID_TITLE = ** I_GRID_SETTINGS = * IS_LAYOUT = pi_layout * IT_FIELDCAT = pi_fieldcat[] ** IT_EXCLUDING = ** IT_SPECIAL_GROUPS = * IT_SORT = pi_sorttab[] ** IT_FILTER = ** IS_SEL_HIDE = ** I_DEFAULT = 'X' * I_SAVE = pi_save ** IS_VARIANT = * IT_EVENTS = pi_events[] ** IT_EVENT_EXIT = ** IS_PRINT = ** IS_REPREP_ID = ** I_SCREEN_START_COLUMN = 0 ** I_SCREEN_START_LINE = 0 ** I_SCREEN_END_COLUMN = 0 ** I_SCREEN_END_LINE = 0 ** IMPORTING ** E_EXIT_CAUSED_BY_CALLER = ** ES_EXIT_CAUSED_BY_USER = * tables * t_outtab = pt_outtab ** EXCEPTIONS ** PROGRAM_ERROR = 1 ** OTHERS = 2 * .

OIRA_ANALYSIS_CURRENCY_GET call function 'OIRA_ANALYSIS_CURRENCY_GET' exporting i_currency = g_analysis_currency i_type_of_rate = g_type_of_rate i_conversion_date = g_conversion_date importing e_currency = l_analysis_currency e_type_of_rate = l_type_of_rate e_conversion_date = l_conversion_date exceptions dialog_calncelled = 1 others = 2.

DDIF_TABL_GET call function 'DDIF_TABL_GET' exporting name = 'ROIREPCSTAT1' tables dd03p_tab = l_dd03p_tab exceptions illegal_input = 1 others = 2.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = g_conversion_date foreign_amount = foreign_currency = local_currency = g_analysis_currency type_of_rate = g_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_PCSTAT1 or its description.