SAP Reports / Programs | Basis Components | Business Management | Organizational Management(BC-BMT-OM) SAP BC

RHWFORG0 SAP ABAP dialog Program - Program for Object Type PDOTYPE_O: Organizational Unit







RHWFORG0 is a standard Module pool for a dialog screen ABAP Program 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 RHWFORG0 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 RHWFORG0. "Basic submit
SUBMIT RHWFORG0 AND RETURN. "Return to original report after report execution complete
SUBMIT RHWFORG0 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 PDOTYPE_O: Organizational Unit


INCLUDES used within this REPORT RHWFORG0

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_GET_NEXT_NUMBER CALL FUNCTION 'RH_GET_NEXT_NUMBER' EXPORTING EXT_NUMBER = I_P1000-OBJID OTYPE = I_P1000-OTYPE PLVAR = I_P1000-PLVAR IMPORTING NUMBER = I_P1000-OBJID EXCEPTIONS INVALID_ACTION = 1 NUMBER_MUST_BE_ZERO = 2 INVALID_OBJECT = 3 NO_EXTERNAL_INTERVAL_FOUND = 4 NO_INTERNAL_INTERVAL_FOUND = 5 INVALID_NUMBER = 6 NO_MORE_NUMBERS_AVAILABLE = 7 OTHERS = 8.

RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING VTASK = 'D' TABLES INNNN = I_PNNNN 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 = 'D' TABLES INNNN = I_P1001 EXCEPTIONS NO_AUTHORIZATION = 1 ERROR_DURING_INSERT = 2 REPID_FORM_INITIAL = 3 CORR_EXIT = 4 BEGDA_GREATER_ENDDA = 5 OTHERS = 6.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING ACT_PLVAR = SPLVAR EXCEPTIONS NO_ACTIVE_PLVAR = 1.

RH_INSERT_OBJECTS CALL FUNCTION 'RH_INSERT_OBJECTS' EXPORTING NO_SCREEN = ' ' PISTAT = '1' SHOW_RELATION = 'X' RELATION_USE_PNNNN = 'X' REL = 'A002' SSHORT = SSHORT SISTAT = '1' SOBJID = SOBJID SOTYPE = $ORGUNIT SPLVAR = SPLVAR IISTAT = '1' OTYPE = $ORGUNIT SENDDA = SENDDA SBEGDA = SBEGDA SSTEXT = SSTEXT EXCEPTIONS NO_AUTHORIZATION = 1001 ERROR_DURING_INSERT = 1002 NOT_FOUND = 1003 OTYPE_ERROR = 1004 OTHERS = 01.

RH_CREATE_POSITIONS CALL FUNCTION 'RH_CREATE_POSITIONS' EXPORTING ACT_ORG_OBJID = SOBJID ACT_PLVAR = SPLVAR ACT_BEGDA = SBEGDA ACT_ENDDA = SENDDA ACT_ISTAT = SISTAT EXCEPTIONS ORG_UNIT_NOT_VALID = 1 STATUS_CONFLICT = 2 OTHERS = 3.

RH_POSITION_PLAN_SHOW CALL FUNCTION 'RH_POSITION_PLAN_SHOW' EXPORTING ACT_PLVAR = PLVAR ACT_OTYPE = $ORGUNIT ACT_OBJID = OBJID ACT_BEGDA = BEGDA ACT_ENDDA = ENDDA ACT_ISTAT = ISTAT ACT_MAINT = 'X' EXCEPTIONS ORG_UNIT_NOT_VALID = 1 PLVAR_NOT_FOUND = 2 WEGID_NOT_FOUND = 3 STRUCTURE_ERROR = 4 OTHERS = 5.

RH_POS_PLAN_ORG_STRU_SHOW CALL FUNCTION 'RH_POS_PLAN_ORG_STRU_SHOW' EXPORTING ACT_PLVAR = PLVAR ACT_OTYPE = $ORGUNIT ACT_OBJID = OBJID ACT_BEGDA = BEGDA ACT_ENDDA = ENDDA ACT_ISTAT = ISTAT ACT_MAINT = 'X' EXCEPTIONS ORG_UNIT_NOT_VALID = 1 PLVAR_NOT_FOUND = 2 WEGID_NOT_FOUND = 3 STRUCTURE_ERROR = 4 OTHERS = 5.

RH_ASK_FOR_NEW_DESCRIPTION CALL FUNCTION 'RH_ASK_FOR_NEW_DESCRIPTION' IMPORTING ACT_STEXT = STEXT.

RH_GET_ASSIGNED_OBJECTS CALL FUNCTION 'RH_GET_ASSIGNED_OBJECTS' EXPORTING PLVAR = PLVAR OTYPE = $ORGUNIT OBJID = OBJID SBEGD = BEGDA SENDD = ENDDA ACTIV = ISTAT TDEPTH = 2 TABLES ASSIGNED_OBJECTS = HELPORGS.



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