I_ProdAllocLifecycleStatusT

DDL: I_PRODALLOCLIFECYCLESTATUST SQL: IPALIFECYCLESTST Type: view BASIC

Product Allocation Lifecycle Status - Text

I_ProdAllocLifecycleStatusT is a Basic CDS View (Dimension) that provides data about "Product Allocation Lifecycle Status - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields ProdAllocationLifecycleStatus, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_ProdAllocLifecycleStatus _ProdAllocLifecycleStatus $projection.ProdAllocationLifecycleStatus = _ProdAllocLifecycleStatus.ProdAllocationLifecycleStatus

Annotations (15)

NameValueLevelField
EndUserText.label Product Allocation Lifecycle Status - Text view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey ProdAllocationLifecycleStatus view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IPALIFECYCLESTST view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #META view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ProdAllocationLifecycleStatus
KEY Language ddlanguage
ProdAllocLifecycleStatusDesc
_ProdAllocLifecycleStatus _ProdAllocLifecycleStatus
_Language _Language
@EndUserText.label: 'Product Allocation Lifecycle Status - Text' //same as DDL description

//@Analytics.dataCategory: #TEXT

@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'ProdAllocationLifecycleStatus'
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@AccessControl.authorizationCheck: #NOT_REQUIRED //or #CHECK 

@AbapCatalog.sqlViewName: 'IPALIFECYCLESTST'
@ClientHandling.algorithm: #SESSION_VARIABLE 
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #META
@ObjectModel.modelingPattern:           #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities:  [  #LANGUAGE_DEPENDENT_TEXT,
                                        #CDS_MODELING_DATA_SOURCE,
                                        #CDS_MODELING_ASSOCIATION_TARGET,
                                        #SQL_DATA_SOURCE,
                                        #EXTRACTION_DATA_SOURCE,
                                        #SEARCHABLE_ENTITY                   ]
@Metadata.ignorePropagatedAnnotations: true
define view I_ProdAllocLifecycleStatusT
   as select from dd07t
   association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
   association [1..1] to I_ProdAllocLifecycleStatus as _ProdAllocLifecycleStatus 
      on $projection.ProdAllocationLifecycleStatus = _ProdAllocLifecycleStatus.ProdAllocationLifecycleStatus
{
    @ObjectModel.foreignKey.association: '_ProdAllocLifeCycleStatus'
    key cast ( substring( domvalue_l, 1, 2 ) as prodallocationlifecyclestatus preserving type ) as ProdAllocationLifecycleStatus,
    @Semantics.language
    key ddlanguage as Language,
    @Semantics.text
    cast( ddtext as prodalloclifecyclestatusdesc preserving type ) as ProdAllocLifecycleStatusDesc,

    _ProdAllocLifecycleStatus, //decomment only if no problems in analytics

    _Language 
}
where domname  = 'PRODALLOCATIONLIFECYCLESTATUS' 
  and as4local = 'A'  
  
  
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PRODALLOCLIFECYCLESTATUS"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/