I_ProdAllocCharcCtlgPathText

DDL: I_PRODALLOCCHARCCTLGPATHTEXT SQL: IPACTLG_PATH_T Type: view BASIC Package: PROD_ALLOC_CHARC_CATALOG

Product Allocation Characteristic Catalog Path

I_ProdAllocCharcCtlgPathText is a Basic CDS View that provides data about "Product Allocation Characteristic Catalog Path" in SAP S/4HANA. It reads from 1 data source (pactlg_path_t) and exposes 8 fields with key fields ProdAllocCharcCtlgPathUUID, Language. It has 3 associations to related views. Part of development package PROD_ALLOC_CHARC_CATALOG.

Data Sources (1)

SourceAliasJoin Type
pactlg_path_t pactlg_path_t from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_ProdAllocCharcCatalogPath _ProdAllocCharcCatalogPath $projection.ProdAllocCharcCtlgPathUUID = _ProdAllocCharcCatalogPath.ProdAllocCharcCtlgPathUUID
[1..1] I_ProdAllocCharcCatalog _ProdAllocCharcCatalog $projection.ProdAllocCharcCatalogUUID = _ProdAllocCharcCatalog.ProdAllocCharcCatalogUUID

Annotations (12)

NameValueLevelField
EndUserText.label Product Allocation Characteristic Catalog Path view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IPACTLG_PATH_T view
AbapCatalog.compiler.compareFilter true view
ObjectModel.dataCategory #TEXT view
Search.searchable true view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ProdAllocCharcCtlgPathUUID prodalloccharcctlgpathuuid
KEY Language language
ProdAllocCharcCtlgPathDesc prodalloccharcctlgpathdesc
ProdAllocCharcCatalogUUID prodalloccharccataloguuid
ProdAllocCtlgPathDescUUID prodallocctlgpathdescuuid
_ProdAllocCharcCatalog _ProdAllocCharcCatalog
_ProdAllocCharcCatalogPath _ProdAllocCharcCatalogPath
_Language _Language
@EndUserText.label: 'Product Allocation Characteristic Catalog Path' //same as DDL description

@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@AccessControl.authorizationCheck: #NOT_REQUIRED //or #CHECK  

@AbapCatalog.sqlViewName: 'IPACTLG_PATH_T'
@AbapCatalog.compiler.compareFilter:true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: ['ProdAllocCharcCtlgPathUUID']
@Search.searchable: true
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass:#MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_ProdAllocCharcCtlgPathText
   as select from pactlg_path_t
   
  association [0..1] to I_Language as _Language  
    on $projection.Language = _Language.Language
  
  association [1..1] to I_ProdAllocCharcCatalogPath as _ProdAllocCharcCatalogPath 
    on $projection.ProdAllocCharcCtlgPathUUID = _ProdAllocCharcCatalogPath.ProdAllocCharcCtlgPathUUID
    
  association [1..1] to I_ProdAllocCharcCatalog as _ProdAllocCharcCatalog
    on $projection.ProdAllocCharcCatalogUUID = _ProdAllocCharcCatalog.ProdAllocCharcCatalogUUID  
 

{
// Key fields

  @ObjectModel.foreignKey.association: '_ProdAllocCharcCatalogPath'
  @ObjectModel.mandatory: true
  @UI.hidden
  key prodalloccharcctlgpathuuid as ProdAllocCharcCtlgPathUUID,
  
  @Semantics.language: true
  @ObjectModel.foreignKey.association: '_Language'
  @ObjectModel.mandatory: true
  key language as Language, //text views shall always be language dependent

   

// Fields

  @Semantics.text: true
  @UI.hidden  
  // Is @UI.hidden because in the consumption view either this description or

  // the description of the data element shall be available (depending on which

  // one is filled), for this we will provide a new description field in the

  // consumption view which will be calculated by CASE-statement.

  @Search.defaultSearchElement: true
  prodalloccharcctlgpathdesc as ProdAllocCharcCtlgPathDesc, 

  @ObjectModel.foreignKey.association: '_ProdAllocCharcCatalog'
  @ObjectModel.readOnly: true
  prodalloccharccataloguuid as ProdAllocCharcCatalogUUID,

  @UI.hidden
  @ObjectModel.readOnly: true
  prodallocctlgpathdescuuid as ProdAllocCtlgPathDescUUID,

  
// Associations

  @ObjectModel.association.type: [#TO_COMPOSITION_ROOT]
  _ProdAllocCharcCatalog,

  @ObjectModel.association.type: [#TO_COMPOSITION_PARENT]    
  _ProdAllocCharcCatalogPath, 
   
  _Language
}