P0157 SAP (HR Master Record: Infotype 0157 (User administr. data)) Structure details

Dictionary Type: Structure
Description: HR Master Record: Infotype 0157 (User administr. data)




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




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

P0157 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 0157 (User administr. data)" 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_P0157 TYPE P0157.

The P0157 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0157 (User administr. data) 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 P0157 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
DATO1Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDDA1Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DATO2Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDDA2Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DATO3Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDDA3Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DATO4Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDDA4Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DATO5Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDDA5Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DATO6Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDDA6Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DATO7Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDDA7Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DATO8Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDDA8Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DATO9Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDDA9Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT10Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD10Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT11Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD11Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT12Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD12Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT13Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD13Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT14Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD14Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT15Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD15Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT16Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD16Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT17Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD17Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT18Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD18Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT19Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD19Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT20Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD20Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT21Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD21Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT22Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD22Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT23Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD23Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT24Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD24Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT25Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD25Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT26Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD26Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT27Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD27Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT28Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD28Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT29Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD29Data P15_CDDATNUMC6Assigned to domainP15_CDDAT
DAT30Data for user administrative fields P15_CD157CHAR6Assigned to domainP15_CD157
CDD30Data P15_CDDATNUMC6Assigned to domainP15_CDDAT

Key field Non-key field



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

As P0157 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 P0157 as there is no data to select.

How to access SAP table P0157

Within an ECC or HANA version of SAP you can also view further information about P0157 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!