I_CATaxReportingDocPosting

DDL: I_CATAXREPORTINGDOCPOSTING Type: view_entity BASIC

Tax Reporting Document Posting

I_CATaxReportingDocPosting is a Basic CDS View that provides data about "Tax Reporting Document Posting" in SAP S/4HANA. It reads from 1 data source (dfkkrep06) and exposes 55 fields with key fields CADocumentNumber, CAGLItemNumber, BusinessPartner, CATaxReportingDetailingAssgmt, CATaxReportingItemSequenceNmbr. It has 10 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dfkkrep06 dfkkrep06 from

Associations (10)

CardinalityTargetAliasCondition
[1..1] I_CADocumentHeader _DocHeader $projection.CADocumentNumber = _DocHeader.CADocumentNumber
[0..1] I_CADocumentHeader _TriggeredDocHeader $projection.CATriggeredDocument = _TriggeredDocHeader.CADocumentNumber
[0..1] I_CADocumentHeader _RelatedDocHeader $projection.CARelatedDocument = _RelatedDocHeader.CADocumentNumber
[0..1] I_CADocumentHeader _TransferredDocHeader $projection.CATransferredDocument = _TransferredDocHeader.CADocumentNumber
[1..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_GLAccountInChartOfAccounts _GLAccount $projection.ChartOfAccounts = _GLAccount.ChartOfAccounts and $projection.GLAccount = _GLAccount.GLAccount
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[1..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Tax Reporting Document Posting view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (55)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber opbel Reopen
KEY CAGLItemNumber opupk Item
KEY BusinessPartner gpart Tech. BPartner
KEY CATaxReportingDetailingAssgmt vinfo Assignment
KEY CATaxReportingItemSequenceNmbr tzahl Counter
CAApplicationArea applk ApplicationArea
CompanyCode bukrs Value
BusinessPlace bupla Business place
GLAccount hkont Transfer acct
TaxCode Tax Code
CAOtherTaxCode strkz TxCde:Oth.Taxes
CATaxRate stprz Tax rate
CATaxBaseAmountInLocalCurrency sbash Tax base in LC
CATaxBaseAmount sbasw Tax Base Amount
CATaxAmountInLocalCurrency sbeth LC Tax
CATaxAmountInTransCurrency sbetw Tax Amount
CompanyCodeCurrency hwaer Local Currency
TransactionCurrency twaer Trans. Currency
CASourceDocumentPostingDate ubdat Orig. doc. date
CASourceDocumentDate uldat Orig. doc. date
CANetDueDate faedn Net Due Date
CAPlannedTaxReportDate vmdat Plan. rep. date
CATaxReportingAdditionalText sdata Additional data
CAReferenceDocument Reference
CATransactionKeyAccountDetn ktosl Transaction
CATaxItemCatForOtherTaxCodes kschl Tax Item Type
TaxJurisdiction Tax Jurisdict.
CAEnteredTaxJurisdictionCode txjco Orig.jurisdict.
CATriggeredDocument aubel Trigger doc
CATaxReportingItemCategory xnabe Read document
CATaxReportListItem nurel Item number
CARelatedDocument refnr Reference No.
CADocumentHasBeenReversed xstor Type of posting
CreationDate Imported On
CreationTime Time
CADocumentDataIsOutdated xteil PartReset
CAAmountPerTaxCodeInCCCrcy gebth Total amount
CAAmountPerTaxCodeInTransCrcy gebtw Total TC
CAOfficialDocAmountInCCCrcy exbel_betrh Total amount LC
CAOfficialDocAmountInTransCrcy exbel_betrw Total amount TC
CATransferredDocument ori_opbel Orig. Doc. No.
CATransferredDocumentItem ori_opupk TransTxItmItemN
CADownPaymentDocumentItem dp_opupk ItemNoDownPayt
TaxCountry tax_country Tax Ctry/Rgn
ChartOfAccounts _CompanyCode ChartOfAccounts Node Class
_DocHeader _DocHeader
_TriggeredDocHeader _TriggeredDocHeader
_RelatedDocHeader _RelatedDocHeader
_TransferredDocHeader _TransferredDocHeader
_BusinessPartner _BusinessPartner
_CompanyCode _CompanyCode
_GLAccount _GLAccount
_CompanyCodeCurrency _CompanyCodeCurrency
_TransactionCurrency _TransactionCurrency
_ChartOfAccounts _ChartOfAccounts

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 I_CATaxReportingDocPosting.
-- 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.

CREATE VIEW I_CATaxReportingDocPosting AS
SELECT
  opbel AS CADocumentNumber,
  opupk AS CAGLItemNumber,
  gpart AS BusinessPartner,
  vinfo AS CATaxReportingDetailingAssgmt,
  tzahl AS CATaxReportingItemSequenceNmbr,
  applk AS CAApplicationArea,
  bukrs AS CompanyCode,
  bupla AS BusinessPlace,
  hkont AS GLAccount,
  cast(mwskz as fis_mwskz preserving type ) AS TaxCode,
  strkz AS CAOtherTaxCode,
  stprz AS CATaxRate,
  sbash AS CATaxBaseAmountInLocalCurrency,
  sbasw AS CATaxBaseAmount,
  sbeth AS CATaxAmountInLocalCurrency,
  sbetw AS CATaxAmountInTransCurrency,
  hwaer AS CompanyCodeCurrency,
  twaer AS TransactionCurrency,
  ubdat AS CASourceDocumentPostingDate,
  uldat AS CASourceDocumentDate,
  faedn AS CANetDueDate,
  vmdat AS CAPlannedTaxReportDate,
  sdata AS CATaxReportingAdditionalText,
  cast(xblnr as xblnr_kk preserving type ) AS CAReferenceDocument,
  ktosl AS CATransactionKeyAccountDetn,
  kschl AS CATaxItemCatForOtherTaxCodes,
  cast(txjcd as fis_txjcd preserving type ) AS TaxJurisdiction,
  txjco AS CAEnteredTaxJurisdictionCode,
  aubel AS CATriggeredDocument,
  xnabe AS CATaxReportingItemCategory,
  nurel AS CATaxReportListItem,
  refnr AS CARelatedDocument,
  xstor AS CADocumentHasBeenReversed,
  cast(cpudt as fis_cpdat preserving type) AS CreationDate,
  cast(cputm as ttet_dt_cr_time preserving type ) AS CreationTime,
  xteil AS CADocumentDataIsOutdated,
  gebth AS CAAmountPerTaxCodeInCCCrcy,
  gebtw AS CAAmountPerTaxCodeInTransCrcy,
  exbel_betrh AS CAOfficialDocAmountInCCCrcy,
  exbel_betrw AS CAOfficialDocAmountInTransCrcy,
  ori_opbel AS CATransferredDocument,
  ori_opupk AS CATransferredDocumentItem,
  dp_opupk AS CADownPaymentDocumentItem,
  tax_country AS TaxCountry,
  _CompanyCode.ChartOfAccounts AS ChartOfAccounts
FROM dfkkrep06
LEFT OUTER JOIN I_CADocumentHeader AS _DocHeader ON CADocumentNumber = _DocHeader.CADocumentNumber  -- association [1..1]
LEFT OUTER JOIN I_CADocumentHeader AS _TriggeredDocHeader ON CATriggeredDocument = _TriggeredDocHeader.CADocumentNumber  -- association [0..1]
LEFT OUTER JOIN I_CADocumentHeader AS _RelatedDocHeader ON CARelatedDocument = _RelatedDocHeader.CADocumentNumber  -- association [0..1]
LEFT OUTER JOIN I_CADocumentHeader AS _TransferredDocHeader ON CATransferredDocument = _TransferredDocHeader.CADocumentNumber  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccount ON ChartOfAccounts = _GLAccount.ChartOfAccounts AND GLAccount = _GLAccount.GLAccount  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
;