I_RU_VATReturnLine

DDL: I_RU_VATRETURNLINE SQL: IRUVATLINE Type: view BASIC

Vat Return Line Items

I_RU_VATReturnLine is a Basic CDS View that provides data about "Vat Return Line Items" in SAP S/4HANA. It reads from 1 data source (firud_vatitem) and exposes 4 fields with key fields RU_VATReturnVersion, RU_VATReturnSection, RU_VATReturnLine. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
firud_vatitem Main from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_RU_VATReturnLineText _Text $projection.RU_VATReturnVersion = _Text.RU_VATReturnVersion and $projection.RU_VATReturnSection = _Text.RU_VATReturnSection and $projection.RU_VATReturnLine = _Text.RU_VATReturnLine

Annotations (10)

NameValueLevelField
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IRUVATLINE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
EndUserText.label Vat Return Line Items view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY RU_VATReturnVersion firud_vatitem version XML Vers.
KEY RU_VATReturnSection firud_vatitem sect VAT Return Section
KEY RU_VATReturnLine firud_vatitem line VAT Return Line Item
_Text _Text

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_RU_VATReturnLine.
-- 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: IRUVATLINE

CREATE VIEW I_RU_VATReturnLine AS
SELECT
  Main.version AS RU_VATReturnVersion,
  Main.sect AS RU_VATReturnSection,
  Main.line AS RU_VATReturnLine
FROM firud_vatitem AS Main
LEFT OUTER JOIN I_RU_VATReturnLineText AS _Text ON RU_VATReturnVersion = _Text.RU_VATReturnVersion AND RU_VATReturnSection = _Text.RU_VATReturnSection AND RU_VATReturnLine = _Text.RU_VATReturnLine  -- association [0..*]
;