TB

TB is an SAP database table in S/4HANA. It contains 46 fields.

Fields (46)

KeyField CDS FieldsUsed in Views
KEY AccountingDocument AccountingDocument 3
KEY CompanyCode CompanyCode 3
KEY FiscalYear FiscalYear 3
KEY Ledger Ledger 4
KEY LedgerGLLineItem LedgerGLLineItem 3
KEY SourceLedger SourceLedger 3
KEY StatryRptCategory StatryRptCategory 3
KEY StatryRptgEntity StatryRptgEntity 3
KEY StatryRptRunID StatryRptRunID 3
_AlternativeGLAccount _AlternativeGLAccount 2
_ChartOfAccounts _ChartOfAccounts 3
_CompanyCode _CompanyCode 3
_CountryChartOfAccounts _CountryChartOfAccounts 3
_Customer _Customer 3
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts 3
_GLAccountInCompanyCode _GLAccountInCompanyCode 3
_GLAccountText _GLAccountText 3
_ReportedItemsLog _ReportedItemsLog 3
_Supplier _Supplier 3
_TaxCode _TaxCode 2
AccountingDocCreatedByUser AccountingDocCreatedByUser 2
AccountingDocumentCategory AccountingDocumentCategory 2
AccountingDocumentItem AccountingDocumentItem 3
AccountingDocumentType AccountingDocumentType 3
AlternativeGLAccount AlternativeGLAccount,BankAccountMessageStatusText 3
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency 3
AssignmentReference AssignmentReference 3
BusinessArea BusinessArea 1
ChartOfAccounts ChartOfAccounts 3
CompanyCodeCurrency CompanyCodeCurrency 3
CountryChartOfAccounts CountryChartOfAccounts 3
Customer Customer 3
DebitCreditCode DebitCreditCode 3
DocumentDate DocumentDate 3
DocumentItemText DocumentItemText 3
EndingBalanceAmtInCoCodeCrcy EndingBalanceAmtInCoCodeCrcy 3
FinancialAccountType FinancialAccountType 3
FiscalPeriod FiscalPeriod 3
GLAccount GLAccount 3
PostingDate PostingDate 3
PostingKey PostingKey 2
ReconciliationAccountType ReconciliationAccountType 2
SpecialGLCode SpecialGLCode 2
StartingBalanceAmtInCoCodeCrcy StartingBalanceAmtInCoCodeCrcy 3
Supplier Supplier 3
TaxCode TaxCode 2

Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.

-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE TB (
    ACCOUNTINGDOCUMENT,
    COMPANYCODE,
    FISCALYEAR,
    LEDGER,
    LEDGERGLLINEITEM,
    SOURCELEDGER,
    STATRYRPTCATEGORY,
    STATRYRPTGENTITY,
    STATRYRPTRUNID,
    _ALTERNATIVEGLACCOUNT,
    _CHARTOFACCOUNTS,
    _COMPANYCODE,
    _COUNTRYCHARTOFACCOUNTS,
    _CUSTOMER,
    _GLACCOUNTINCHARTOFACCOUNTS,
    _GLACCOUNTINCOMPANYCODE,
    _GLACCOUNTTEXT,
    _REPORTEDITEMSLOG,
    _SUPPLIER,
    _TAXCODE,
    ACCOUNTINGDOCCREATEDBYUSER,
    ACCOUNTINGDOCUMENTCATEGORY,
    ACCOUNTINGDOCUMENTITEM,
    ACCOUNTINGDOCUMENTTYPE,
    ALTERNATIVEGLACCOUNT,
    AMOUNTINCOMPANYCODECURRENCY,
    ASSIGNMENTREFERENCE,
    BUSINESSAREA,
    CHARTOFACCOUNTS,
    COMPANYCODECURRENCY,
    COUNTRYCHARTOFACCOUNTS,
    CUSTOMER,
    DEBITCREDITCODE,
    DOCUMENTDATE,
    DOCUMENTITEMTEXT,
    ENDINGBALANCEAMTINCOCODECRCY,
    FINANCIALACCOUNTTYPE,
    FISCALPERIOD,
    GLACCOUNT,
    POSTINGDATE,
    POSTINGKEY,
    RECONCILIATIONACCOUNTTYPE,
    SPECIALGLCODE,
    STARTINGBALANCEAMTINCOCODECRCY,
    SUPPLIER,
    TAXCODE,
    PRIMARY KEY (ACCOUNTINGDOCUMENT, COMPANYCODE, FISCALYEAR, LEDGER, LEDGERGLLINEITEM, SOURCELEDGER, STATRYRPTCATEGORY, STATRYRPTGENTITY, STATRYRPTRUNID)
);