P_CN_GoldenTaxOnetimeCustBank

DDL: P_CN_GOLDENTAXONETIMECUSTBANK Type: view COMPOSITE

P_CN_GoldenTaxOnetimeCustBank is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_JournalEntryOneTimeAccount) and exposes 5 fields with key fields CompanyCode, AccountingDocument, FiscalYear. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntryOneTimeAccount I_JournalEntryOneTimeAccount from

Associations (1)

CardinalityTargetAliasCondition
[1] I_JournalEntryOneTimeAccount _Detail $projection.CompanyCode = _Detail.CompanyCode and $projection.AccountingDocument = _Detail.AccountingDocument and $projection.FiscalYear = _Detail.FiscalYear and $projection.AccountingDocumentItem = _Detail.AccountingDocumentItem

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.sqlViewName PCNGTOTCUSTBANK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
AccountingDocumentItem
_Detail _Detail

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 P_CN_GoldenTaxOnetimeCustBank.
-- 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 P_CN_GoldenTaxOnetimeCustBank AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  min( AccountingDocumentItem ) AS AccountingDocumentItem
FROM I_JournalEntryOneTimeAccount
LEFT OUTER JOIN I_JournalEntryOneTimeAccount AS _Detail ON CompanyCode = _Detail.CompanyCode AND AccountingDocument = _Detail.AccountingDocument AND FiscalYear = _Detail.FiscalYear AND AccountingDocumentItem = _Detail.AccountingDocumentItem  -- association [1]
;