T881 SAP (Ledger Master) Table details
Dictionary Type: Table
Description: Ledger Master
Description: Ledger Master
Table field list including key, data, relationships and ABAP select examples
T881 is a standard SAP Table which is used to store Ledger Master data and is available within R/3 SAP systems depending on the version and release level.
The T881 table consists of various fields, each holding specific information or linking keys about Ledger Master data available in SAP. These include RLDNR (Ledger), GCURR (Currency key of the ledger currency), CLASS (Ledger class), TYP (Type of ledger (client in which it is to be maintained)).. 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: E - Control table, SAP and customer have separate key areasDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
Text table = T881T
SAP T881 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
RLDNR | Ledger | RLDNR | CHAR | 2 | ALPHA | RLDNR | GLN | H_T881 | |
GCURR | Currency key of the ledger currency | GCURR | CUKY | 5 | TCURC | WAERS | FWS | ||
CLASS | Ledger class | LDCLS | CHAR | 1 | LDCLS | ||||
TYP | Type of ledger (client in which it is to be maintained) | LEDGER_TYP | CHAR | 1 | LEDGER_TYP | ||||
TRCUR | Store transaction currency | TRCUR | CHAR | 1 | XFELD | ||||
LCCUR | Store second currency | LCCUR | CHAR | 1 | XFELD | ||||
RCCUR | Store third currency | RCCUR | CHAR | 1 | XFELD | ||||
OCCUR | Manage fourth currency | OCCUR | CHAR | 1 | XFELD | ||||
QUANT | Store quantities | QUANT | CHAR | 1 | XFELD | ||||
ATQNT | Store additional quantities | ATQNT | CHAR | 1 | XFELD | ||||
TAB | Totals Table | GLTAB | CHAR | 30 | Assigned to domain | AS4TAB | GLT | ||
RCOPY | Maintenance by Copying Allowed | RCOPY | CHAR | 1 | XFELD | ||||
SHKZ | Maintain debits/credits indicator | SHKZ | CHAR | 1 | XFELD | ||||
GLSIP | Write line items | GLSIP | CHAR | 1 | XFELD | ||||
VORTRAG | Set up balance carry forward | VORTR | CHAR | 1 | XFELD | ||||
DLDNR | Average balance ledger | RLDNR1 | CHAR | 2 | Assigned to domain | ALPHA | RLDNR | GLN | |
XDLDNR | Store average in the same ledger | XDLDNR | CHAR | 1 | XFELD | ||||
CURT1 | Currency type of the local currency (HSL) | CURT_HSL | CHAR | 2 | CURTP | ||||
CURT2 | Currency type of the group currency (KSL) | CURT_KSL | CHAR | 2 | CURTP | ||||
CURT3 | Currency type of currency 4 | CURT_OSL | CHAR | 2 | CURTP | ||||
V2POST | Delay the ledger update | V2POST | CHAR | 1 | CHAR1 | ||||
LCTYP | Type of consolidation | LC_TYP | CHAR | 1 | LC_TYP | ||||
FIX | Indicator: Standard ledger | G_LD_FIX | CHAR | 1 | XFELD | ||||
POST | Postings can be made to ledger | G_POST | CHAR | 1 | XFELD | ||||
ROLLUP | Rollup allowed to the ledger | G_ROLLUP | CHAR | 1 | XFELD | ||||
DEPLD | Is the ledger an additional ledger? | G_ZUSATZLD | CHAR | 1 | XFELD | ||||
APPL | Owner application | GLXAPPL | CHAR | 2 | Assigned to domain | GLXAPPL | APC | ||
SUBAPPL | Subapplication | GLXSUBAPPL | CHAR | 3 | Assigned to domain | GLXSUBAPPL | SUC | ||
KOMP | Component | GLXKOMP | CHAR | 3 | GLXKOMP | ||||
GZLEDGER | Indicator: Ledger cannot be reset (delete) | GZLEDGER | CHAR | 1 | XFELD | ||||
EXIT | Exit no. (S..: standard exits, U..: user exits) | EXIT_NR_LD | CHAR | 3 | EXIT_NR | ||||
KLDNR | Export ledger | G_KLDNR | CHAR | 2 | T881 | ALPHA | RLDNR | ||
LOGSYS | Logical system | LOGSYS | CHAR | 10 | TBDLS | ALPHA | LOGSYS | ||
VALUTYP | Valuation | G_VALUTYP | NUMC | 1 | VALUTYP | ||||
GCOMPRESS | Summarize data | G_COMPRESS | CHAR | 1 | XFELD | ||||
SPLITMETHD | Document Splitting Method | SPLITMETHD | CHAR | 10 | T8G01 | SPLITMETHD | |||
DATE_DET_POPER | Date with which the posting period is determined | GLX_DATE_FOR_POS | NUMC | 1 | GLX_DATE_FOR_POSTING | ||||
GLFLEX | 1-Character Indicator: Type of Ledger | FAGL_TYPE_GLFLEX | CHAR | 1 | FAGL_TYPE_GLFLEX | ||||
XLEADING | Indicator: Leading Ledger | FAGL_FLAG_LEADING | CHAR | 1 | XFELD | ||||
ORIENT_LEDGER | Reference Ledger for General Ledger Accounting | FAGL_ORIENTATION_LEDGER | CHAR | 2 | V_FAGL_T881_DB | ALPHA | RLDNR | FAGL_RLDNR | |
AVG_ROLLUP | Indicator: Rollup Ledger for Daily Average Balances | FAGL_TYPE_AVG_ROLLUP | CHAR | 1 | FAGL_TYPE_AVG_ROLLUP | ||||
.INCLU--AP | 0 | ||||||||
XCASH_LEDGER | Cash Ledger Indicator | FAGL_CASH_LEDGER | CHAR | 1 | BOOLE |
Key field | Non-key field |
How do I retrieve data from SAP table T881 using ABAP code
The following ABAP code Example will allow you to do a basic selection on T881 to SELECT all data from the tableDATA: WA_T881 TYPE T881.
SELECT SINGLE *
FROM T881
INTO CORRESPONDING FIELDS OF WA_T881
WHERE...
How to access SAP table T881
Within an ECC or HANA version of SAP you can also view further information about T881 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