A_ProductType

DDL: A_PRODUCTTYPE SQL: APRODTYPE Type: view COMPOSITE

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)

SourceAliasJoin Type
I_Producttype I_Producttype from

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/