SAP Reports / Programs | Governance, Risk and Compliance | Process Controls(GRC-SPC) SAP GRC

GRPC_DATA_GENERATOR SAP ABAP Report - This is an internal test program







GRPC_DATA_GENERATOR 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 GRPC_DATA_GENERATOR 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_DATA_GENERATOR. "Basic submit
SUBMIT GRPC_DATA_GENERATOR AND RETURN. "Return to original report after report execution complete
SUBMIT GRPC_DATA_GENERATOR 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: USER = User
Selection Text: TFYEAR = Year
Selection Text: TFRAME = Timeframe
Selection Text: TEST = Test Run
Selection Text: P_SUBP_M = No. of Subprocess per Process
Selection Text: P_RISK_M = No. of Risks
Selection Text: P_REGU = Regulation ID
Selection Text: P_PREFIX = Prefix
Selection Text: P_PRC_N = No. of second Level Process
Selection Text: P_PRC_M = No. of First Level Process
Selection Text: P_ORG_N = No. of second Level Org. Unit
Selection Text: P_ORG_M = No. of First Level Org. Unit
Selection Text: P_ORGTOP = Root Node of Org. Unit
Selection Text: P_CTRL_M = No. of Control per Subprocess
Selection Text: P_COBJ_M = No. of Control Objectives
Title: This is an internal test program
Text Symbol: 008 = Role
Text Symbol: 007 = Data
Text Symbol: 006 = Time frame
Text Symbol: 005 = Return code for save
Text Symbol: 004 = Return code for control objective creation
Text Symbol: 003 = Return code for control creation
Text Symbol: 002 = Return code for central subprocess creation
Text Symbol: 001 = Return code for central process creation


INCLUDES used within this REPORT GRPC_DATA_GENERATOR

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_XPROCESS_CREATE CALL FUNCTION 'GRPC_API_XPROCESS_CREATE' EXPORTING i_session_id = i_session_id is_process_data_new = ls_process_data i_regulation_id = i_regulation_id IMPORTING e_return_code = l_return_code e_process_id_new = l_process_id TABLES et_message = lt_message.

GRPC_API_XPROCESS_CREATE CALL FUNCTION 'GRPC_API_XPROCESS_CREATE' EXPORTING i_session_id = i_session_id is_process_data_new = ls_process_data i_regulation_id = i_regulation_id IMPORTING e_return_code = l_return_code e_process_id_new = l_process_id_2 TABLES et_message = lt_message.

GRPC_API_XSUBPROCESS_CREATE CALL FUNCTION 'GRPC_API_XSUBPROCESS_CREATE' EXPORTING i_session_id = i_session_id is_subprocess_new = ls_subprocess_data i_regulation_id = i_regulation_id IMPORTING e_return_code = l_return_code e_new_id = l_subprocess_id.

GRPC_API_CONTROL_CREATE CALL FUNCTION 'GRPC_API_CONTROL_CREATE' EXPORTING i_session_id = i_session_id is_control_bdata_new = ls_control_bdata is_control_cdata_new = ls_control_cdata is_control_tdata_new = ls_control_tdata i_regulation_id = i_regulation_id IMPORTING e_return_code = l_return_code e_control_id_new = l_control_id TABLES et_message = lt_message.

GRPC_API_COBJECTIVE_CREATE * CALL FUNCTION 'GRPC_API_COBJECTIVE_CREATE' * EXPORTING * i_session_id = i_session_id * is_cobjective_data_new = ls_cobjective_data * i_regulation_id = i_regulation_id * IMPORTING * e_cobjective_id = e_cobjective_id * e_return_code = l_return_code * TABLES * it_cobjective_subprocess_new = lt_cobj_subprocess * et_message = lt_message.

GRPC_API_ORGUNIT_RETRIEVE CALL FUNCTION 'GRPC_API_ORGUNIT_RETRIEVE' EXPORTING i_session_id = i_session_id i_orgunit_id = ls_org_unit-orgunit_id i_editable = 'X' i_regulation_id = i_regulation_id.

GRPC_API_ORGUNIT_UPDATE CALL FUNCTION 'GRPC_API_ORGUNIT_UPDATE' EXPORTING i_session_id = i_session_id i_orgunit_id = ls_org_unit-orgunit_id i_regulation_id = i_regulation_id IMPORTING e_return_code = lv_return_code TABLES et_message = lt_message it_orgunit_subprocess_changed = lt_orgunit_subpro.

GRPC_API_ORGUNIT_RETRIEVE CALL FUNCTION 'GRPC_API_ORGUNIT_RETRIEVE' EXPORTING i_session_id = i_session_id i_orgunit_id = ls_org_unit-orgunit_id i_editable = 'X' i_regulation_id = i_regulation_id TABLES et_message = lt_message et_orgunit_subprocess = lt_org_subprocess et_orgunit_bcontrol = lt_org_control.



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