I_ProductDescriptionWD

DDL: I_PRODUCTDESCRIPTIONWD SQL: IPRDDESCRWD Type: view TRANSACTIONAL

Product BO - Description Node (draft)

I_ProductDescriptionWD is a Transactional CDS View that provides data about "Product BO - Description Node (draft)" in SAP S/4HANA. It reads from 1 data source (I_ProductDescription) and exposes 7 fields with key fields Product, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductDescription Description from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ProductWD _Product $projection.Product = _Product.Product

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IPRDDESCRWD view
EndUserText.label Product BO - Description Node (draft) view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeDraftPersistence PROD_DESCR view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey Product view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Product I_ProductDescription Product
KEY Language I_ProductDescription Language
ProductForEdit I_ProductDescription Product
LanguageForEdit I_ProductDescription Language
ProductDescription I_ProductDescription ProductDescription
LanguageISOCode I_ProductDescription LanguageISOCode
_Product _Product
@AbapCatalog.sqlViewName: 'IPRDDESCRWD'
@EndUserText.label: 'Product BO - Description Node (draft)'
@Search.searchable: true
@AccessControl.authorizationCheck: #CHECK

@VDM.viewType: #TRANSACTIONAL
@ObjectModel: {
    writeDraftPersistence: 'PROD_DESCR',
    semanticKey: [ 'Product','LanguageISOCode' ],
    createEnabled : true,
    deleteEnabled : true,
    updateEnabled : true,
    usageType.serviceQuality: #A,
    usageType.sizeCategory : #L,
    usageType.dataClass: #TRANSACTIONAL,
    dataCategory: #TEXT,
    representativeKey: 'Product'
}

define view I_ProductDescriptionWD
  as select from I_ProductDescription as Description

  association [1..1] to I_ProductWD as _Product on $projection.Product = _Product.Product

{


  key Description.Product,
      @Semantics.language: true
  key Description.Language,

      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      @ObjectModel.editableFieldFor: 'Product'
      Description.Product  as ProductForEdit,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @ObjectModel:{
        readOnly: 'EXTERNAL_CALCULATION',
        editableFieldFor: 'Language'
      }
      Description.Language as LanguageForEdit,
      @Semantics.languageReference: 'LanguageForEdit'
      @Semantics.text
      Description.ProductDescription,
      @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
      Description.LanguageISOCode,
      @ObjectModel.association.type: [#TO_COMPOSITION_ROOT,#TO_COMPOSITION_PARENT]
      _Product
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODUCTDESCRIPTION"
],
"ASSOCIATED":
[
"I_PRODUCTWD"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/