P2IN_GRY SAP (Payroll structure for Gratuity) Table details

Dictionary Type: Table
Description: Payroll structure for Gratuity




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




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

P2IN_GRY is a standard SAP Table which is used to store Payroll structure for Gratuity data and is available within R/3 SAP systems depending on the version and release level.

The P2IN_GRY table consists of various fields, each holding specific information or linking keys about Payroll structure for Gratuity 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_GRY 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
DCT_PERNRPersonnel Number P_PERNRNUMC8PERNR
DCT_SEQNRSequence Number CDSEQNUMC5HRPY_RGDIRNUM5
DCT_ROWIDUnique Row Number HRDCT_ROWIDNUMC5HRDCT_ROWID
APZNRPC205 assignment APZNRRAW1PRSPL
CNTR1SI split CNTR1RAW1RAW1
BEGDAStart Date BEGDADATS8DATUM
ENDDAEnd Date ENDDADATS8DATUM
ALGRPPay scale grouping for allowances PIN_ALGRPCHAR4CHAR4
ICNUMIC number ICNUMCHAR20ICNUM
GRCTRGratuity contribution PIN_GRCTRDEC5(2) PIN_DEC02
BSSWTBasis Wage Type PIN_BSSWTCHAR4Assigned to domainLGART
GRAIDGratuity Trust ID PIN_GRAIDCHAR4CHAR4
MONWTMonthly Wagetype PIN_MONWTCHAR4Assigned to domainLGART
ANNWTAnnual Wagetype PIN_ANNWTCHAR4Assigned to domainLGART
PROWTProvisional WT PIN_PROWTCHAR4Assigned to domainLGART
AMCTRMonth/Period of Contribution PIN_AMCTRCHAR1PIN_AMCTR
CTRTYFrequency of contribution PIN_CTRTYCHAR1PIN_CTRTY

Key field Non-key field



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

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

SELECT SINGLE *
FROM P2IN_GRY
INTO CORRESPONDING FIELDS OF WA_P2IN_GRY
WHERE...

How to access SAP table P2IN_GRY

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