SAP Reports / Programs

RHBORORGUNIT SAP ABAP Report - Program for object type ORGUNITEXT: Extend. org. unit







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


Text pool values


Title: Program for object type ORGUNITEXT: Extend. org. unit


INCLUDES used within this REPORT RHBORORGUNIT

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_HEADCOUNTBUDGET_GET CALL FUNCTION 'RH_HEADCOUNTBUDGET_GET' EXPORTING ACT_ISTAT = ACTISTAT ACT_ENDDA = ACTENDDA ACT_BEGDA = ACTBEGDA ACT_ORGUNIT = ACTORGUNIT ACT_PLVAR = ACTPLVAR TABLES HEADCOUNT_BUDGET = HEADCOUNTBUDGET EXCEPTIONS NO_ACTIVE_PLVAR = 1001 OTHERS = 01.

RH_EDIT_HEADCOUNT_PLAN CALL FUNCTION 'RH_EDIT_HEADCOUNT_PLAN' EXPORTING ACT_PLVAR = ACTPLVAR ACT_ORGUNIT = ACTORGUNIT ACT_ISTAT = ACTISTAT ACT_PLAN_STATE = ACTPLANSTATE CHANGE_MODE = 'X' EXCEPTIONS NO_ACTIVE_PLVAR = 1 ORGUNIT_NOT_VALID = 2 NO_POSITION_FOUND = 3 OTHERS = 4.

RH_COPY_HEADCOUNT_PLAN CALL FUNCTION 'RH_COPY_HEADCOUNT_PLAN' EXPORTING ACT_PLVAR = ACTPLVAR ACT_ORGUNIT = ACTORGUNIT ACT_ISTAT = ACTISTAT ACT_BEGDA = ACTBEGDA ACT_ENDDA = ACTENDDA ACT_SCR_PLAN_STATE = ACTPLANSTATE ACT_TGT_PLAN_STATE = ACTTARGETSTATE EXCEPTIONS COPY_ERROR_WHILE_SAVE = 1 NO_HEAD_COUNT_PLANING_FOUND = 2 SCR_PLAN_STATE_NOT_OK = 3 TGT_PLAN_STATE_NOT_OK = 4 SAME_STATE_NOT_ALLOWED = 5 OTHERS = 6.

RH_GENERATE_FROM_HEADCT_PLAN CALL FUNCTION 'RH_GENERATE_FROM_HEADCT_PLAN' EXPORTING ACT_PLVAR = ACTPLVAR ACT_ORGUNIT = ACTORGUNIT ACT_ISTAT = ACTISTAT ACT_PLAN_STATE = ACTPLANSTATE EXCEPTIONS NO_ACTIVE_PLVAR = 1 ORGUNIT_NOT_VALID = 2 PLAN_STATE_NOT_OK = 3 NO_HEAD_COUNT_PLAN_FOUND = 4 ORGUNIT_LOCKED = 5 OTHERS = 6.

RH_GET_ACTUAL_PLANSTATE CALL FUNCTION 'RH_GET_ACTUAL_PLANSTATE' IMPORTING PLANSTATE = ACTPLANSTATE TIME_INT = ACTTIMEINT BEGDA = ACTBEGDA ENDDA = ACTENDDA EXCEPTIONS NO_ACTUAL_PLANSTATE = 1 OTHERS = 2.

RH_GET_PLANSTATE_ATTRIBUTES CALL FUNCTION 'RH_GET_PLANSTATE_ATTRIBUTES' EXPORTING ACT_PLAN_STATE = ACTPLANSTATE IMPORTING TIME_INT = ACTTIMEINT BEGDA = ACTBEGDA ENDDA = ACTENDDA ACTUAL = ACTACTUAL EXCEPTIONS PLANSTATE_NOT_VALID = 1 OTHERS = 2.

RH_GET_ACTUAL_PLANSTATE CALL FUNCTION 'RH_GET_ACTUAL_PLANSTATE' IMPORTING PLANSTATE = PLANSTATE * TIME_INT = * BEGDA = * ENDDA = EXCEPTIONS NO_ACTUAL_PLANSTATE = 1 OTHERS = 2.

BAPI_ORGUNITEXT_DATA_GET CALL FUNCTION 'BAPI_ORGUNITEXT_DATA_GET' EXPORTING EVALDEPTH = EVALDEPTH EVALPATH = EVALPATH SCENARIO = SCENARIO KEYDATE = KEYDATE PLVAR = OBJECT-KEY-PLVAR OTYPE = OTYPE OBJID = OBJECT-KEY-OBJID IMPORTING RETURN = RETURN TABLES FIELDDATA = FIELDDATA FIELDCATALOGUE = FIELDCATALOGUE OBJECTSDATA = OBJECTSDATA STRUCTURALDATA = STRUCTURALDATA ACTORTAB = ACTORTAB EXCEPTIONS OTHERS = 01.



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