I_ProductionResourceText

DDL: I_PRODUCTIONRESOURCETEXT SQL: IPPPRODNRESTEXT Type: view_entity BASIC Package: VDM_PP_MD_WKC

Production Resource - Text

I_ProductionResourceText is a Basic CDS View that provides data about "Production Resource - Text" in SAP S/4HANA. It reads from 1 data source (crtx) and exposes 6 fields with key fields ProductionResourceType, ProductionResourceInternalID, Language. It has 2 associations to related views. Part of development package VDM_PP_MD_WKC.

Data Sources (1)

SourceAliasJoin Type
crtx crtx from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ProductionResourceType _ProductionResourceType $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType
[1..1] I_Language _Language $projection.Language = _Language.Language

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.technicalName IPPPRODNRESTEXT view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ProductionResourceInternalID view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Production Resource - Text view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ProductionResourceType
KEY ProductionResourceInternalID crtx objid
KEY Language
ProductionResourceText
_ProductionResourceType _ProductionResourceType
_Language _Language
//@AbapCatalog.sqlViewName: 'IPPPRODNRESTEXT'

//@AbapCatalog.compiler.compareFilter: true

//@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.technicalName: 'IPPPRODNRESTEXT'
//@ClientHandling.algorithm: #SESSION_VARIABLE

@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'ProductionResourceInternalID'
@ObjectModel.dataCategory: #TEXT
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #MASTER}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Production Resource - Text'

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
//define view I_ProductionResourceText

define view entity I_ProductionResourceText
  as select from crtx as crtx
  
  association [1..1] to I_ProductionResourceType as _ProductionResourceType on $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType
  association [1..1] to I_Language               as _Language               on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_ProductionResourceType'
  key cast(crtx.objty as productionresourcetype preserving type)  as ProductionResourceType,
  key crtx.objid                                                  as ProductionResourceInternalID,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast(crtx.spras as spras preserving type)                   as Language,

      // Text

      @Semantics.text: true
      cast (crtx.ktext as productionresourcetext preserving type) as ProductionResourceText,

      // Associations

      _ProductionResourceType,
      _Language
};