I_CAInvcgDocChrgDiscItems

DDL: I_CAINVCGDOCCHRGDISCITEMS Type: view_entity BASIC

Zu-/Abschlagspositionen

I_CAInvcgDocChrgDiscItems is a Basic CDS View (Dimension) that provides data about "Zu-/Abschlagspositionen" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field CAInvcgDocHasChargeOrDiscItems. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_CAInvcgDocChrgDiscItemsText _CAInvcgDocChrgDiscItemsText $projection.CAInvcgDocHasChargeOrDiscItems = _CAInvcgDocChrgDiscItemsText.CAInvcgDocHasChargeOrDiscItems

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
EndUserText.label Zu-/Abschlagspositionen view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey CAInvcgDocHasChargeOrDiscItems view
ObjectModel.sapObjectNodeType.name CAInvcgDocHasChargeOrDiscItems view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CAInvcgDocHasChargeOrDiscItems
_CAInvcgDocChrgDiscItemsText _CAInvcgDocChrgDiscItemsText

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_CAInvcgDocChrgDiscItems.
-- 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 I_CAInvcgDocChrgDiscItems AS
SELECT
  cast ( cast ( substring( dd07l.domvalue_l,1,1 ) as abap.char( 1 ) ) as chgdoc_ex_kk) AS CAInvcgDocHasChargeOrDiscItems
FROM dd07l
LEFT OUTER JOIN I_CAInvcgDocChrgDiscItemsText AS _CAInvcgDocChrgDiscItemsText ON CAInvcgDocHasChargeOrDiscItems = _CAInvcgDocChrgDiscItemsText.CAInvcgDocHasChargeOrDiscItems  -- association [1..*]
;