PC2X0 SAP (Distribution of Employer's Cost (Payroll Function XDEC)) Structure details

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




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




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

PC2X0 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 "Distribution of Employer's Cost (Payroll Function XDEC)" 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_PC2X0 TYPE PC2X0.

The PC2X0 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 SRCWT (XDEC: Cost Wage Type (source)), ETYPE (XDEC: Entry Type), CTYPE (XDEC: Costing Type (+ or -)), FRPER (XDEC: For Pay Period (YYYYPP)).. 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: Cannot Be Enhanced


SAP PC2X0 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
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 structure PC2X0 using ABAP code?

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

How to access SAP table PC2X0

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