P2RU_COSTS SAP (Distribution of Employer's Cost (Payroll Function XDEC)) Table details

Dictionary Type: Table
Description: Distribution of Employer's Cost (Payroll Function XDEC)




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




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

P2RU_COSTS is a standard SAP Table which is used to store Distribution of Employer's Cost (Payroll Function XDEC) data and is available within R/3 SAP systems depending on the version and release level.

The P2RU_COSTS table consists of various fields, each holding specific information or linking keys about Distribution of Employer's Cost (Payroll Function XDEC) 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 P2RU_COSTS 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
SRCWTXDEC: Cost Wage Type (source) P_99_DEC_CST_LGARTCHAR4Assigned to domainLGART
ETYPEXDEC: Entry Type P_99_DEC_CST_ETYPECHAR2P_99_DEC_CST_ETYPE
CTYPEXDEC: Costing Type (+ or -) P_99_DEC_CST_CTYPECHAR1P_99_DEC_CST_CTYPE
FRPERXDEC: For Pay Period (YYYYPP) P_99_DEC_CST_FRPERCHAR6CHAR6
INPERXDEC: In Pay Period (YYYYPP) P_99_DEC_CST_INPERCHAR6CHAR6
LGARTXDEC: Gross Wage Type (source) P_99_DEC_GRS_LGARTCHAR4Assigned to domainLGART
CSTGRXDEC: Cost Wage Type Grouping P_99_DEC_CST_CSTGRCHAR2Assigned to domainP_99_DEC_BASE_GRP
CSTWTXDEC: Costed Wage Type P_99_DEC_CST_CSTWTCHAR4Assigned to domainLGART
CSTTOXDEC: Total Amount Across Cost Grouping P_99_DEC_CST_CSTTOTCURR15(2) PRBETRG
CSTPEXDEC: Cost Distribution Percentage P_99_DEC_CST_CSTPERDEC5(2) DEC3_2
CSTAMXDEC: Costed Amount Across Cost Grouping P_99_DEC_CST_CSTAMTCURR15(2) PRBETRG
C0SEQXDEC: Sequence Number for C0 splits P_99_DEC_CST_C0SEQNRCHAR3SEQNR
C0KPRXDEC: Percentage for C0 splits P_99_DEC_CST_C0KPRNNDEC5(2) DEC3_2
C0BETXDEC: Amount for C0 splits P_99_DEC_CST_C0BETRGCURR15(2) PRBETRG
V0TYPVariable assignment type V0TYPCHAR1V0TYP
V0ZNRVariable assignment number V0ZNRRAW1RAW1
VINFOVariable Assignment Information VZINFCHAR20CHAR20
PERNRXDEC: Personnel Number P_99_DEC_CST_PERNRNUMC8PERNR
PRIMAXDEC: Main Personnel Number (X or Blank) P_99_DEC_CST_PRIMACHAR1XFELD
C1ZNRPointer to cost accounting C1ZNORAW2C1NUM
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
POSNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PRZNRBusiness Process CO_PRZNRCHAR12Assigned to domainALPHACO_PRZNRKWP
FISTLFunds Center FISTLCHAR16Assigned to domainFISTLFIS
FIPOSCommitment Item FIPOSCHAR14Assigned to domainFIPOSFIP
GEBERFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
LSTNRActivity Number ASNUMCHAR18Assigned to domainALPHAASNUMASN
LTLSTActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
SBUKRCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
SGSBRBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
SKOSTCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
LSTARActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
EXBELAssignment number HR_ZUONRCHAR18HR_ZUONR
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
OTYPEObject Type OTYPECHAR2Assigned to domainOTYPEPOT
STELLJob STELLNUMC8Assigned to domainSTELL
POHRSNumber of Hours for Activity Allocation/External Services POHRSDEC7(2) PTM_DEC5_2S
DARTService Type (Public Service Germany) DARTCHAR2Assigned to domainDARTDAR
UDARTService Category (Public Service Germany) UDARTCHAR2Assigned to domainUDARTUDA
SGTXTItem Text SGTXTCHAR50TEXT50
TXJCDTax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
FIPEXCommitment Item FM_FIPEXCHAR24Assigned to domainFM_FIPEXFPS
FKBERFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
SGEBERSender fund FM_SFONDSCHAR10Assigned to domainBP_GEBERSENDER_FUND
SFKBERSending Functional Area SFKTBERCHAR16Assigned to domainFKBER
SGRANT_NBRSender Grant GM_GRANT_SENDERCHAR20ALPHAGM_GRANT_NBR
OCRUNOff-cycle run P_99_DEC_CST_OCRUNCHAR1XFELD
SEQNRSequence Number CDSEQNUMC5NUM5
SEGMENTSegment for Segmental Reporting FB_SEGMENTCHAR10Assigned to domainALPHAFB_SEGMENT
SSEGMENTSegment for Segmental Reporting FB_SEGMENTCHAR10Assigned to domainALPHAFB_SEGMENT
BUDGET_PDFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER
SBUDGET_PDFM: Sender Budget Period FM_SBUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER

Key field Non-key field



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

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

SELECT SINGLE *
FROM P2RU_COSTS
INTO CORRESPONDING FIELDS OF WA_P2RU_COSTS
WHERE...

How to access SAP table P2RU_COSTS

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