GLFLEXA SAP (Flexible general ledger: Actual line items) Table details
Dictionary Type: Table
Description: Flexible general ledger: Actual line items
Description: Flexible general ledger: Actual line items
Table field list including key, data, relationships and ABAP select examples
GLFLEXA is a standard SAP Table which is used to store Flexible general ledger: Actual line items data and is available within R/3 SAP systems depending on the version and release level.
The GLFLEXA table consists of various fields, each holding specific information or linking keys about Flexible general ledger: Actual line items data available in SAP. These include RYEAR (Fiscal Year), DOCNR (Accounting Document Number), RLDNR (Ledger of Flexible General Ledger), RBUKRS (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: Can be enhanced (character-type or numeric)
SAP GLFLEXA 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 | T000 | MANDT | |||
RYEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
DOCNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
RLDNR | Ledger of Flexible General Ledger | RLDNR_FLEX | CHAR | 2 | T881 | ALPHA | RLDNR | GLN_FLEX | H_T881_FLEX |
RBUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
DOCLN | Six-Character Posting Item for Ledger | DOCLN6 | CHAR | 6 | DOCLN6 | ||||
DOCCT | Document Type | DOCCT | CHAR | 1 | DOCCT | GCT | |||
DRCRK | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
POPER | Posting period | POPER | NUMC | 3 | POPER | POPR | |||
RRCTY | Record Type | RRCTY | CHAR | 1 | RRCTY | ||||
RVERS | Version | RVERS | CHAR | 3 | T894 | ALPHA | RVERS | GVS | |
RACCT | Account Number | RACCT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ACC | |
RCNTR | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
RFAREA | Functional Area | FKBER | CHAR | 16 | TFKB | FKBER | FBE | ||
RBUSA | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
SACCT | Partner account number | SACCT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ACC | |
SCNTR | Sender cost center | SKOST | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KSK | |
PPRCTR | Partner Profit Center | PPRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PPC | |
SFAREA | Partner Functional Area | SFKBER | CHAR | 16 | TFKB | FKBER | |||
SBUSA | Trading partner's business area | PARGB | CHAR | 4 | TGSB | GSBER | GSB | ||
RASSC | Company ID of trading partner | RASSC | CHAR | 6 | T880 | ALPHA | RCOMP | PGS | |
ACTIV | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
RMVCT | Transaction Type | RMVCT | CHAR | 3 | Assigned to domain | RMVCT | |||
RTCUR | Currency Key | RTCUR | CUKY | 5 | TCURC | WAERS | FWS | ||
RUNIT | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
LOGSYS | Logical system | LOGSYS | CHAR | 10 | TBDLS | ALPHA | LOGSYS | ||
TSL | Value in Transaction Currency | VTCUR12 | CURR | 23(2) | WERTV12 | ||||
HSL | Value in Local Currency | VLCUR12 | CURR | 23(2) | WERTV12 | ||||
KSL | Value in Group Currency | VGCUR12 | CURR | 23(2) | WERTV12 | ||||
OSL | Value in Another Currency | VOCUR12 | CURR | 23(2) | WERTV12 | ||||
MSL | Quantity | QUAN1_12 | QUAN | 23(3) | MENGV12 | ||||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
DOCTY | Document Type for General Ledger Accounting in ERP | DOCTY_FLEX | CHAR | 2 | T003 | BLART | BAR | ||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
WSDAT | Value Date for Currency Translation | WSDAT | DATS | 8 | DATUM | WSD | |||
BLDAT | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
VALUT | Value date | VALUT | DATS | 8 | DATUM | ||||
REFDOCNR | Reference document number of an accounting document | REFBELNR | CHAR | 10 | ALPHA | BELNR | BLN | ||
REFRYEAR | Reference fiscal year | REFGJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
REFDOCLN | Six-digit number of the reference posting line | REFBUZEI6 | NUMC | 6 | BUZEI6 | BUZ | |||
REFDOCCT | Reference document category | REFDOCCT | CHAR | 1 | DOCCT | GCT | |||
REFACTIV | FI-SL Business Reference Transaction | REFGLVOR | CHAR | 4 | CHAR4 | ||||
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 | USR02 | XUBNAME | USR | ||
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | TTYP | AWTYP | |||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
WSL | Value in Original Transaction Currency (Document Currency) | VWCUR12 | CURR | 23(2) | WERTV12 | ||||
RWCUR | Currency key of the original transaction currency | RWCUR | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
BUZEI | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
LINETYPE | Item category | LINETYPE | CHAR | 5 | Assigned to domain | LINETYPE | |||
XSPLITMOD | Item changed by document splitting | XSPLITMOD | CHAR | 1 | XFELD | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
XSKRL | Indicator: Line item not liable to cash discount? | XSKRL | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table GLFLEXA using ABAP code
The following ABAP code Example will allow you to do a basic selection on GLFLEXA to SELECT all data from the tableDATA: WA_GLFLEXA TYPE GLFLEXA.
SELECT SINGLE *
FROM GLFLEXA
INTO CORRESPONDING FIELDS OF WA_GLFLEXA
WHERE...
How to access SAP table GLFLEXA
Within an ECC or HANA version of SAP you can also view further information about GLFLEXA 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