SAP Table

T004 Directory of Charts of Accounts

SAP table T004 is a Directory of Charts of Accounts. It serves as a central repository that holds metadata and configuration details for the charts of accounts used within an SAP system.

A Chart of Accounts (CoA) is a structured list of all general ledger (GL) accounts used by an organization to record its financial transactions. Each account in the chart has a unique identifier (account number) and a description, categorizing it as an asset, liability, equity, revenue, or expense.

In SAP, the CoA is represented in the T004 table, which acts as a directory to manage various CoAs configured in the system. This ensures that each company code can be assigned the appropriate CoA to meet its specific financial and reporting needs. For example:

A multinational company might use an operational CoA for daily transactions while aligning it with a group CoA for consolidated reporting at the corporate level.

SAP table T004 has 2 primary key fields being MANDT,KTOPL.

If you are only analysing data from a single SAP instance you may omit field MANDT in your relationships as it will be the same across the entire dataset. On the other hand, if you are combining data from multiple SAP instances you need to take MANDT into account.

/ Fields

T004 columns.

Field Description Data Type Length Decimals Checktable Data Element
KeyMANDT Client CLNT 3 0 T000 MANDT
KeyKTOPL Chart of Accounts CHAR 4 0 KTOPL
SAKLN Significant Length of the G/L Account Number NUMC 2 0 SAKLN
DSPRA Maintenance Language for the Chart of Accounts LANG 1 0 T002 SPRAS_004
ASPRA Alternative Languages CHAR 10 0 ASPRA
KKTPL Group Chart of Accts CHAR 4 0 T004 KKTPL
XSPER Indicator: Is the Chart of Accounts Blocked ? CHAR 1 0 XSPER
NO_VBUND Trading partner cannot be entered CHAR 1 0 NO_VBUND
INTEG_CO Type of integration between G/L accounts and cost elements CHAR 1 0 INTEG_CO
LAYOUT_0 G/L Account Master Record: Layout for "Central Processing" CHAR 4 0 TAMLAY0 TAB_LAYOUT_GL_0
LAYOUT_P G/L Master Data: Layout for "Chart of Accts Processsing" CHAR 4 0 TAMLAY0 TAB_LAYOUT_GL_P
LAYOUT_S G/L Master Data: Layout for "Company Code Processing" CHAR 4 0 TAMLAY0 TAB_LAYOUT_GL_S
/ Relationships

T004 foreign keys.

Table Field Check Table Description Check Field
T004 DSPRA T002 Language Keys (Component BC-I18) SPRAS
T004 KKTPL T004 Directory of Charts of Accounts MANDT
T004 KKTPL T004 Directory of Charts of Accounts KTOPL
T004 LAYOUT_0 TAMLAY0 Tab pages in master data: Tab layouts MANDT
T004 LAYOUT_0 TAMLAY0 Tab pages in master data: Tab layouts APPL
T004 LAYOUT_0 TAMLAY0 Tab pages in master data: Tab layouts LAYOUT
T004 LAYOUT_P TAMLAY0 Tab pages in master data: Tab layouts MANDT
T004 LAYOUT_P TAMLAY0 Tab pages in master data: Tab layouts APPL
T004 LAYOUT_P TAMLAY0 Tab pages in master data: Tab layouts LAYOUT
T004 LAYOUT_S TAMLAY0 Tab pages in master data: Tab layouts MANDT
T004 LAYOUT_S TAMLAY0 Tab pages in master data: Tab layouts APPL
T004 LAYOUT_S TAMLAY0 Tab pages in master data: Tab layouts LAYOUT
T004 MANDT T000 Clients MANDT