P_RU_VatSPLedgerCust3

DDL: P_RU_VATSPLEDGERCUST3 SQL: PRUVATSPLDCUST3 Type: view CONSUMPTION

P_RU_VatSPLedgerCust3 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_RU_VatSPLedgerCust2) and exposes 7 fields with key fields RU_VATSubScenarioVersion, AccountingDocumentType, TaxCode, DebitCreditCode, TaxItemClassification.

Data Sources (1)

SourceAliasJoin Type
P_RU_VatSPLedgerCust2 P_RU_VatSPLedgerCust2 from

Annotations (10)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PRUVATSPLDCUST3 view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY RU_VATSubScenarioVersion RU_VATSubScenarioVersion Subscenario Version
KEY AccountingDocumentType AccountingDocumentType Journal Entry Type
KEY TaxCode TaxCode Tax Code
KEY DebitCreditCode DebitCreditCode Single-Character Flag
KEY TaxItemClassification TaxItemClassification
KEY IsCorrectionInvoice IsCorrectionInvoice
KEY MaxRank

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_RU_VatSPLedgerCust3.
-- 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.
-- SQL view name: PRUVATSPLDCUST3

CREATE VIEW P_RU_VatSPLedgerCust3 AS
SELECT
  RU_VATSubScenarioVersion,
  AccountingDocumentType,
  TaxCode,
  DebitCreditCode,
  TaxItemClassification,
  IsCorrectionInvoice,
  max(Rank) AS MaxRank
FROM P_RU_VatSPLedgerCust2
;