SAP Reports / Programs | Personnel Management | Organizational Structure | Staffing(PA-OS-ST) SAP PA

RHSCRP20 SAP ABAP Report - Job and Position Description







RHSCRP20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RHSCRP20 outputs a description of all jobs and positions according to the specified selection criteria...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RHSCRP20 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 RHSCRP20. "Basic submit
SUBMIT RHSCRP20 AND RETURN. "Return to original report after report execution complete
SUBMIT RHSCRP20 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SVECT = Status Vector
Selection Text: P_UEB = Super- and Subordination
Selection Text: P_STV = Substitute
Selection Text: P_STEL = Describing Job
Selection Text: P_ORG = Organizational Assignment
Selection Text: P_NACH = Successor
Selection Text: P_KOST = Cost Center Assignment
Selection Text: P_INH = Holder
Selection Text: P_DESC = Desc
Selection Text: P_AUF = Task Profile
Selection Text: P_ARB = Corresponding Work Center
Selection Text: P_ANF = Requirements Profile
Title: Job and Position Description
Text Symbol: GSM = Approved Hours per Month
Text Symbol: GSW = Approved Hourse per Week
Text Symbol: GSY = Approved Hours per Year
Text Symbol: MAN = Essntl Rqmt
Text Symbol: NDP = Successor for Position
Text Symbol: NOS = --> Nothing Was Selected
Text Symbol: OEI = Organizational Integration
Text Symbol: PLS = Position
Text Symbol: PRI = Priority
Text Symbol: PUS = Position Unoccupied Since:
Text Symbol: PVS = Position Vacant Since:
Text Symbol: RED = Obsol.from
Text Symbol: SDP = Substitute for Position
Text Symbol: SPA = Requirements Profile for Position
Text Symbol: UEB = Super-and Subordination
Text Symbol: GSD = Approved Hours per Day
Text Symbol: 001 = A Header
Text Symbol: 002 = Status Vector:
Text Symbol: 003 = Ty.
Text Symbol: 004 = Next Position
Text Symbol: 005 = Previous Position
Text Symbol: 006 = Next Job
Text Symbol: 007 = Previous Job
Text Symbol: 008 = Status
Text Symbol: 009 = Valid from





Text Symbol: 010 = Holder
Text Symbol: 011 = Staffing Percentage
Text Symbol: 012 = Plan Variant
Text Symbol: 013 = Evaluation Period:
Text Symbol: 014 = Desc.
Text Symbol: 015 = Cost Center
Text Symbol: 016 = Percentage Assignment
Text Symbol: 017 = Task Profile of Position
Text Symbol: 018 = Task Profile of Job
Text Symbol: 100 = Display Options
Text Symbol: 101 = Display Hidden Headers
Text Symbol: 104 = RequiremntsProfile
Text Symbol: 105 = Task Prfofile
Text Symbol: ARB = Corresponding Work Centr
Text Symbol: AUS = Proficien.
Text Symbol: BST = Decribing Job
Text Symbol: CLS = Job
Text Symbol: CPA = Requirements Profile for Job
Text Symbol: EXP = Exper.


INCLUDES used within this REPORT RHSCRP20

INCLUDE RHODAT00.
INCLUDE RHRDAT00.
INCLUDE MPHCOM00.
INCLUDE RHOINI00.
INCLUDE RHRINI00.


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_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' IMPORTING OBJECT_KEY = SHOW_OBJID OBJECT_DATE = GSHOW ISTAT = SHOW OBJECT_KEY_FTEXT = KEY OBJECT_DATE_FTEXT = VAL ISTAT_FTEXT = STAT EXCEPTIONS OTHERS = 1.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = P1001-PLVAR OTYPE = P1001-SCLAS * OBJID = REALO = P1001-SOBID * ISTAT = ' ' BEGDA = P1001-BEGDA ENDDA = P1001-ENDDA * LANGU = SY-LANGU * OINTERVAL = 'X' * STORE = 'X' * CHECK_STRU_AUTH = 'X' * READ_DB = ' ' IMPORTING * obeg = * oend = * ostat = * histo = SHORT = TEXT_TAB-SHORT STEXT = TEXT_TAB-STEXT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' EXPORTING CHANGE_ISTAT = 'X' IMPORTING ISTAT = SHOW ISTAT_FTEXT = STAT EXCEPTIONS OTHERS = 1.

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' EXPORTING CHANGE_OBJECT_DATE = 'X' IMPORTING OBJECT_DATE = GSHOW OBJECT_DATE_FTEXT = VAL EXCEPTIONS OTHERS = 1.

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' EXPORTING CHANGE_OBJECT_KEY = 'X' IMPORTING OBJECT_KEY = SHOW_OBJID OBJECT_KEY_FTEXT = KEY EXCEPTIONS OTHERS = 1.

RH_READ_INFTY_TABDATA CALL FUNCTION 'RH_READ_INFTY_TABDATA' EXPORTING INFTY = '1002' * DBMODE = ' ' TABLES INNNN = P1002_TEXT HRTNNNN = P1002_OUT EXCEPTIONS NO_TABLE_INFTY = 01 INNNN_EMPTY = 02 NOTHING_FOUND = 03.

RH_GET_TABDATA_FROM_ITAB





CALL FUNCTION 'RH_GET_TABDATA_FROM_ITAB' EXPORTING TABNR = P1002-TABNR TABLES HRTNNNN = P1002_OUT PTNNNN = P1002_DOKU EXCEPTIONS NOTHING_FOUND = 01.

RHPP_R_PROFILE_READ CALL FUNCTION 'RHPP_R_PROFILE_READ' EXPORTING BEGDA = PC-OBEG ENDDA = PC-OEND * WITH_STEXT = 'X' * WITH_QK_INFO = 'X' TABLES OBJECTS = OBJIDS * ERR_OBJECTS = PROFILE = H_PROF EXCEPTIONS NO_AUTHORITY = 0 WRONG_OTYPE = 0 OBJECT_NOT_FOUND = 0 UNDEFINED = 0 OTHERS = 0.

RH_CHECK_FOR_REDUNDANCY CALL FUNCTION 'RH_CHECK_FOR_REDUNDANCY' EXPORTING CR_PLVAR = OBJEC_TAB-PLVAR CR_OTYPE = OBJEC_TAB-OTYPE CR_OBJID = OBJEC_TAB-OBJID CR_ISTAT = OBJEC_TAB-ISTAT CR_BEGDA = LOW_DATE CR_ENDDA = HIGH_DATE IMPORTING CR_REDUN_DATE = CR_REDUN_DATE CR_SUBRC = CR_SUBRC.

RH_GET_VACANCY CALL FUNCTION 'RH_GET_VACANCY' EXPORTING VAC_PLVAR = OBJEC_TAB-PLVAR VAC_OTYPE = OBJEC_TAB-OTYPE VAC_OBJID = OBJEC_TAB-OBJID VAC_ISTAT = OBJEC_TAB-ISTAT VAC_BEGDA = PCHBEGDA VAC_ENDDA = PCHENDDA IMPORTING VAC_SUBRC = SUBRC HOLDER_ENDDA = HOLDER_ENDDA VACANCY_BEGDA = VACANCY_BEGDA.

RH_OTYPE_COLOR CALL FUNCTION 'RH_OTYPE_COLOR' EXPORTING OTYPE = O_TYPE IMPORTING COLOR = MY_COLOR INTENSIV = MY_INTENSIV EXCEPTIONS OTHERS = 1.



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