C_OpnCtlgProdImages

DDL: C_OPNCTLGPRODIMAGES SQL: COPNCTLGIMGS Type: view CONSUMPTION Package: ODATA_MM_PUR_CATALOG_SEARCH

Catalog product images

C_OpnCtlgProdImages is a Consumption CDS View that provides data about "Catalog product images" in SAP S/4HANA. It reads from 1 data source (I_OpnCtlgAttachment) and exposes 8 fields with key fields OpnCtlgItemID, OpnCtlgImageID. It has 1 association to related views. Part of development package ODATA_MM_PUR_CATALOG_SEARCH.

Data Sources (1)

SourceAliasJoin Type
I_OpnCtlgAttachment I_OpnCtlgAttachment from

Associations (1)

CardinalityTargetAliasCondition
[1..*] C_OpnCtlgItem _OpnCtlgItem $projection.OpnCtlgItemID = _OpnCtlgItem.OpnCtlgItemID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName COPNCTLGIMGS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Catalog product images view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #A view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY OpnCtlgItemID OpnCtlgItemID Catalog Item Key
KEY OpnCtlgImageID OpnCtlgImageID Search Image Key
OpnCtlgImageMimeType OpnCtlgImageMimeType MIME type
OpnCtlgAttachmentType OpnCtlgAttachmentType Search Attact. Type
OpnCtlgMainImageName OpnCtlgMainImageName Main Image name
OpnCtlgMainImageURL OpnCtlgMainImageURL URL
_AttachText _AttachText
_OpnCtlgItem _OpnCtlgItem

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 C_OpnCtlgProdImages.
-- 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: COPNCTLGIMGS

CREATE VIEW C_OpnCtlgProdImages AS
SELECT
  OpnCtlgItemID,
  OpnCtlgImageID,
  OpnCtlgImageMimeType,
  OpnCtlgAttachmentType,
  OpnCtlgMainImageName,
  OpnCtlgMainImageURL
FROM I_OpnCtlgAttachment
LEFT OUTER JOIN C_OpnCtlgItem AS _OpnCtlgItem ON OpnCtlgItemID = _OpnCtlgItem.OpnCtlgItemID  -- association [1..*]
;