C_CtlgSrchAttachments

DDL: C_CTLGSRCHATTACHMENTS SQL: CATTACHMENT Type: view CONSUMPTION

Consumption View for Attachments

C_CtlgSrchAttachments is a Consumption CDS View that provides data about "Consumption View for Attachments" in SAP S/4HANA. It reads from 1 data source (I_CatalogItemAttachment) and exposes 8 fields with key fields OpnCtlgImageID, OpnCtlgItemID.

Data Sources (1)

SourceAliasJoin Type
I_CatalogItemAttachment attachMain from

Annotations (10)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CATTACHMENT view
ClientDependent true view
Search.searchable true view
EndUserText.label Consumption View for Attachments view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY OpnCtlgImageID I_CatalogItemAttachment OpnCtlgImageID Search Image Key
KEY OpnCtlgItemID I_CatalogItemAttachment OpnCtlgItemID Catalog Item Key
OpnCtlgMainImageName I_CatalogItemAttachment OpnCtlgMainImageName Main Image name
OpnCtlgMainImageURL I_CatalogItemAttachment OpnCtlgMainImageURL URL
OpnCtlgImageMimeType I_CatalogItemAttachment OpnCtlgImageMimeType MIME type
OpnCtlgAttachmentType I_CatalogItemAttachment OpnCtlgAttachmentType Search Attact. Type
Language I_CatalogItemAttachment Language Report Text Language
OpnCtlgMainImageText I_CatalogItemAttachment OpnCtlgMainImageText Main Image 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 C_CtlgSrchAttachments.
-- 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: CATTACHMENT

CREATE VIEW C_CtlgSrchAttachments AS
SELECT
  attachMain.OpnCtlgImageID AS OpnCtlgImageID,
  attachMain.OpnCtlgItemID AS OpnCtlgItemID,
  attachMain.OpnCtlgMainImageName AS OpnCtlgMainImageName,
  attachMain.OpnCtlgMainImageURL AS OpnCtlgMainImageURL,
  attachMain.OpnCtlgImageMimeType AS OpnCtlgImageMimeType,
  attachMain.OpnCtlgAttachmentType AS OpnCtlgAttachmentType,
  attachMain.Language AS Language,
  attachMain.OpnCtlgMainImageText AS OpnCtlgMainImageText
FROM I_CatalogItemAttachment AS attachMain
;