P_RU_VATReportingCustSubs4

DDL: P_RU_VATREPORTINGCUSTSUBS4 SQL: PRUVATRPTGCUSTS4 Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

VAT Reporting Customizing: Subscenario - 4

P_RU_VATReportingCustSubs4 is a Consumption CDS View that provides data about "VAT Reporting Customizing: Subscenario - 4" in SAP S/4HANA. It reads from 1 data source (P_RU_VATReportingCustSubs3) and exposes 8 fields with key fields RU_VATSubScenarioVersion, TaxCode, AccountingDocumentType, DebitCreditCode, TaxItemClassification. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (1)

SourceAliasJoin Type
P_RU_VATReportingCustSubs3 P_RU_VATReportingCustSubs3 from

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PRUVATRPTGCUSTS4 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY RU_VATSubScenarioVersion RU_VATSubScenarioVersion Subscenario Version
KEY TaxCode TaxCode Tax Code
KEY AccountingDocumentType AccountingDocumentType Journal Entry Type
KEY DebitCreditCode DebitCreditCode Single-Character Flag
KEY TaxItemClassification TaxItemClassification
KEY RU_SourceDocumentType RU_SourceDocumentType
KEY IsCorrectionInvoice IsCorrectionInvoice
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_VATReportingCustSubs4.
-- 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: PRUVATRPTGCUSTS4

CREATE VIEW P_RU_VATReportingCustSubs4 AS
SELECT
  RU_VATSubScenarioVersion,
  TaxCode,
  AccountingDocumentType,
  DebitCreditCode,
  TaxItemClassification,
  RU_SourceDocumentType,
  IsCorrectionInvoice,
  max(Rank) AS MaxRank
FROM P_RU_VATReportingCustSubs3
;