C_OpnCtlgItem
Catalog Item
C_OpnCtlgItem is a Consumption CDS View that provides data about "Catalog Item" in SAP S/4HANA. It reads from 1 data source (I_OpnCtlgItem) and exposes 58 fields with key fields OpnCtlgItemID, OpnCtlgItemKey. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OpnCtlgItem | I_OpnCtlgItem | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | C_OpnCtlgAttribute | _OpnCtlgAttribute | $projection.OpnCtlgItemID = _OpnCtlgAttribute.OpnCtlgItemID |
| [1..*] | C_OpnCtlgReview | _OpnCtlgReview | $projection.OpnCtlgItemID = _OpnCtlgReview.OpnCtlgItemID |
| [1..*] | C_OpnCtlgProdImages | _OpnCtlgProdImages | $projection.OpnCtlgItemID = _OpnCtlgProdImages.OpnCtlgItemID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| ClientDependent | true | view | |
| Search.searchable | true | view | |
| AbapCatalog.sqlViewName | COPNCTLGITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Catalog Item | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| UI.headerInfo.typeName | Catalog Item | view | |
| UI.headerInfo.typeNamePlural | Catalog Items | view | |
| UI.headerInfo.title.value | ProductDescription | view | |
| UI.headerInfo.imageUrl | OpnCtlgMainImageURL | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OpnCtlgItemID | OpnCtlgItemID | Catalog Item Key | |
| KEY | OpnCtlgItemKey | OpnCtlgItemKey | Item Hash Key | |
| OpnCtlgMainImageURL | Image | |||
| ProductDescription | _ItemDesc | ProductDescription | Product Description | |
| OpnCtlgSrchLongText | _LongText | OpnCtlgSrchLongText | Product Details | |
| OpenCatalogUserRatingValue | OpenCatalogUserRatingValue | Rating | ||
| ProductCatalogName | ProductCatalogName | Catalog Name | ||
| OpnCtlgItemPrice | _PriceCon | OpnCtlgItemPrice | Item Price | |
| OpnCtlgItemCurrency | _PriceCon | OpnCtlgItemCurrency | Item Currency | |
| NetPriceQuantity | NetPriceQuantity | Net Price Quantity | ||
| UnitOfMeasure | UnitOfMeasure | Unit of Measure | ||
| OpnCtlgMinOrderQuantity | OpnCtlgMinOrderQuantity | Quantity | ||
| MaterialFixedLotSizeQuantity | MaterialFixedLotSizeQuantity | Quantity | ||
| OpnCtlgSupplierName | OpnCtlgSupplierName | Supplier | ||
| Manufacturer | Manufacturer | Manufacturer | ||
| OpnCtlgMaterialIDBySupplier | OpnCtlgMaterialIDBySupplier | Supplier Product Number | ||
| ManufacturerMaterial | ManufacturerMaterial | Manufacturing Material | ||
| MaterialGroup | MaterialGroup | Product Category | ||
| OpnCtlgPrcValidityStartDate | OpnCtlgPrcValidityStartDate | Price Valid From | ||
| OpnCtlgPrcValidityEndDate | OpnCtlgPrcValidityEndDate | Price Valid To | ||
| TaxTolerancePercent | TaxTolerancePercent | Tax Percentage | ||
| ManufacturerName | ManufacturerName | Manufacturer Name | ||
| OpnCtlgIntCatalogName | OpnCtlgIntCatalogName | Internal Catalog Name | ||
| Material | Material | Material | ||
| MaterialGroupName | _MtrGrpText | MaterialGroupName | Material Group Name | |
| OpnCtlgSupplierID | OpnCtlgSupplierID | Vendor | ||
| ProductType | ProductType | Product Type | ||
| OpnCtlgCategoryID | OpnCtlgCategoryID | Category | ||
| OpnCtlgHasProdRelationExists | OpnCtlgHasProdRelationExists | Product Relation Exists | ||
| OpnCtlgMainImageText | Main Image Text | |||
| OpnCtlgMainImageID | _AttachMain | OpnCtlgImageID | Search Main Image Key | |
| OpnCtlgPriceID | OpnCtlgPriceID | Price Key | ||
| OpnCtlgHasPriceScale | OpnCtlgHasPriceScale | Price Scale | ||
| Service | Service | Service | ||
| OpnCtlgExternalProductID | OpnCtlgExternalProductID | External Product ID | ||
| OpnCtlgWebServiceID | OpnCtlgWebServiceID | Catalog Web Service ID | ||
| ItemType | ItemType | Item Type | ||
| OpnCtlgContentUnit | Content Unit | |||
| ContractAccount | ContractAccount | Contract Account | ||
| OpnCtlgContractItem | OpnCtlgContractItem | Contract Item | ||
| OpnCtlgExternalQuoteID | OpnCtlgExternalQuoteID | External Quote ID | ||
| OpnCtlgExtQuoteItem | OpnCtlgExtQuoteItem | External Quote Item | ||
| OpnCtlgExtSchemaType | OpnCtlgExtSchemaType | External Schema Type | ||
| OpnCtlgExternalCategoryID | OpnCtlgExternalCategoryID | External Category ID | ||
| OpnCtlgExternalCategory | OpnCtlgExternalCategory | External Category | ||
| ParentItem | ParentItem | Parent Item | ||
| Plant | Plant | Plant | ||
| OpnCtlgPurchOrg | OpnCtlgPurchOrg | Purchasing Organization | ||
| OpnCtlgSystemName | OpnCtlgSystemName | System Name | ||
| OpnCtlgLeadTmeAnncmntDuDaysVal | OpnCtlgLeadTmeAnncmntDuDaysVal | Lead Time | ||
| _UnitOfMeasureText | _UnitOfMeasureText | |||
| OpnCtlgNumberOfHits | Number of Hits | |||
| OrderQuantity | Order Quantity | |||
| ObjectType | ||||
| OpnCtlgOriginApplication | ||||
| _OpnCtlgAttribute | _OpnCtlgAttribute | |||
| _OpnCtlgReview | _OpnCtlgReview | |||
| _OpnCtlgProdImages | _OpnCtlgProdImages |
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_OpnCtlgItem.
-- 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: COPNCTLGITEM
CREATE VIEW C_OpnCtlgItem AS
SELECT
OpnCtlgItemID,
OpnCtlgItemKey,
_AttachMain._Attach.OpnCtlgMainImageURL AS OpnCtlgMainImageURL,
_ItemDesc.ProductDescription AS ProductDescription,
_LongText.OpnCtlgSrchLongText AS OpnCtlgSrchLongText,
OpenCatalogUserRatingValue,
ProductCatalogName,
_PriceCon.OpnCtlgItemPrice AS OpnCtlgItemPrice,
_PriceCon.OpnCtlgItemCurrency AS OpnCtlgItemCurrency,
NetPriceQuantity,
UnitOfMeasure,
OpnCtlgMinOrderQuantity,
MaterialFixedLotSizeQuantity,
OpnCtlgSupplierName,
Manufacturer,
OpnCtlgMaterialIDBySupplier,
ManufacturerMaterial,
MaterialGroup,
OpnCtlgPrcValidityStartDate,
OpnCtlgPrcValidityEndDate,
TaxTolerancePercent,
ManufacturerName,
OpnCtlgIntCatalogName,
Material,
_MtrGrpText.MaterialGroupName AS MaterialGroupName,
OpnCtlgSupplierID,
ProductType,
OpnCtlgCategoryID,
OpnCtlgHasProdRelationExists,
_AttachMain._Attach.OpnCtlgMainImageName AS OpnCtlgMainImageText,
_AttachMain.OpnCtlgImageID AS OpnCtlgMainImageID,
OpnCtlgPriceID,
OpnCtlgHasPriceScale,
Service,
OpnCtlgExternalProductID,
OpnCtlgWebServiceID,
ItemType,
cast( OpnCtlgContentUnit as abap.unit( 3 ) ) AS OpnCtlgContentUnit,
ContractAccount,
OpnCtlgContractItem,
OpnCtlgExternalQuoteID,
OpnCtlgExtQuoteItem,
OpnCtlgExtSchemaType,
OpnCtlgExternalCategoryID,
OpnCtlgExternalCategory,
ParentItem,
Plant,
OpnCtlgPurchOrg,
OpnCtlgSystemName,
OpnCtlgLeadTmeAnncmntDuDaysVal,
cast(0 as abap.int4( 10 )) AS OpnCtlgNumberOfHits,
cast(0 as abap.int4( 10 )) AS OrderQuantity,
cast(0 as abap.char( 30 )) AS ObjectType,
cast(0 as abap.char( 50 )) AS OpnCtlgOriginApplication
FROM I_OpnCtlgItem
LEFT OUTER JOIN C_OpnCtlgAttribute AS _OpnCtlgAttribute ON OpnCtlgItemID = _OpnCtlgAttribute.OpnCtlgItemID -- association [1..*]
LEFT OUTER JOIN C_OpnCtlgReview AS _OpnCtlgReview ON OpnCtlgItemID = _OpnCtlgReview.OpnCtlgItemID -- association [1..*]
LEFT OUTER JOIN C_OpnCtlgProdImages AS _OpnCtlgProdImages ON OpnCtlgItemID = _OpnCtlgProdImages.OpnCtlgItemID -- association [1..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA