P2IN_PET SAP (Payroll structure for previous employment tax details) Table details
Dictionary Type: Table
Description: Payroll structure for previous employment tax details
Description: Payroll structure for previous employment tax details
Table field list including key, data, relationships and ABAP select examples
P2IN_PET is a standard SAP Table which is used to store Payroll structure for previous employment tax details data and is available within R/3 SAP systems depending on the version and release level.
The P2IN_PET table consists of various fields, each holding specific information or linking keys about Payroll structure for previous employment tax details data available in SAP. These include MANDT (Client), DCT_PERNR (Personnel Number), DCT_SEQNR (Sequence Number), DCT_ROWID (Unique Row Number).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP P2IN_PET table 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
DCT_PERNR | Personnel Number | P_PERNR | NUMC | 8 | PERNR | ||||
DCT_SEQNR | Sequence Number | CDSEQ | NUMC | 5 | HRPY_RGDIR | NUM5 | |||
DCT_ROWID | Unique Row Number | HRDCT_ROWID | NUMC | 5 | HRDCT_ROWID | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
GRSAL | Previous employment gross salary | PIN_GRSAL | CURR | 9(2) | CURR9 | ||||
EXS10 | Exemptions under section 10 | PIN_EXS10 | CURR | 9(2) | CURR9 | ||||
PRTAX | Professional tax paid | PIN_PRTAX | CURR | 6(2) | CURR6 | ||||
PRFND | Employee's provident fund contribution | PIN_PRFND | CURR | 9(2) | CURR9 | ||||
TXDED | Income tax deducted | PIN_TXDED | CURR | 9(2) | CURR9 | ||||
MEDEX | Medical exemption availed so far | PIN_MEDEX | CURR | 9(2) | CURR9 | ||||
WAEHI | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
LTAEX | Number of LTA exemptions availed in the current block . | PIN_LTAEX | NUMC | 2 | NUMC02 | ||||
LTACF | Whether carried forward from the previous block of 4 years. | PIN_LTACF | CHAR | 1 | CHAR1 | ||||
LEAEX | Leave Encashment Exemption Amount | PIN_LEAEX | CURR | 9(2) | CURR9 | ||||
GRYEX | Gratuity Exemption Amount | PIN_GRYEX | CURR | 9(2) | CURR9 | ||||
VRSEX | Voluntary Retirement Scheme Exemption amount | PIN_VRSEX | CURR | 9(2) | CURR9 | ||||
VPRQS | Value of perquisites u/s 17(2) | PIN_VPRQS | CURR | 9(2) | CURR9 | ||||
PRSAL | Profits in lieu of salary u/s 17(3) | PIN_PRSAL | CURR | 9(2) | CURR9 | ||||
SCDED | Surcharge deducted | PIN_SCDED | CURR | 9(2) | CURR9 | ||||
ECDED | Education cess deducted | PIN_ECDED | CURR | 9(2) | CURR9 |
Key field | Non-key field |
How do I retrieve data from SAP table P2IN_PET using ABAP code
The following ABAP code Example will allow you to do a basic selection on P2IN_PET to SELECT all data from the tableDATA: WA_P2IN_PET TYPE P2IN_PET.
SELECT SINGLE *
FROM P2IN_PET
INTO CORRESPONDING FIELDS OF WA_P2IN_PET
WHERE...
How to access SAP table P2IN_PET
Within an ECC or HANA version of SAP you can also view further information about P2IN_PET 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