FOPC_STR_PCORC_CHECK 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 FOPC_STR_PCORC_CHECK into the relevant SAP transactions such as SE38 or SE80
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.
Title: Report for Checking and Correcting Consistency of the P-CO-R-C
Text Symbol: 001 = Object is not assigned to a process
Text Symbol: 004 = Risk and control belong to different central processes:
Text Symbol: 009 = Invalid Time Relationship:
Text Symbol: 013 = Outside of Higher-Level Timeframe
Text Symbol: 014 = P-CO-R-C Check Program
Text Symbol: 015 = No relationship to process
Text Symbol: 016 = Validity period of lower-level object is not within thresholds
Text Symbol: 017 = Validity period of relationship is not within thresholds
Text Symbol: 018 = Control objective for relationship HRP1810 does not agree with actual control objective for risk
Text Symbol: 019 = Control type does not agree with control objective category
Text Symbol: 020 = Risk and control relate to different processes
Text Symbol: 021 = Invalid relationship between risk and control
Text Symbol: 022 = Correct Selected Data Records
Text Symbol: 023 = Correct
Text Symbol: 024 = No relationship to central process
Text Symbol: 025 = No relationship to control objective
Text Symbol: 026 = No relationship to local process
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'fopc_ui_pcorc_result' CHANGING ct_fieldcat = lt_fieldcatalog EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = '*' plvar = _s_input-plvar otype = c_central_process no_dialog = 'X' orgbeg = _s_input-begda orgend = _s_input-endda TABLES sel_objects = lt_process EXCEPTIONS nothing_found = 1 OTHERS = 4.
RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype =
-otype act_objid = -objid act_wegid = _path act_int_flag = abap_true act_plvar = _s_input-plvar act_begda = _s_input-begda act_endda = _s_input-endda act_tflag = space authority_check = space TABLES result_struc = lt_struc EXCEPTIONS no_entry_found = 1 OTHERS = 3.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING authority = space with_stru_auth = space plvar = _s_input-plvar otype = l_otype objid = l_objid infty = '1000' TABLES innnn = lt_1000 EXCEPTIONS nothing_found = 1 OTHERS = 6.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = _s_input-plvar otype = ls_tree-otype objid = ls_tree-objid begda = _s_input-begda endda = _s_input-endda check_stru_auth = space read_db = 'X' IMPORTING obeg = ls_tree-begda oend = ls_tree-endda stext = ls_tree-stext EXCEPTIONS not_found = 1 OTHERS = 2.
RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = '*' plvar = _s_input-plvar otype = i_otype no_dialog = 'X' orgbeg = _s_input-begda orgend = _s_input-endda TABLES sel_objects = lt_object EXCEPTIONS nothing_found = 1 OTHERS = 4.
RH_STRUC_GET call function 'RH_STRUC_GET' exporting act_otype =
-otype act_objid = -objid act_wegid = 'MC_MP1O' act_plvar = _s_input-plvar act_begda = _s_input-begda act_endda = _s_input-endda act_tflag = 'X' tables result_struc = lt_struc exceptions no_plvar_found = 1 no_entry_found = 2 others = 3.
RH_STRUC_GET call function 'RH_STRUC_GET' exporting act_otype = ls_org_unit-otype act_objid = ls_org_unit-objid act_wegid = 'MC_OM1MP' act_plvar = _s_input-plvar act_begda = _s_input-begda act_endda = _s_input-endda act_tflag = 'X' tables result_struc = lt_struc exceptions no_plvar_found = 1 no_entry_found = 2 others = 3.
PATH_BUILD CALL FUNCTION 'PATH_BUILD' IMPORTING path_id = _path TABLES 77aw = _t_weg.
PATH_DELETE CALL FUNCTION 'PATH_DELETE' EXPORTING path_id = _path.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING authority = space with_stru_auth = space plvar = _s_input-plvar otype = c_risk objid =
-risk_id infty = '1000' TABLES innnn = lt_1000 EXCEPTIONS nothing_found = 1 OTHERS = 6.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING authority = space with_stru_auth = space plvar = _s_input-plvar otype =
-otype objid = -objid infty = '1000' TABLES innnn = lt_1000 EXCEPTIONS nothing_found = 1 OTHERS = 6.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING authority = space with_stru_auth = space plvar = _s_input-plvar infty = '1810' begda = _s_input-begda endda = _s_input-endda TABLES innnn = _t_1810 EXCEPTIONS nothing_found = 1 OTHERS = 6.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING authority = space with_stru_auth = space plvar = _s_input-plvar infty = '1805' begda = _s_input-begda endda = _s_input-endda TABLES innnn = _t_1805 EXCEPTIONS nothing_found = 1 OTHERS = 6.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING plvar = '01' otype =
-otype objid = -objid begda = -rela_endda endda = -rela_begda infty = '1810' TABLES innnn = lt_1810 EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING plvar = '01' otype =
-otype objid = -objid begda = -rela_endda endda = -rela_begda infty = '1810' TABLES innnn = lt_1810 EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING plvar = '01' otype =
-otype objid = -objid begda = -rela_endda endda = -rela_begda infty = '1001' TABLES innnn = lt_1001 EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING plvar = '01' otype =
-otype objid = -objid begda = -rela_endda endda = -rela_begda infty = '1001' TABLES innnn = lt_1001 EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.
CALL FUNCTION 'RH_READ_INFTY' EXPORTING plvar = '01' otype =-otype objid = -objid begda = -begda endda = -endda infty = '1000' TABLES innnn = lt_1000 EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.
RH_CUT_OBJECT CALL FUNCTION 'RH_CUT_OBJECT' EXPORTING gdate =
-endda_corr histo = 'X' gstat = '1' vtask = 'D' commit_flg = 'X' authy = space cut_dependents = 'X' TABLES i1000 = lt_1000 EXCEPTIONS error_during_cut = 1 no_authorization = 2 gdate_before_begda = 3 corr_exit = 4 OTHERS = 5.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING plvar = '01' otype =
-otype objid = -objid begda = -endda endda = -begda infty = '1000' TABLES innnn = lt_1000 EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING plvar = '01' otype =
-parent_otype objid = -parent_objid begda = -parent_begda endda = -parent_endda infty = '1000' TABLES innnn = lt_1000 EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.
RH_CUT_OBJECT CALL FUNCTION 'RH_CUT_OBJECT' EXPORTING gdate =
-parent_endda_corr histo = 'X' gstat = '1' vtask = 'D' commit_flg = 'X' authy = space cut_dependents = 'X' TABLES i1000 = lt_1000 EXCEPTIONS error_during_cut = 1 no_authorization = 2 gdate_before_begda = 3 corr_exit = 4 OTHERS = 5.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING plvar = '01' otype =
-parent_otype objid = -parent_objid begda = -parent_endda endda = -parent_begda infty = '1000' TABLES innnn = lt_1000 EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.
RH_DELETE_INFTY_DIRECT CALL FUNCTION 'RH_DELETE_INFTY_DIRECT' EXPORTING vtask = 'B' commit_flg = ' ' authy = ' ' TABLES innnn = lt_1000_delete EXCEPTIONS no_authorization = 1 error_during_delete = 2 corr_exit = 3 OTHERS = 4.
RH_DELETE_INFTY CALL FUNCTION 'RH_DELETE_INFTY' EXPORTING vtask = 'B' commit_flg = ' ' authy = ' ' TABLES innnn = lt_1001_delete EXCEPTIONS no_authorization = 1 error_during_delete = 2 corr_exit = 3 OTHERS = 4.
RH_DELETE_INFTY_DIRECT CALL FUNCTION 'RH_DELETE_INFTY_DIRECT' EXPORTING vtask = 'B' commit_flg = ' ' authy = ' ' TABLES innnn = lt_1810_delete EXCEPTIONS no_authorization = 1 error_during_delete = 2 corr_exit = 3 OTHERS = 4.
RH_INSERT_INFTY_DIRECT CALL FUNCTION 'RH_INSERT_INFTY_DIRECT' EXPORTING vtask = 'B' commit_flg = ' ' authy = ' ' TABLES innnn = lt_1000_insert EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.
RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING vtask = 'B' commit_flg = ' ' authy = ' ' TABLES innnn = lt_1001_insert EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.
RH_INSERT_INFTY_DIRECT CALL FUNCTION 'RH_INSERT_INFTY_DIRECT' EXPORTING vtask = 'B' commit_flg = ' ' authy = ' ' TABLES innnn = lt_1810_insert EXCEPTIONS no_authorization = 1 error_during_insert = 2 corr_exit = 3 OTHERS = 4.
RH_UPDATE_DATABASE CALL FUNCTION 'RH_UPDATE_DATABASE' EXPORTING vtask = 'D' EXCEPTIONS corr_exit = 1 OTHERS = 2.
RH_GET_PLVAR CALL FUNCTION 'RH_GET_PLVAR' IMPORTING plvar = fopc_ui_pcorc_input-plvar EXCEPTIONS OTHERS = 2.
DOC_OBJECT_GET CALL FUNCTION 'DOC_OBJECT_GET' EXPORTING class = 'RE' name = 'FOPC_STR_PCORC_CHECK' short_text = 'X' appendix = 'X' IMPORTING header = header TABLES itf_lines = longtext EXCEPTIONS object_not_found = 1.
HELP_DOCULINES_SHOW CALL FUNCTION 'HELP_DOCULINES_SHOW' EXPORTING cucol = 10 curow = 3 help_infos = helpinfo overlay_header = header TABLES excludefun = excludefun helplines = longtext.
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 FOPC_STR_PCORC_CHECK or its description.
FOPC_STR_PCORC_CHECK - Report for Checking and Correcting Consistency of the P-CO-R-C FOPC_STR_PCORC_CHECK - Report for Checking and Correcting Consistency of the P-CO-R-C FOPC_SOD_CHECK - Check Segregation of Duties FOPC_SOD_CHECK - Check Segregation of Duties FOPC_SIGNOFF_PREPARATION - Prepare Sign-Off FOPC_SIGNOFF_PREPARATION - Prepare Sign-Off