C_TaxAmountAboveThreshold
Tax Amount Above Threshold
C_TaxAmountAboveThreshold is a Consumption CDS View that provides data about "Tax Amount Above Threshold" in SAP S/4HANA. It has 2 associations to related views.
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_TaxAmountInCoCodeCrcy | reewr |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_IsSupplierEUMember | _IsSupplierEUMember | $projection.Supplier = _IsSupplierEUMember.Supplier |
| [0..1] | P_IsCustomerEUMember | _IsCustomerEUMember | $projection.Customer = _IsCustomerEUMember.Customer |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Tax Amount Above Threshold | view | |
| VDM.viewType | #CONSUMPTION | view | |
| OData.publish | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | JournalEntry | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | JournalEntryItem | Posting View Item | ||
| Customer | Customer | Sold-to Party | ||
| CustomerName | _IsCustomerEUMember | CustomerName | Name of Customer | |
| CustomerIsEuropeanUnionMember | _IsCustomerEUMember | IsEuropeanUnionMember | Customer Is EU Member | |
| Supplier | Supplier | Supplier | ||
| SupplierName | _IsSupplierEUMember | SupplierName | Supplier Name | |
| SupplierIsEuropeanUnionMember | _IsSupplierEUMember | IsEuropeanUnionMember | Supplier Is EU Member | |
| IsEuropeanUnionMember | _TaxCountry | IsEuropeanUnionMember | Tax Country Is EU Member | |
| JournalEntryCreationDate | _JournalEntry | AccountingDocumentCreationDate | Journal Entry Date | |
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | ||
| TaxCountry | TaxCountry | Tax Ctry/Reg. | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| SupplierAccountGroup | _IsSupplierEUMember | SupplierAccountGroup | Account group | |
| CityName | _IsSupplierEUMember | CityName | Name | |
| Country | _IsSupplierEUMember | Country | Venue: Ctry/Reg | |
| IsOneTimeAccount | _IsSupplierEUMember | IsOneTimeAccount | One-time acct | |
| CreationDate | _IsSupplierEUMember | CreationDate | Time Stamp | |
| AuthorizationGroup | _IsSupplierEUMember | AuthorizationGroup | AuthorizGroup | |
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| InvoiceAmtInCoCodeCrcy | InvoiceAmtInCoCodeCrcy | |||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| GLAccount | GLAccount | General Ledger | ||
| AccountingDocumentCategory | AccountingDocumentCategory | Journal Entry Category | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| ControllingAreaName | _ControllingArea | ControllingAreaName | Long Text | |
| ProfitCenter | ProfitCenter | Profit Center | ||
| CostCenter | CostCenter | Cost Center | ||
| PostingKey | PostingKey | Posting Key | ||
| SpecialGLCode | SpecialGLCode | Special G/L Ind | ||
| SpecialGLTransactionType | SpecialGLTransactionType | Transact.Type | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _JournalEntry | _JournalEntry | |||
| _AccountingDocumentTypeText | _AccountingDocumentTypeText | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _AccountingDocumentCategory | _AccountingDocumentCategory | |||
| _ReferenceDocumentType | _ReferenceDocumentType | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _ChartOfAccountsText | _ChartOfAccountsText | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _ControllingArea | _ControllingArea | |||
| _ProfitCenter | _ProfitCenter | |||
| _CostCenter | _CostCenter | |||
| _PostingKey | _PostingKey | |||
| _SpecialGLCode | _SpecialGLCode | |||
| _FiscalPeriod | _FiscalPeriod | |||
| _DebitCreditCode | _DebitCreditCode | |||
| _FinancialAccountTypeText | _FinancialAccountTypeText | |||
| _FinancialAccountType | _FinancialAccountType | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_TaxAmountAboveThreshold.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- Parameters: P_TaxAmountInCoCodeCrcy : reewr
CREATE VIEW C_TaxAmountAboveThreshold AS
SELECT
CompanyCode,
AccountingDocument AS JournalEntry,
FiscalYear,
cast (AccountingDocumentItem as fis_docln) AS JournalEntryItem,
Customer,
_IsCustomerEUMember.CustomerName AS CustomerName,
_IsCustomerEUMember.IsEuropeanUnionMember AS CustomerIsEuropeanUnionMember,
Supplier,
_IsSupplierEUMember.SupplierName AS SupplierName,
_IsSupplierEUMember.IsEuropeanUnionMember AS SupplierIsEuropeanUnionMember,
_TaxCountry.IsEuropeanUnionMember AS IsEuropeanUnionMember,
_JournalEntry.AccountingDocumentCreationDate AS JournalEntryCreationDate,
PostingDate,
DocumentDate,
TaxAmountInCoCodeCrcy,
TaxCountry,
FiscalPeriod,
FinancialAccountType,
_IsSupplierEUMember.SupplierAccountGroup AS SupplierAccountGroup,
_IsSupplierEUMember.CityName AS CityName,
_IsSupplierEUMember.Country AS Country,
_IsSupplierEUMember.IsOneTimeAccount AS IsOneTimeAccount,
_IsSupplierEUMember.CreationDate AS CreationDate,
_IsSupplierEUMember.AuthorizationGroup AS AuthorizationGroup,
PaymentTerms,
InvoiceAmtInCoCodeCrcy,
CompanyCodeCurrency,
AccountingDocumentType,
AmountInCompanyCodeCurrency,
GLAccount,
AccountingDocumentCategory,
ReferenceDocumentType,
ChartOfAccounts,
ControllingArea,
_ControllingArea.ControllingAreaName AS ControllingAreaName,
ProfitCenter,
CostCenter,
PostingKey,
SpecialGLCode,
SpecialGLTransactionType,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
DebitCreditCode
LEFT OUTER JOIN P_IsSupplierEUMember AS _IsSupplierEUMember ON Supplier = _IsSupplierEUMember.Supplier -- association [0..1]
LEFT OUTER JOIN P_IsCustomerEUMember AS _IsCustomerEUMember ON Customer = _IsCustomerEUMember.Customer -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA