P_RU_VATReportingCustSubs1

DDL: P_RU_VATREPORTINGCUSTSUBS1 SQL: PRUVATRPTGCUSTS1 Type: view CONSUMPTION

P_RU_VATReportingCustSubs1 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_RU_VATSubScenarioItem) and exposes 10 fields with key fields RU_VATSubScenarioVersion, RU_VATSubScenario, RU_VATSubScenarioItem.

Data Sources (1)

SourceAliasJoin Type
I_RU_VATSubScenarioItem I_RU_VATSubScenarioItem from

Annotations (7)

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

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY RU_VATSubScenarioVersion RU_VATSubScenarioVersion Subscenario Version
KEY RU_VATSubScenario RU_VATSubScenario Subscenario
KEY RU_VATSubScenarioItem RU_VATSubScenarioItem Transfer Item No.
TaxCode TaxCode Tax Code
AccountingDocumentType AccountingDocumentType Journal Entry Type
DebitCreditCode DebitCreditCode Single-Character Flag
TaxItemClassification TaxItemClassification Transaction
RU_SourceDocumentType RU_SourceDocumentType Original Doc. Type
IsCorrectionInvoice IsCorrectionInvoice Correction Type
VATReturnOperation VATReturnOperation Operation Code

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_VATReportingCustSubs1.
-- 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: PRUVATRPTGCUSTS1

CREATE VIEW P_RU_VATReportingCustSubs1 AS
SELECT
  RU_VATSubScenarioVersion,
  RU_VATSubScenario,
  RU_VATSubScenarioItem,
  TaxCode,
  AccountingDocumentType,
  DebitCreditCode,
  TaxItemClassification,
  RU_SourceDocumentType,
  IsCorrectionInvoice,
  VATReturnOperation
FROM I_RU_VATSubScenarioItem
;