P_CADocLinkdObjInterest

DDL: P_CADOCLINKDOBJINTEREST Type: view_entity COMPOSITE

Interest Document

P_CADocLinkdObjInterest is a Composite CDS View that provides data about "Interest Document" in SAP S/4HANA. It reads from 1 data source (I_CAInterestSupplement) and exposes 4 fields with key fields CADocumentNumber, CADocumentLinkedObject. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CAInterestSupplement I_CAInterestSupplement from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CADocumentLinkedObjectType _LinkdObjType $projection.CADocumentLinkedObjectType = _LinkdObjType.CADocumentLinkedObjectType

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Interest Document view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber CADocumentNumber Document Number
KEY CADocumentLinkedObject Interest Doc.No
CADocumentLinkedObjectType
_LinkdObjType _LinkdObjType

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_CADocLinkdObjInterest.
-- 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 P_CADocLinkdObjInterest AS
SELECT
  CADocumentNumber,
  cast(CAInterestDocument as doc_linked_obj_kk) AS CADocumentLinkedObject,
  cast ('01' as doc_linked_obj_ty_kk) AS CADocumentLinkedObjectType
FROM I_CAInterestSupplement
LEFT OUTER JOIN I_CADocumentLinkedObjectType AS _LinkdObjType ON CADocumentLinkedObjectType = _LinkdObjType.CADocumentLinkedObjectType  -- association [0..1]
;