GLS2 SAP (Global logical Consolidation line items) Pooled Table details

Dictionary Type: Pooled Table
Description: Global logical Consolidation line items




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




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

GLS2 is a standard SAP Pooled Table which is used to store Global logical Consolidation line items data and is available within R/3 SAP systems depending on the version and release level.

The GLS2 table consists of various fields, each holding specific information or linking keys about Global logical Consolidation line items data available in SAP. These include RLDNR (Ledger), RRCTY (Record Type), RVERS (Version), RCOMP (Company).. 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: Not classified


SAP GLS2 pooled 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 MANDTCLNT3Assigned to domainMANDT
RLDNRLedger RLDNRCHAR2Assigned to domainALPHARLDNRGLNH_T881
RRCTYRecord Type RRCTYCHAR1RRCTY
RVERSVersion RVERSCHAR3Assigned to domainALPHARVERSGVS
RCOMPCompany RCOMP_DCHAR6Assigned to domainALPHARCOMPGCC
RYEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
RACCTAccount Number RACCTCHAR10Assigned to domainALPHASAKNRACC
RBUSABusiness Area GSBERCHAR4Assigned to domainGSBERGSB
RLEVLPosting level RLEVLCHAR1RLEVL
DOCTYFI-SL Document Type DOCTYCHAR2Assigned to domainDOCTYBAR
RSUBDSubgroup RSUBDCHAR3Assigned to domainRSUBDGSG
RMVCTTransaction Type RMVCTCHAR3Assigned to domainRMVCT
RASSCCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
SBUSATrading partner's business area PARGBCHAR4Assigned to domainGSBERGSB
RYACQYear of acquisition RYACQCHAR4GJAHRCJAHR
RPACQPeriod of Acquisition RPACQNUMC3NUM03
OCLNTOriginal client OCLNTNUMC3NUM3
OBUKROriginal company code OBUKRCHAR4Assigned to domainBUKRS
RTCURCurrency Key RTCURCUKY5Assigned to domainWAERSFWS
RUNITBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
DRCRKDebit/Credit Indicator SHKZGCHAR1SHKZG
POPERPosting period POPERNUMC3POPERPOPR
DOCCTDocument Type DOCCTCHAR1DOCCTGCT
DOCNRDoc. Number DOCNRCHAR10ALPHABELNR
DOCLNDocument line DOCLNCHAR3DOCLN
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
USNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
TSLValue in Transaction Currency VTCURCURR15(2) WERTV8
HSLValue in local currency VLCURCURR15(2) WERTV8
KSLValue in group currency VGCURCURR15(2) WERTV8
MSLQuantity QUAN1QUAN15(3) MENG8
ASLAdditional Quantity QUAN2QUAN15(3) MENG8
AUNITAdditional unit of measure AUNITUNIT3Assigned to domainCUNITMEINS
SGTXTItem Text SGTXTCHAR50TEXT50
AUTOMIndicator: Automatic posting lines AUTOMCHAR1TEXT1
ACTIVBusiness Transaction GLVORCHAR4CHAR4
BVORGNumber of Cross-Company Code Posting Transaction BVORGCHAR16BVORG
REFDOCNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
REFRYEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
REFDOCLNNumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
REFDOCCTDocument Type DOCCTCHAR1DOCCTGCT
REFACTIVBusiness Transaction GLVORCHAR4CHAR4
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
AWORGReference Organizational Units AWORGCHAR10AWORG
LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS

Key field Non-key field



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

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

SELECT SINGLE *
FROM GLS2
INTO CORRESPONDING FIELDS OF WA_GLS2
WHERE...

How to access SAP table GLS2

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