GLS2 SAP (Global logical Consolidation line items) Pooled Table details
Dictionary Type: Pooled Table
Description: Global logical Consolidation line items
Description: Global logical Consolidation line items
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 |
RCLNT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
RLDNR | Ledger | RLDNR | CHAR | 2 | Assigned to domain | ALPHA | RLDNR | GLN | H_T881 |
RRCTY | Record Type | RRCTY | CHAR | 1 | RRCTY | ||||
RVERS | Version | RVERS | CHAR | 3 | Assigned to domain | ALPHA | RVERS | GVS | |
RCOMP | Company | RCOMP_D | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | GCC | |
RYEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
RACCT | Account Number | RACCT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ACC | |
RBUSA | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
RLEVL | Posting level | RLEVL | CHAR | 1 | RLEVL | ||||
DOCTY | FI-SL Document Type | DOCTY | CHAR | 2 | Assigned to domain | DOCTY | BAR | ||
RSUBD | Subgroup | RSUBD | CHAR | 3 | Assigned to domain | RSUBD | GSG | ||
RMVCT | Transaction Type | RMVCT | CHAR | 3 | Assigned to domain | RMVCT | |||
RASSC | Company ID of trading partner | RASSC | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | PGS | |
SBUSA | Trading partner's business area | PARGB | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
RYACQ | Year of acquisition | RYACQ | CHAR | 4 | GJAHR | CJAHR | |||
RPACQ | Period of Acquisition | RPACQ | NUMC | 3 | NUM03 | ||||
OCLNT | Original client | OCLNT | NUMC | 3 | NUM3 | ||||
OBUKR | Original company code | OBUKR | CHAR | 4 | Assigned to domain | BUKRS | |||
RTCUR | Currency Key | RTCUR | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
RUNIT | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DRCRK | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
POPER | Posting period | POPER | NUMC | 3 | POPER | POPR | |||
DOCCT | Document Type | DOCCT | CHAR | 1 | DOCCT | GCT | |||
DOCNR | Doc. Number | DOCNR | CHAR | 10 | ALPHA | BELNR | |||
DOCLN | Document line | DOCLN | CHAR | 3 | DOCLN | ||||
CPUDT | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
CPUTM | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
USNAM | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
TSL | Value in Transaction Currency | VTCUR | CURR | 15(2) | WERTV8 | ||||
HSL | Value in local currency | VLCUR | CURR | 15(2) | WERTV8 | ||||
KSL | Value in group currency | VGCUR | CURR | 15(2) | WERTV8 | ||||
MSL | Quantity | QUAN1 | QUAN | 15(3) | MENG8 | ||||
ASL | Additional Quantity | QUAN2 | QUAN | 15(3) | MENG8 | ||||
AUNIT | Additional unit of measure | AUNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
AUTOM | Indicator: Automatic posting lines | AUTOM | CHAR | 1 | TEXT1 | ||||
ACTIV | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
BVORG | Number of Cross-Company Code Posting Transaction | BVORG | CHAR | 16 | BVORG | ||||
REFDOCNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
REFRYEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
REFDOCLN | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
REFDOCCT | Document Type | DOCCT | CHAR | 1 | DOCCT | GCT | |||
REFACTIV | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
LOGSYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS |
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 tableDATA: 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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects