SAP Reports / Programs

GRPC_REPORTING_TEST SAP ABAP Report - Perform PC Report







GRPC_REPORTING_TEST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program enables you to perform reports for the Process Control (PC) component...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 GRPC_REPORTING_TEST 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 GRPC_REPORTING_TEST. "Basic submit
SUBMIT GRPC_REPORTING_TEST AND RETURN. "Return to original report after report execution complete
SUBMIT GRPC_REPORTING_TEST 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: THISTASK = Synchronously
Selection Text: I_UNAME = User ID for Report Display
Selection Text: I_TFYEAR = D .
Selection Text: I_TFRAME = D .
Selection Text: I_REPORT = Report ID
Selection Text: I_PR_TXT = Process
Selection Text: I_PR_ID = Process ID
Selection Text: I_PROCAS = Include All Assessments
Selection Text: I_OU_TXT = Organizational Unit
Selection Text: I_OU_ID = Organizational Unit ID
Selection Text: I_NOSORG = Without Subordinate Org.Unit
Selection Text: I_NOBUFF = Bypass Buffer
Selection Text: I_CN_TXT = Control
Selection Text: I_CN_ID = Control ID
Selection Text: I_BLPRTC = Consider PC-UI Enhancements
Selection Text: DISP_NO = No Results
Selection Text: DISP_ALV = Result in ALV Grid
Selection Text: BTC_TASK = In Background
Selection Text: ASYNTASK = Asynchronously
Title: Perform PC Report
Text Symbol: 018 = Number of Batch Jobs
Text Symbol: 017 = Batch Job Name
Text Symbol: 016 = Completed
Text Symbol: 015 = Started
Text Symbol: 014 = Started by
Text Symbol: 013 = Created
Text Symbol: 012 = Created By
Text Symbol: 011 = Status
Text Symbol: 010 = Report GUID
Text Symbol: 006 = Personalizations
Text Symbol: 005 = All Background Reports by MIC User &1
Text Symbol: 004 = Calculation running ...
Text Symbol: 003 = Result Display
Text Symbol: 002 = Runtime Settings
Text Symbol: 001 = Selection Parameters


INCLUDES used within this REPORT GRPC_REPORTING_TEST

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:

GRPC_API_SESSION_OPEN call function 'GRPC_API_SESSION_OPEN' exporting * I_LANGUAGE = SY-LANGU i_timeframe = i_tframe i_tf_year = i_tfyear importing e_session_id = l_session e_return_code = g_return_code tables et_message = gt_message.

GRPC_API_REPORT_START call function 'GRPC_API_REPORT_START' exporting i_sel_screen = cl_grpc_reporting_services=>c_rep_sel_screen_report is_filter = ls_filter * IS_FILTER_CHA = IS_FILTER_CHA * IS_FILTER_ALOG = IS_FILTER_ALOG is_details = ls_details i_wait = l_wait i_session_id = l_session importing e_report_id = l_report e_return_code = g_return_code tables et_message = gt_message * IT_RATING_FILTER_VALUE = IT_RATING_FILTER_VALUE * IT_RATING_FILTER_CATEGORY = IT_RATING_FILTER_CATEGORY .

GRPC_API_REPORT_CHECK call function 'GRPC_API_REPORT_CHECK' exporting i_report_id = l_report * I_NO_WAIT = ' ' i_wait_time = 1 i_sel_screen = cl_grpc_reporting_services=>c_rep_sel_screen_report importing e_progress = l_progress e_done = l_done e_return_code = g_return_code tables et_message = gt_message.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = l_prog_int text = l_text.

GRPC_API_REPORT_RESULT call function 'GRPC_API_REPORT_RESULT' exporting i_report_id = l_report i_sel_screen = cl_grpc_reporting_services=>c_rep_sel_screen_report importing et_result = e_return_code = g_return_code tables et_message = gt_message.

GRPC_API_SESSION_TIMEFRAME call function 'GRPC_API_SESSION_TIMEFRAME' exporting i_session_id = l_session importing e_timeframe = ls_details-s_dates-timeframe e_tf_year = ls_details-s_dates-tf_year e_datefrom = ls_details-s_dates-date_begin e_dateto = ls_details-s_dates-date_end e_return_code = g_return_code tables et_message = gt_message[].

GRPC_API_PERS_SETTINGS_GET call function 'GRPC_API_PERS_SETTINGS_GET' exporting i_session_id = l_session i_rep_type = i_report i_user = i_uname importing es_settings = ls_settings e_return_code = g_return_code tables et_message = gt_message.

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = l_structure * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = changing ct_fieldcat = lt_fieldcat0 exceptions error_message = 3 others = 3.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' * I_CALLBACK_PROGRAM = ' ' * 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 = 'GRPT_BSP_UI_REPORT' * I_BACKGROUND_ID = ' ' i_grid_title = l_title * I_GRID_SETTINGS = * IS_LAYOUT = it_fieldcat = lt_fieldcat1 * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = ls_variant * IT_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 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * I_HTML_HEIGHT_TOP = * I_HTML_HEIGHT_END = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab = it_report exceptions * PROGRAM_ERROR = 1 others = 2 .

GRPC_REPORT_SHOW_PDF * call function 'GRPC_REPORT_SHOW_PDF' * exporting * it_otfdata = -otfdata.



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