P0156 SAP (HR master record, infotype P0001 (Org.assignment)) Structure details
Description: HR master record, infotype P0001 (Org.assignment)
Structure field list including key, data, relationships and ABAP select examples
P0156 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 P0001 (Org.assignment)" 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_P0156 TYPE P0156.
The P0156 table consists of various fields, each holding specific information or linking keys about HR master record, infotype P0001 (Org.assignment) 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 P0156 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 |
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
INFTY | Infotype | INFTY | CHAR | 4 | T582A | INFOTYP | ITP | ||
SUBTY | Subtype | SUBTY | CHAR | 4 | SUBTY | SUB | |||
OBJPS | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
SPRPS | Lock Indicator for HR Master Data Record | SPRPS | CHAR | 1 | SPRPS | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
SEQNR | Number of Infotype Record with Same Key | SEQNR | NUMC | 3 | NUM03 | ||||
AEDTM | Changed On | AEDAT | DATS | 8 | DATUM | ||||
UNAME | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
HISTO | Historical Record Flag | HISTO | CHAR | 1 | CHAR1 | ||||
ITXEX | Text Exists for Infotype | ITXEX | CHAR | 1 | XFELD | ||||
REFEX | Reference Fields Exist (Primary/Secondary Costs) | PRFEX | CHAR | 1 | XFELD | ||||
ORDEX | Confirmation Fields Exist | ORDEX | CHAR | 1 | XFELD | ||||
ITBLD | Infotype Screen Control | ITBLD | CHAR | 2 | CHAR2 | ||||
PREAS | Reason for Changing Master Data | PREAS | CHAR | 2 | T530E | PREAS | |||
FLAG1 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG2 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG3 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG4 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
RESE1 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
RESE2 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
GRPVL | Grouping Value for Personnel Assignments | PCCE_GPVAL | CHAR | 4 | PCCE_GPVAL | ||||
TPASI | IRPEF taxation type | P15_TPASI | NUMC | 2 | P15_TPASI | ||||
CDCOI | IRPEF contribution indicator | P15_CDCOI | CHAR | 5 | T5ITTS | P15_CDCOI | |||
CDDTR | Tax deduction indicator | P15_CDDTR | CHAR | 4 | T5ITDT | P15_CDDTR | |||
TPCM1 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUCA1 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRCO1 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRIC1 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPCM2 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUCA2 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRCO2 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRIC2 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPCM3 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUCA3 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRCO3 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRIC3 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPCM4 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUCA4 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRCO4 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRIC4 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPCM5 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUCA5 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRCO5 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRIC5 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPCM6 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUCA6 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRCO6 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRIC6 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPCM7 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUCA7 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRCO7 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRIC7 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPCM8 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUCA8 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRCO8 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRIC8 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPCM9 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUCA9 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRCO9 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRIC9 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPC10 | Family member type | P15_TPCOM | NUMC | 2 | T5ITDS | P15_TPCOM | |||
NUC10 | Number of family dependent | P15_NUCAR | NUMC | 2 | NUM02 | ||||
PRC10 | Deduction percentage for family member type | P15_PRCOM | DEC | 5(2) | P15_PERCE | ||||
XRI10 | Component request | P15_XRICH | CHAR | 1 | XFELD | ||||
TPDE1 | Deduction type | P15_TPDET | NUMC | 2 | Assigned to domain | P15_TPDET | |||
XRTD1 | Deduction type request | P15_XRTDE | CHAR | 1 | XFELD | ||||
TPDE2 | Deduction type | P15_TPDET | NUMC | 2 | Assigned to domain | P15_TPDET | |||
XRTD2 | Deduction type request | P15_XRTDE | CHAR | 1 | XFELD | ||||
TPDE3 | Deduction type | P15_TPDET | NUMC | 2 | Assigned to domain | P15_TPDET | |||
XRTD3 | Deduction type request | P15_XRTDE | CHAR | 1 | XFELD | ||||
TPDE4 | Deduction type | P15_TPDET | NUMC | 2 | Assigned to domain | P15_TPDET | |||
XRTD4 | Deduction type request | P15_XRTDE | CHAR | 1 | XFELD | ||||
TPDE5 | Deduction type | P15_TPDET | NUMC | 2 | Assigned to domain | P15_TPDET | |||
XRTD5 | Deduction type request | P15_XRTDE | CHAR | 1 | XFELD | ||||
TPON1 | Type of allowable expense | P15_TPONE | NUMC | 2 | Assigned to domain | P15_TPONE | |||
XROD1 | Deductible expenses request | P15_XRODE | CHAR | 1 | XFELD | ||||
TPON2 | Type of allowable expense | P15_TPONE | NUMC | 2 | Assigned to domain | P15_TPONE | |||
XROD2 | Deductible expenses request | P15_XRODE | CHAR | 1 | XFELD | ||||
TPON3 | Type of allowable expense | P15_TPONE | NUMC | 2 | Assigned to domain | P15_TPONE | |||
XROD3 | Deductible expenses request | P15_XRODE | CHAR | 1 | XFELD | ||||
TPON4 | Type of allowable expense | P15_TPONE | NUMC | 2 | Assigned to domain | P15_TPONE | |||
XROD4 | Deductible expenses request | P15_XRODE | CHAR | 1 | XFELD | ||||
TPON5 | Type of allowable expense | P15_TPONE | NUMC | 2 | Assigned to domain | P15_TPONE | |||
XROD5 | Deductible expenses request | P15_XRODE | CHAR | 1 | XFELD | ||||
CDALT | Other taxation indicator | P15_CDALT | CHAR | 4 | T5ITL1 | P15_CDALT | |||
CDTRE | Regional tax indicator | P15_CDTRE | CHAR | 5 | T5ITR5 | P15_CDTRE | |||
REGIO | Special status regions and districts | P15_REGIO | CHAR | 3 | T5ITNS | P15_REGIO | |||
PROVI | STATE (State, Province, County) | REGIO | CHAR | 3 | T005S | REGIO | |||
CDTPR | Provincial tax indicator | P15_CDTPR | CHAR | 5 | T5ITP5 | P15_CDTPR | |||
MUNIC | Municipality key | P15_MUNIC | CHAR | 8 | T5ITM4 | P15_MUNIC | |||
CDTMU | Municipal tax indicator | P15_CDTMU | CHAR | 6 | T5ITM5 | P15_CDTMU | |||
CDEDU | Deduction indicator | P15_CDEDU | CHAR | 1 | P15_CDEDU | ||||
DTMIN | Deduction minimum limit management request | P15_DTMIN | CHAR | 1 | XFELD | ||||
FDMIN | Min. Limit Deduction Management w/o request | P15_FDMIN | CHAR | 1 | XFELD | ||||
RDTSS | Withdrawal to Overtime Detaxation | P15_RDTSS | CHAR | 1 | XFELD | ||||
APAIM | Application of a Higher Tax Rate for Income Tax on Soc. Ins. | P15_APAIM | DEC | 7(4) | P15_PRCDP | ||||
UDEFA | Percentage for further large family deductions | P15_UDEDFA | DEC | 5(2) | P15_PERCE |
Key field | Non-key field |
How do I retrieve data from SAP structure P0156 using ABAP code?
As P0156 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 P0156 as there is no data to select.How to access SAP table P0156
Within an ECC or HANA version of SAP you can also view further information about P0156 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects