I_OpnCtlgAttachMain

DDL: I_OPNCTLGATTACHMAIN SQL: IOPNCTLGATTACHMN Type: view BASIC

Catalog Item Main Image

I_OpnCtlgAttachMain is a Basic CDS View that provides data about "Catalog Item Main Image" in SAP S/4HANA. It reads from 1 data source (mmpur_cat_atmain) and exposes 3 fields with key field OpnCtlgItemID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
mmpur_cat_atmain mmpur_cat_atmain from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_OpnCtlgAttachment _Attach $projection.OpnCtlgItemID = _Attach.OpnCtlgItemID and $projection.OpnCtlgImageID = _Attach.OpnCtlgImageID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IOPNCTLGATTACHMN view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Catalog Item Main Image view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY OpnCtlgItemID ctlg_itm_key Catalog Item Key
OpnCtlgImageID main_image_key Search Image Key
_Attach _Attach

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_OpnCtlgAttachMain.
-- 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: IOPNCTLGATTACHMN

CREATE VIEW I_OpnCtlgAttachMain AS
SELECT
  ctlg_itm_key AS OpnCtlgItemID,
  main_image_key AS OpnCtlgImageID
FROM mmpur_cat_atmain
LEFT OUTER JOIN I_OpnCtlgAttachment AS _Attach ON OpnCtlgItemID = _Attach.OpnCtlgItemID AND OpnCtlgImageID = _Attach.OpnCtlgImageID  -- association [1..1]
;