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

GRPC_CUT_ORG_OBJECTS SAP ABAP Report - Reduce Validity of Organization-Dependent Objects on Key Date







GRPC_CUT_ORG_OBJECTS 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_CUT_ORG_OBJECTS 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_CUT_ORG_OBJECTS. "Basic submit
SUBMIT GRPC_CUT_ORG_OBJECTS AND RETURN. "Return to original report after report execution complete
SUBMIT GRPC_CUT_ORG_OBJECTS 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: P_OBJID = ID of Org Unit
Selection Text: P_TEST = Test Run
Selection Text: P_DATE = D .
Title: Reduce Validity of Organization-Dependent Objects on Key Date
Text Symbol: 001 = Number of Assigned Processes
Text Symbol: 002 = Number of Assigned Management Controls
Text Symbol: 003 = Number of Assigned Management Controls (Process Groups)
Text Symbol: 004 = Number of Assigned Account Groups
Text Symbol: 005 = Error when determining account groups of organizational unit
Text Symbol: 006 = Error when determining management controls (process groups) of org unit
Text Symbol: 007 = Error when determining management controls of organizational unit
Text Symbol: 008 = Error when determining processes of organizational unit
Text Symbol: 009 = New Valid-To Date of Dependent Objects
Text Symbol: 010 = Organizational Unit
Text Symbol: 011 = Error when deleting an object
Text Symbol: 012 = Error when reducing the valid-to date of an object


INCLUDES used within this REPORT GRPC_CUT_ORG_OBJECTS

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:

RH_OBJID_REQUEST * CALL FUNCTION 'RH_OBJID_REQUEST' * EXPORTING * plvar = '01' * otype = grpch_o * seark = '*' * IMPORTING * sel_object = l_objec * EXCEPTIONS * cancelled = 1 * wrong_condition = 2 * nothing_found = 3 * internal_error = 4 * illegal_mode = 5 * OTHERS = 6.

RH_STRUC_GET_MULTIPLE_ROOTS * CALL FUNCTION 'RH_STRUC_GET_MULTIPLE_ROOTS' * EXPORTING * act_wegid = 'MC_M0ST' * act_plvar = '01' * act_svect = '1' * act_begda = l_date_plus1 * act_endda = '99991231' * act_tflag = 'X' * act_vflag = 'X' * act_sflag = 'X' * act_recurs = ' ' * act_text_buffer_fill = ' ' * authority_check = ' ' * buffer_mode = ' ' * TABLES * root_objects = lt_orgunits * result_objec = lt_objec_process * EXCEPTIONS * no_plvar_found = 1 * no_entry_found = 2 * path_not_found = 3 * root_not_found = 4 * OTHERS = 5.

RH_STRUC_GET_MULTIPLE_ROOTS * CALL FUNCTION 'RH_STRUC_GET_MULTIPLE_ROOTS' * EXPORTING * act_wegid = 'MC_OM9M9' * act_plvar = '01' * act_svect = '1' * act_begda = l_date_plus1 * act_endda = '99991231' * act_tflag = 'X' * act_vflag = 'X' * act_sflag = 'X' * act_recurs = ' ' * act_text_buffer_fill = ' ' * authority_check = ' ' * buffer_mode = ' ' * TABLES * root_objects = lt_orgunits * result_objec = lt_objec_mgmt_o * EXCEPTIONS * no_plvar_found = 1 * no_entry_found = 2 * path_not_found = 3 * root_not_found = 4 * OTHERS = 5.

RH_STRUC_GET * CALL FUNCTION 'RH_STRUC_GET' * EXPORTING * act_otype = grpch_org_pr_group * act_objid = l_objec-objid * act_wegid = 'MC_M0M9' * act_plvar = '01' * act_begda = l_date_plus1 * act_endda = '99991231' * act_tflag = 'X' * act_vflag = 'X' * authority_check = space * TABLES * result_objec = lt_objec_mgmt_m0_part * EXCEPTIONS * no_plvar_found = 1 * no_entry_found = 2 * OTHERS = 3.

RH_STRUC_GET_MULTIPLE_ROOTS * CALL FUNCTION 'RH_STRUC_GET_MULTIPLE_ROOTS' * EXPORTING * act_wegid = 'MC_OM8' * act_plvar = '01' * act_svect = '1' * act_begda = l_date_plus1 * act_endda = '99991231' * act_tflag = 'X' * act_vflag = 'X' * act_sflag = 'X' * act_recurs = ' ' * act_text_buffer_fill = ' ' * authority_check = ' ' * buffer_mode = ' ' * TABLES * root_objects = lt_orgunits * result_objec = lt_objec_mgmt_m8 * EXCEPTIONS * no_plvar_found = 1 * no_entry_found = 2 * path_not_found = 3 * root_not_found = 4 * OTHERS = 5.

RH_CUT_OBJECT * CALL FUNCTION 'RH_CUT_OBJECT' * EXPORTING * gdate = p_date * histo = 'X' * gstat = '1' * vtask = 'D' * authy = space * cut_dependents = 'X' * TABLES * i1000 = lt_p1000 * EXCEPTIONS * error_during_cut = 1 * no_authorization = 2 * gdate_before_begda = 3 * corr_exit = 4 * OTHERS = 5.

RH_CUT_OBJECT * CALL FUNCTION 'RH_CUT_OBJECT' * EXPORTING * gdate = p_date * histo = 'X' * gstat = '1' * vtask = 'D' * authy = space * cut_dependents = 'X' * TABLES * i1000 = lt_p1000 * EXCEPTIONS * error_during_cut = 1 * no_authorization = 2 * gdate_before_begda = 3 * corr_exit = 4 * OTHERS = 5.

RH_DELETE_OBJECT * CALL FUNCTION 'RH_DELETE_OBJECT' * EXPORTING * vtask = 'D' * commit_flg = 'X' * authy = space * TABLES * del_objects = lt_del_objects * EXCEPTIONS * error_during_delete = 1 * no_authorization = 2 * corr_exit = 3 * buffer_upd_with_foreign_data = 4 * OTHERS = 5.

RH_DELETE_OBJECT * CALL FUNCTION 'RH_DELETE_OBJECT' * EXPORTING * vtask = 'D' * commit_flg = 'X' * authy = space * TABLES * del_objects = lt_del_objects * EXCEPTIONS * error_during_delete = 1 * no_authorization = 2 * corr_exit = 3 * buffer_upd_with_foreign_data = 4 * OTHERS = 5.



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