GLPCA SAP (EC-PCA: Actual Line Items) Table details

Dictionary Type: Table
Description: EC-PCA: Actual Line Items




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




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

GLPCA is a standard SAP Table which is used to store EC-PCA: Actual Line Items data and is available within R/3 SAP systems depending on the version and release level.

The GLPCA table consists of various fields, each holding specific information or linking keys about EC-PCA: Actual Line Items data available in SAP. These include GL_SIRID (Record number of the line item record), RLDNR (Ledger), RRCTY (Record Type), RVERS (Version).. 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: Can be enhanced (character-type or numeric)


SAP GLPCA 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
RCLNTClient MANDTCLNT3T000MANDT
GL_SIRIDRecord number of the line item record GU_RECIDCHAR18OBJNROBN
RLDNRLedger RLDNRCHAR2T881ALPHARLDNRGLNH_T881
RRCTYRecord Type RRCTYCHAR1RRCTY
RVERSVersion RVERS_PCACHAR3TKVSALPHACOVERSIGVS
RYEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
RTCURCurrency Key RTCURCUKY5TCURCWAERSFWS
RUNITBase Unit of Measure MEINSUNIT3T006CUNITMEINS
DRCRKDebit/Credit Indicator SHKZGCHAR1SHKZG
POPERPosting period POPERNUMC3POPERPOPR
DOCCTDocument Type DOCCTCHAR1DOCCTGCT
DOCNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
DOCLNDocument line DOCLNCHAR3DOCLN
RBUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
RPRCTRProfit Center PRCTRCHAR10CEPCALPHAPRCTRPRCPRCTR_EMPTY
RHOARTType of origin object (EC-PCA) HOARTNUMC2HOARTPCH
RFAREAFunctional Area FKBERCHAR16TFKBFKBERFBE
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
RACCTAccount Number RACCTCHAR10Assigned to domainALPHASAKNRACC
HRKFTOrigin Group as Subdivision of Cost Element HRKFTCHAR4Assigned to domainHRKFT
RASSCCompany ID of trading partner RASSCCHAR6T880ALPHARCOMPPGS
EPRCTRPartner profit center for elimination of internal business EPRCTRCHAR10CEPCALPHAPRCTR
ACTIVFI-SL Business Transaction ACTI1CHAR4T022ACTIVITY
AFABEReal depreciation area AFABE_DNUMC2Assigned to domainAFABEAFB
OCLNTOriginal client OCLNTNUMC3NUM3
SBUKRSSender company code S_BUKRSCHAR4T001BUKRSBUK
SPRCTRPartner Profit Center PPRCTRCHAR10CEPCALPHAPRCTRPPC
SHOARTType of receiver object SHOARTNUMC2HOART
SFAREAPartner Functional Area SFKBERCHAR16TFKBFKBER
TSLAmount in transaction currency VTCUR_PCACURR15(2) WERTV8
HSLAmount in company code currency VLCUR_PCACURR15(2) WERTV8
KSLAmount in profit center local currency VGCUR_PCACURR15(2) WERTV8
MSLQuantity QUAN1QUAN15(3) MENG8
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
USNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
SGTXTItem Text SGTXTCHAR50TEXT50
AUTOMIndicator: Automatic posting lines AUTOMCHAR1TEXT1
DOCTYFI-SL Document Type DOCTYCHAR2T889DOCTYBAR
BLDATDocument Date in Document BLDATDATS8DATUM
BUDATPosting Date in the Document BUDATDATS8DATUM
WSDATValue Date for Currency Translation WSDATDATS8DATUMWSD
REFDOCNRReference Document Number (External Document Number) PCA_REFBELNRCHAR10ALPHABELNRBLN
REFRYEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
REFDOCLNNumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
REFDOCCTDocument Type DOCCTCHAR1DOCCTGCT
REFACTIVFI-SL Business Transaction ACTI1CHAR4T022ACTIVITY
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
AWORGReference Organizational Units AWORGCHAR10AWORG
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
KOSTLCost Center KOSTLCHAR10CSKSALPHAKOSTLKOS
LSTARActivity Type LSTARCHAR6CSLALSTARLARLART_EMPTY
AUFNROrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
BWKEYValuation Area BWKEYCHAR4Assigned to domainBWKEYBWK
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
ANBWAAsset Transaction Type ANBWACHAR3Assigned to domainBWASL
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
RMVCTTransaction Type RMVCTCHAR3T856RMVCT
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
ERKRSOperating concern ERKRSCHAR4Assigned to domainERKRSERB
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PASUBNRProfitability segment changes (CO-PA) RKESUBNRNUMC4RKESUBNR
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
FKARTBilling Type FKARTCHAR4Assigned to domainFKART
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
AUBELSales Document VBELN_VACHAR10Assigned to domainALPHAVBELNAUN
AUPOSSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
VKGRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
VKBURSales Office VKBURCHAR4Assigned to domainVKBURVKB
VBUNDCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
LOGSYSLogical System LOGSYSTEMCHAR10TBDLSALPHALOGSYS
ALEBNALE: PCA document number in system where created PCA_ALEBNCHAR10ALPHABELNR
AWSYSLogical system of source document AWSYSCHAR10Assigned to domainALPHALOGSYS
VERSAResults Analysis Version VERSN_ABGRCHAR3Assigned to domainALPHAVERSN_ABGRACV
STFLGIdentifier for reversal document CO_STFLGCHAR1FLAG
STOKZIndicator: Document Has Been Reversed CO_STOKZCHAR1FLAG
STAGRStatistical key figure STAGRCHAR6TKA03STAGRSTA
GRTYPStatistical Key Figure Category GRTYPCHAR1GRTYP
REP_MATNRRepresentative material for Profit Center Accounting REP_MATNRCHAR18T8A60MATN1MATNRRPMPCA_SHLP_REP_MATNR
CO_PRZNRBusiness Process CO_PRZNRCHAR12CBPRALPHACO_PRZNRKWP
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
DABRZReference Date for Settlement DABRBEZDATS8DDAT
VALUTValue date VALUTDATS8DATUM
RSCOPEObject Class SCOPE_CVCHAR2SCOPESCOPE_CVPCO
AWREF_REVReversal: Reverse Document Reference Document Number AWREF_REVCHAR10ALPHAAWREF
AWORG_REVReversal: Reverse Document Reference Organization AWORG_REVCHAR10AWORG
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR

Key field Non-key field



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

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

SELECT SINGLE *
FROM GLPCA
INTO CORRESPONDING FIELDS OF WA_GLPCA
WHERE...

How to access SAP table GLPCA

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