C_TaxAmountAboveThreshold

DDL: C_TAXAMOUNTABOVETHRESHOLD Type: view_entity CONSUMPTION

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)

NameTypeDefault
P_TaxAmountInCoCodeCrcy reewr

Associations (2)

CardinalityTargetAliasCondition
[0..1] P_IsSupplierEUMember _IsSupplierEUMember $projection.Supplier = _IsSupplierEUMember.Supplier
[0..1] P_IsCustomerEUMember _IsCustomerEUMember $projection.Customer = _IsCustomerEUMember.Customer

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;