GLS0 SAP (Line Item Structure G/L Account Monthly Debits and Credits) Structure details
Description: Line Item Structure G/L Account Monthly Debits and Credits
Structure field list including key, data, relationships and ABAP select examples
GLS0 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 "Line Item Structure G/L Account Monthly Debits and Credits" 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_GLS0 TYPE GLS0.
The GLS0 table consists of various fields, each holding specific information or linking keys about Line Item Structure G/L Account Monthly Debits and Credits data available in SAP. These include RLDNR (Ledger), RRCTY (Record Type), RVERS (Version), BUKRS (Company Code).. 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 GLS0 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 |
RCLNT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
RLDNR | Ledger | RLDNR | CHAR | 2 | T881 | ALPHA | RLDNR | GLN | H_T881 |
RRCTY | Record Type | RRCTY | CHAR | 1 | RRCTY | ||||
RVERS | Version | RVERS | CHAR | 3 | T894 | ALPHA | RVERS | GVS | |
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
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 | TGSB | GSBER | GSB | ||
RTCUR | Currency Key | RTCUR | CUKY | 5 | TCURC | WAERS | FWS | ||
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 | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
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 | ||||
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 | ||||
DOCTY | FI-SL Document Type | DOCTY | CHAR | 2 | Assigned to domain | DOCTY | BAR | ||
ACTIV | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
BVORG | Number of Cross-Company Code Posting Transaction | BVORG | CHAR | 16 | BVORG | ||||
REFDOCNR | Reference document number of an accounting document | REFBELNR | 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 structure GLS0 using ABAP code?
As GLS0 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 GLS0 as there is no data to select.How to access SAP table GLS0
Within an ECC or HANA version of SAP you can also view further information about GLS0 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