TXW_GLACC SAP (G/L account master) Structure details

Dictionary Type: Structure
Description: G/L account master




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




Structure field list including key, data, relationships and ABAP select examples

TXW_GLACC 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 "G/L account master" 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_TXW_GLACC TYPE TXW_GLACC.

The TXW_GLACC table consists of various fields, each holding specific information or linking keys about G/L account master data available in SAP. These include SAKNR (G/L Account Number), TXT20 (G/L account short text), TXT50 (G/L Account Long Text), KTOPL (Chart of Accounts).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)


SAP TXW_GLACC 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
SAKNRG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
TXT20G/L account short text TXT20_SKATCHAR20TEXT20
TXT50G/L Account Long Text TXT50_SKATCHAR50TEXT50
KTOPLChart of Accounts KTOPLCHAR4Assigned to domainKTOPLKPLC_KTOPL
XBILKIndicator: Account is a balance sheet account? XBILKCHAR1XFELD
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
KTOKSG/L Account Group KTOKSCHAR4Assigned to domainKTOKS
VBUNDCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
XLOEVIndicator: Account marked for deletion? XLOEVCHAR1XFELD
XSPEPIndicator: account blocked for planning ? XSPEPCHAR1XFELD
FUNC_AREAFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
HBKIDShort Key for a House Bank HBKIDCHAR5Assigned to domainHBKID
HKTIDID for account details HKTIDCHAR5Assigned to domainHKTID
KDFSLKey for Exchange Rate Differences in Foreign Currency Accts KDFSLCHAR4Assigned to domainKDFSL
MITKZAccount is reconciliation account MITKZCHAR1MITKZ
MWSKZTax Category in Account Master Record SMWSKCHAR2SMWSK
VZSKZInterest calculation indicator VZSKZCHAR2Assigned to domainVZSKZ
WAERSAccount currency WAERS_SKB1CUKY5Assigned to domainWAERSFWS
XNKONIndicator: Supplement for automatic postings ? XNKONCHAR1XFELD
XOPVWIndicator: Open item management? XOPVWCHAR1XFELD
ZINDTKey date of the last interest calculation DZINDTDATS8DATUM
ZINRTInterest calculation frequency in months DZINRTNUMC2ZINRT
ALTKTAlternative account number in company code ALTKT_SKB1CHAR10Assigned to domainALPHASAKNR
XMWNOIndicator: Tax code is not a required field XMWNOCHAR1XFELD
XSALHIndicator: Only Manage Balances in Local Currency XSALHCHAR1XFELD
XLGCLRClearing Specific to Ledger Groups XLGCLRCHAR1XFELD
ERDATDate on which the Record Was Created ERDAT_RFDATS8DATUM
ERNAMName of Person who Created the Object ERNAM_RFCHAR12USNAM
ALTKT_TXT20CS G/L account short text (country specific) TXW_ALTKT_TXT20CHAR20TEXT20
ALTKT_TXT50CS G/L Account Long Text (country specific) TXW_ALTKT_TXT50CHAR50TEXT50

Key field Non-key field



How do I retrieve data from SAP structure TXW_GLACC using ABAP code?

As TXW_GLACC 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 TXW_GLACC as there is no data to select.

How to access SAP table TXW_GLACC

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