SAP PRHIS Standard WBS, Edges (Hierarchy pointers) Table data and field list

PRHIS is a standard SAP Table which is used to store Standard WBS, Edges (Hierarchy pointers) data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The PRHIS table consists of various fields, each holding specific information or linking keys about Standard WBS, Edges (Hierarchy pointers) data available in SAP. These include POSNR (Std WBS: Internal project item number (w/exit on ID)), PSPHI (Current number for standard project), UP (No. of the superior standard WBS element), DOWN (No. of the first subordinate standard WBS element)... See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

PRHIS table Technical Details:

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP PRHIS table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the PRHIS table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
POSNRStd WBS: Internal project item number (w/exit on ID) PS_SPSNRNUMC8PRPSSKONPTPS_SPSNR
PSPHICurrent number for standard project PS_ISPSPNUMC8PROJSKONPSPS_ISPSP
UPNo. of the superior standard WBS element PS_SHIUPNUMC8PRPSSKONPTPS_SPSNR
DOWNNo. of the first subordinate standard WBS element PS_SHIDONUMC8PRPSSKONPTPS_SPSNR
LEFTNo. of the left adjacent position in standard WBS PS_SHILENUMC8PRPSSKONPTPS_SPSNR
RIGHTNo. of the right adjacent position in standard WBS PS_SHIRENUMC8PRPSSKONPTPS_SPSNR

Key field Non-key field



How do I retrieve data from SAP table PRHIS using ABAP code

The following ABAP code Example will allow you to do a basic selection on PRHIS to SELECT all data from the table
DATA: WA_PRHIS TYPE PRHIS.

SELECT SINGLE *
FROM PRHIS
INTO CORRESPONDING FIELDS OF WA_PRHIS
WHERE...

How to access SAP table PRHIS

Within an ECC or HANA version of SAP you can also view further information about PRHIS and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).