GLFLEXA SAP (Flexible general ledger: Actual line items) Table details

Dictionary Type: Table
Description: Flexible general ledger: Actual line items




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




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
RCLNTClient MANDTCLNT3T000MANDT
RYEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
DOCNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
RLDNRLedger of Flexible General Ledger RLDNR_FLEXCHAR2T881ALPHARLDNRGLN_FLEXH_T881_FLEX
RBUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
DOCLNSix-Character Posting Item for Ledger DOCLN6CHAR6DOCLN6
DOCCTDocument Type DOCCTCHAR1DOCCTGCT
DRCRKDebit/Credit Indicator SHKZGCHAR1SHKZG
POPERPosting period POPERNUMC3POPERPOPR
RRCTYRecord Type RRCTYCHAR1RRCTY
RVERSVersion RVERSCHAR3T894ALPHARVERSGVS
RACCTAccount Number RACCTCHAR10Assigned to domainALPHASAKNRACC
RCNTRCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
RFAREAFunctional Area FKBERCHAR16TFKBFKBERFBE
RBUSABusiness Area GSBERCHAR4TGSBGSBERGSB
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
SACCTPartner account number SACCTCHAR10Assigned to domainALPHASAKNRACC
SCNTRSender cost center SKOSTCHAR10Assigned to domainALPHAKOSTLKSK
PPRCTRPartner Profit Center PPRCTRCHAR10Assigned to domainALPHAPRCTRPPC
SFAREAPartner Functional Area SFKBERCHAR16TFKBFKBER
SBUSATrading partner's business area PARGBCHAR4TGSBGSBERGSB
RASSCCompany ID of trading partner RASSCCHAR6T880ALPHARCOMPPGS
ACTIVBusiness Transaction GLVORCHAR4CHAR4
RMVCTTransaction Type RMVCTCHAR3Assigned to domainRMVCT
RTCURCurrency Key RTCURCUKY5TCURCWAERSFWS
RUNITBase Unit of Measure MEINSUNIT3T006CUNITMEINS
LOGSYSLogical system LOGSYSCHAR10TBDLSALPHALOGSYS
TSLValue in Transaction Currency VTCUR12CURR23(2) WERTV12
HSLValue in Local Currency VLCUR12CURR23(2) WERTV12
KSLValue in Group Currency VGCUR12CURR23(2) WERTV12
OSLValue in Another Currency VOCUR12CURR23(2) WERTV12
MSLQuantity QUAN1_12QUAN23(3) MENGV12
SGTXTItem Text SGTXTCHAR50TEXT50
DOCTYDocument Type for General Ledger Accounting in ERP DOCTY_FLEXCHAR2T003BLARTBAR
BUDATPosting Date in the Document BUDATDATS8DATUM
WSDATValue Date for Currency Translation WSDATDATS8DATUMWSD
BLDATDocument Date in Document BLDATDATS8DATUM
VALUTValue date VALUTDATS8DATUM
REFDOCNRReference document number of an accounting document REFBELNRCHAR10ALPHABELNRBLN
REFRYEARReference fiscal year REFGJAHRNUMC4GJAHRGJAHRGJR
REFDOCLNSix-digit number of the reference posting line REFBUZEI6NUMC6BUZEI6BUZ
REFDOCCTReference document category REFDOCCTCHAR1DOCCTGCT
REFACTIVFI-SL Business Reference Transaction REFGLVORCHAR4CHAR4
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
USNAMUser name USNAMCHAR12USR02XUBNAMEUSR
AWTYPReference Transaction AWTYPCHAR5TTYPAWTYP
AWORGReference Organizational Units AWORGCHAR10AWORG
WSLValue in Original Transaction Currency (Document Currency) VWCUR12CURR23(2) WERTV12
RWCURCurrency key of the original transaction currency RWCURCUKY5Assigned to domainWAERSFWS
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
LINETYPEItem category LINETYPECHAR5Assigned to domainLINETYPE
XSPLITMODItem changed by document splitting XSPLITMODCHAR1XFELD
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
XSKRLIndicator: Line item not liable to cash discount? XSKRLCHAR1XFELD

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 table
DATA: 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 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!