A_ProductType
Product type view
A_ProductType is a Composite CDS View that provides data about "Product type view" in SAP S/4HANA. It reads from 1 data source (I_Producttype) and exposes 4 fields with key field ProductType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Producttype | I_Producttype | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | APRODTYPE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Product type view | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductType | ProductType | ||
| ProductTypeCode | ProductTypeCode | |||
| AuthorizationGroup | AuthorizationGroup | |||
| MaintenanceStatus | MaintenanceStatus |
@AbapCatalog.sqlViewName: 'APRODTYPE'
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #COMPOSITE
@AbapCatalog.compiler.compareFilter: true
//@ObjectModel.representativeKey: 'ProductType'
@EndUserText.label: 'Product type view'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations:true
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
define view A_ProductType
as select from I_Producttype
//association [0..*] to I_ProductTypeText as _Text on $projection.ProductType = _Text.ProductType
// association [0..1] to I_ProductTypeCode as _ProductTypeCode on $projection.ProductTypeCode = _ProductTypeCode.ProductTypeCode
{
//@ObjectModel.text.association: '_Text'
//@Search.defaultSearchElement: true
//@Search.fuzzinessThreshold: 0.8
@ObjectModel.sapObjectNodeTypeReference:'ProductType'
key ProductType,
//@ObjectModel.foreignKey.association:'_ProductTypeCode'
ProductTypeCode,
AuthorizationGroup,
MaintenanceStatus
//_Text,
//_ProductTypeCode
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODUCTTYPE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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