P0158 SAP (HR Master Record: Infotype 0158 (amounts paid by 3rd party)) Structure details

Dictionary Type: Structure
Description: HR Master Record: Infotype 0158 (amounts paid by 3rd party)




ABAP Code to SELECT data from P0158
Related tables to P0158
Access table P0158




Structure field list including key, data, relationships and ABAP select examples

P0158 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "HR Master Record: Infotype 0158 (amounts paid by 3rd party)" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_P0158 TYPE P0158.

The P0158 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0158 (amounts paid by 3rd party) data available in SAP. These include PERNR (Personnel Number), INFTY (Infotype), SUBTY (Subtype), OBJPS (Object Identification).. 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. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP P0158 structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
INFTYInfotype INFTYCHAR4T582AINFOTYPITP
SUBTYSubtype SUBTYCHAR4SUBTYSUB
OBJPSObject Identification OBJPSCHAR2OBJPSOPS
SPRPSLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
ENDDAEnd Date ENDDADATS8DATUM
BEGDAStart Date BEGDADATS8DATUM
SEQNRNumber of Infotype Record with Same Key SEQNRNUMC3NUM03
AEDTMChanged On AEDATDATS8DATUM
UNAMEName of Person Who Changed Object AENAMCHAR12USNAM
HISTOHistorical Record Flag HISTOCHAR1CHAR1
ITXEXText Exists for Infotype ITXEXCHAR1XFELD
REFEXReference Fields Exist (Primary/Secondary Costs) PRFEXCHAR1XFELD
ORDEXConfirmation Fields Exist ORDEXCHAR1XFELD
ITBLDInfotype Screen Control ITBLDCHAR2CHAR2
PREASReason for Changing Master Data PREASCHAR2T530EPREAS
FLAG1Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG2Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG3Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG4Reserved Field/Unused Field NUSEDCHAR1NUSED
RESE1Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
RESE2Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
GRPVLGrouping Value for Personnel Assignments PCCE_GPVALCHAR4PCCE_GPVAL
KALJAHRYear stored KJAHRNUMC4GJAHRGJAHR
WTP01Wage Type LGARTCHAR4Assigned to domainLGART
AMT01Amount BETRGCURR9(2) WERTV5
NUM01Number ANZHLDEC7(2) ANZHL
RTE01Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP02Wage Type LGARTCHAR4Assigned to domainLGART
AMT02Amount BETRGCURR9(2) WERTV5
NUM02Number ANZHLDEC7(2) ANZHL
RTE02Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP03Wage Type LGARTCHAR4Assigned to domainLGART
AMT03Amount BETRGCURR9(2) WERTV5
NUM03Number ANZHLDEC7(2) ANZHL
RTE03Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP04Wage Type LGARTCHAR4Assigned to domainLGART
AMT04Amount BETRGCURR9(2) WERTV5
NUM04Number ANZHLDEC7(2) ANZHL
RTE04Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP05Wage Type LGARTCHAR4Assigned to domainLGART
AMT05Amount BETRGCURR9(2) WERTV5
NUM05Number ANZHLDEC7(2) ANZHL
RTE05Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP06Wage Type LGARTCHAR4Assigned to domainLGART
AMT06Amount BETRGCURR9(2) WERTV5
NUM06Number ANZHLDEC7(2) ANZHL
RTE06Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP07Wage Type LGARTCHAR4Assigned to domainLGART
AMT07Amount BETRGCURR9(2) WERTV5
NUM07Number ANZHLDEC7(2) ANZHL
RTE07Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP08Wage Type LGARTCHAR4Assigned to domainLGART
AMT08Amount BETRGCURR9(2) WERTV5
NUM08Number ANZHLDEC7(2) ANZHL
RTE08Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP09Wage Type LGARTCHAR4Assigned to domainLGART
AMT09Amount BETRGCURR9(2) WERTV5
NUM09Number ANZHLDEC7(2) ANZHL
RTE09Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP10Wage Type LGARTCHAR4Assigned to domainLGART
AMT10Amount BETRGCURR9(2) WERTV5
NUM10Number ANZHLDEC7(2) ANZHL
RTE10Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP11Wage Type LGARTCHAR4Assigned to domainLGART
AMT11Amount BETRGCURR9(2) WERTV5
NUM11Number ANZHLDEC7(2) ANZHL
RTE11Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP12Wage Type LGARTCHAR4Assigned to domainLGART
AMT12Amount BETRGCURR9(2) WERTV5
NUM12Number ANZHLDEC7(2) ANZHL
RTE12Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP13Wage Type LGARTCHAR4Assigned to domainLGART
AMT13Amount BETRGCURR9(2) WERTV5
NUM13Number ANZHLDEC7(2) ANZHL
RTE13Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP14Wage Type LGARTCHAR4Assigned to domainLGART
AMT14Amount BETRGCURR9(2) WERTV5
NUM14Number ANZHLDEC7(2) ANZHL
RTE14Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP15Wage Type LGARTCHAR4Assigned to domainLGART
AMT15Amount BETRGCURR9(2) WERTV5
NUM15Number ANZHLDEC7(2) ANZHL
RTE15Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP16Wage Type LGARTCHAR4Assigned to domainLGART
AMT16Amount BETRGCURR9(2) WERTV5
NUM16Number ANZHLDEC7(2) ANZHL
RTE16Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP17Wage Type LGARTCHAR4Assigned to domainLGART
AMT17Amount BETRGCURR9(2) WERTV5
NUM17Number ANZHLDEC7(2) ANZHL
RTE17Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP18Wage Type LGARTCHAR4Assigned to domainLGART
AMT18Amount BETRGCURR9(2) WERTV5
NUM18Number ANZHLDEC7(2) ANZHL
RTE18Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP19Wage Type LGARTCHAR4Assigned to domainLGART
AMT19Amount BETRGCURR9(2) WERTV5
NUM19Number ANZHLDEC7(2) ANZHL
RTE19Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
WTP20Wage Type LGARTCHAR4Assigned to domainLGART
AMT20Amount BETRGCURR9(2) WERTV5
NUM20Number ANZHLDEC7(2) ANZHL
RTE20Time/Measurement Unit PT_ZEINHCHAR3T538ARPMSH
ITWAECurrency Key for Italy PB15_WAERSCUKY5T500WWAERSFWS

Key field Non-key field



How do I retrieve data from SAP structure P0158 using ABAP code?

As P0158 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on P0158 as there is no data to select.

How to access SAP table P0158

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

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!