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

GRPC_RISK_ASSIGNMENT_REMOVAL SAP ABAP Report - Program GRPC_RISK_ASSIGNMENT_REMOVAL







GRPC_RISK_ASSIGNMENT_REMOVAL 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_RISK_ASSIGNMENT_REMOVAL 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_RISK_ASSIGNMENT_REMOVAL. "Basic submit
SUBMIT GRPC_RISK_ASSIGNMENT_REMOVAL AND RETURN. "Return to original report after report execution complete
SUBMIT GRPC_RISK_ASSIGNMENT_REMOVAL 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: LV_YEAR = Year
Selection Text: LV_SUBPR = Subprocess ID
Selection Text: LV_RISK = Remove Risk
Selection Text: LV_REG = Regulation ID
Selection Text: LV_ORG = Organization ID
Selection Text: LV_IS_SP = Risk Source: Subprocess
Selection Text: LV_IS_CO = Risk Source: Control Objective
Selection Text: LV_IS_AC = Risk Source: Account Group
Selection Text: LV_FRAME = Time Frame
Selection Text: LV_COBJ = Remove Control Objective
Title: Program GRPC_RISK_ASSIGNMENT_REMOVAL
Text Symbol: 039 = Select No-Risk Control Objective
Text Symbol: 038 = Deselect All
Text Symbol: 037 = Select All
Text Symbol: 036 = Test Run
Text Symbol: 035 = Remove Selected Control Objectives
Text Symbol: 033 = No. of Risks covered by Contro
Text Symbol: 032 = Control Objective Name
Text Symbol: 031 = Control Objective ID
Text Symbol: 030 = Organization Name
Text Symbol: 029 = Organization ID
Text Symbol: 028 = Subprocess Name
Text Symbol: 027 = Subprocess ID
Text Symbol: 026 = Source Name
Text Symbol: 025 = Source ID
Text Symbol: 024 = Assigned Controls
Text Symbol: 023 = Risk Name
Text Symbol: 022 = Risk ID
Text Symbol: 021 = Remove Flag
Text Symbol: 011 = Options
Text Symbol: 010 = Program


INCLUDES used within this REPORT GRPC_RISK_ASSIGNMENT_REMOVAL

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = dynpread EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ID' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = i_field value_org = 'S' TABLES value_tab = gt_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ID' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = i_field value_org = 'S' TABLES value_tab = gt_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ID' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = i_field value_org = 'S' TABLES value_tab = gt_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

GRPC_API_XRISK_CONTROLS CALL FUNCTION 'GRPC_API_XRISK_CONTROLS' EXPORTING i_session_id = go_session->mv_id i_risk_id = lv_api_id i_source_id = lv_api_source_id i_subprocess_id = lv_api_sp_id i_regulation_id = lv_api_reg IMPORTING e_return_code = lv_return_code TABLES et_controls = lt_controls.

GRPC_API_RISK_CONTROLS CALL FUNCTION 'GRPC_API_RISK_CONTROLS' EXPORTING i_session_id = go_session->mv_id i_risk_id = lv_api_id i_source_id = lv_api_source_id i_subprocess_id = lv_api_sp_id i_orgunit_id = lv_api_org_id * I_ASSERTION = i_regulation_id = lv_api_reg IMPORTING e_return_code = lv_return_code TABLES et_controls = lt_controls.

GRPC_API_OBJECT_INFO CALL FUNCTION 'GRPC_API_OBJECT_INFO' EXPORTING i_session_id = iv_session_id i_object_id = lv_api_id i_regulation_id = iv_api_reg_id IMPORTING e_object_txt = cv_obj_name.

MS_EXCEL_OLE_STANDARD_DAT CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT' EXPORTING file_name = lv_filename * CREATE_PIVOT = 0 * DATA_SHEET_NAME = ' ' * PIVOT_SHEET_NAME = ' ' * PASSWORD = ' ' * PASSWORD_OPTION = 0 TABLES * PIVOT_FIELD_TAB = data_tab = lt_risk_assign_download fieldnames = fnames EXCEPTIONS file_not_exist = 1 filename_expected = 2 communication_error = 3 ole_object_method_error = 4 ole_object_property_error = 5 invalid_pivot_fields = 6 download_problem = 7 OTHERS = 8.

GRPC_API_XRISK_CONTROLS CALL FUNCTION 'GRPC_API_XRISK_CONTROLS' EXPORTING i_session_id = go_session->mv_id i_risk_id = lv_api_id i_source_id = lv_api_source_id i_subprocess_id = lv_api_sp_id i_regulation_id = lv_api_reg IMPORTING e_return_code = lv_return_code TABLES et_controls = lt_controls.

GRPC_API_RISK_CONTROLS CALL FUNCTION 'GRPC_API_RISK_CONTROLS' EXPORTING i_session_id = go_session->mv_id i_risk_id = lv_api_id i_source_id = lv_api_source_id i_subprocess_id = lv_api_sp_id i_orgunit_id = lv_api_org_id i_regulation_id = lv_api_reg IMPORTING e_return_code = lv_return_code TABLES et_controls = lt_controls.



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