RHHCP_PLAN_CREATE_RUNADM is a standard ABAP INCLUDE 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 RHHCP_PLAN_CREATE_RUNADM 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: Include RHHCP_PLAN_CREATE_RUNADM: Run Administration Routines
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_HCP_CHECK_AUTHORITY CALL FUNCTION 'HR_HCP_CHECK_AUTHORITY' EXPORTING im_activity = c_activity EXCEPTIONS no_authority = 1 OTHERS = 2.
HR_HCP_RUN_CREATE CALL FUNCTION 'HR_HCP_RUN_CREATE' EXPORTING im_plvar = p_plvar im_plan = p_plan im_name = p_name im_program = l_program IMPORTING ex_runid = p_runid.
HR_EVAL_STATUS_SET CALL FUNCTION 'HR_EVAL_STATUS_SET' EXPORTING type = c_runtype runid = p_runid status = '10' lock = space unlock = space.
HR_HCP_RUN_ENQUEUE CALL FUNCTION 'HR_HCP_RUN_ENQUEUE' EXPORTING im_runid = p_runid EXCEPTIONS enqueue_failed = 1 OTHERS = 2.
HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRHCP00_RESP_OBJECTS' IMPORTING is_implemented = l_sw_badi_impl CHANGING instance = l_badi_instance.
HR_EVAL_STATUS_SET CALL FUNCTION 'HR_EVAL_STATUS_SET' EXPORTING type = c_runtype runid = p_runid status = '91' "deleted lock = space unlock = space.
HR_HCP_RUN_DEQUEUE CALL FUNCTION 'HR_HCP_RUN_DEQUEUE' EXPORTING im_runid = p_runid.
HR_EVAL_STATUS_SET * CALL FUNCTION 'HR_EVAL_STATUS_SET' * EXPORTING * type = c_runtype * runid = p_runid * status = '91' "deleted * lock = space * unlock = space.
HR_HCP_RUN_DEQUEUE * CALL FUNCTION 'HR_HCP_RUN_DEQUEUE' * EXPORTING * im_runid = p_runid * .
HR_EVAL_ATTR_SET CALL FUNCTION 'HR_EVAL_ATTR_SET' EXPORTING type = c_runtype runid = p_runid attr = 'ORGUNIT' id = l_count value = l_attrvalue.
HR_EVAL_ATTR_SET CALL FUNCTION 'HR_EVAL_ATTR_SET' EXPORTING type = c_runtype runid = p_runid attr = p_attr value = p_value.
HR_EVAL_STATUS_SET CALL FUNCTION 'HR_EVAL_STATUS_SET' EXPORTING type = c_runtype runid = p_runid status = '31' lock = space unlock = space.
HR_HCP_RUN_DEQUEUE CALL FUNCTION 'HR_HCP_RUN_DEQUEUE' EXPORTING im_runid = p_runid.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RHHCP_PLAN_CREATE_RUNADM - Include RHHCP_PLAN_CREATE_RUNADM: Run Administration Routines RHHCP_PLAN_CREATE_PR_SERVICE - RHHCPPLANCREATEPRSERVICE RHHCP_PLAN_CREATE_PR_POSITION - RHHCPPLANCREATEPRPOSITION RHHCP_PLAN_CREATE_PR_OTHERS - RHHCPPLANCREATEPROTHERS RHHCP_PLAN_CREATE_PR_EMPL - RHHCPPLANCREATEPREMPL RHHCP_PLAN_CREATE_PROC - RHHCPPLANCREATEPROC