SAP Reports / Programs | Personnel Management | Personnel Cost Planning and Simulation(PA-CP) SAP PA

RHHCP_PLAN_CREATE_RUNADM SAP ABAP INCLUDE - Include RHHCP_PLAN_CREATE_RUNADM: Run Administration Routines







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


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 RHHCP_PLAN_CREATE_RUNADM. "Basic submit
SUBMIT RHHCP_PLAN_CREATE_RUNADM AND RETURN. "Return to original report after report execution complete
SUBMIT RHHCP_PLAN_CREATE_RUNADM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include RHHCP_PLAN_CREATE_RUNADM: Run Administration Routines


INCLUDES used within this REPORT RHHCP_PLAN_CREATE_RUNADM

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:

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.



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