I_TranspOrdExecStatusText_2

DDL: I_TRANSPORDEXECSTATUSTEXT_2 Type: view_entity BASIC Package: VDM_TM_BASIC

Transp Order Execution Status - Text

I_TranspOrdExecStatusText_2 is a Basic CDS View that provides data about "Transp Order Execution Status - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields TransportationOrderExecSts, Language. It has 1 association to related views. Part of development package VDM_TM_BASIC.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Transp Order Execution Status - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey TransportationOrderExecSts view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY TransportationOrderExecSts
KEY Language ddlanguage
TransportationOrderExecStsDesc
DomainValue dd07t domvalue_l
_TransportationOrderExecSts _TransportationOrderExecSts
_Language _Language
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Transp Order Execution Status - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.representativeKey: 'TransportationOrderExecSts'
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET,
                                     #CDS_MODELING_DATA_SOURCE,
                                     #LANGUAGE_DEPENDENT_TEXT,
                                     #SEARCHABLE_ENTITY,
                                     #SQL_DATA_SOURCE]
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.sizeCategory: #S
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
define view entity I_TranspOrdExecStatusText_2
  as select from dd07t
  association        to parent I_TranspOrdExecStatus_2 as _TransportationOrderExecSts on $projection.TransportationOrderExecSts = _TransportationOrderExecSts.TransportationOrderExecSts
  association [0..1] to I_Language                     as _Language                   on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_TransportationOrderExecSts'
  key cast(substring(domvalue_l, 1, 2) as /scmtms/tor_execution_status preserving type) as TransportationOrderExecSts,

      @Semantics.language
      @ObjectModel.foreignKey.association: '_Language'
  key ddlanguage                                                                        as Language,

      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #LOW
      @Semantics.text: true
      cast(ddtext as /scmtms/vdm_tor_lc_status_desc preserving type )                   as TransportationOrderExecStsDesc,

      @Analytics.hidden: true
      @Consumption.hidden: true
      dd07t.domvalue_l                                                                  as DomainValue,

      /* Associations */
      _TransportationOrderExecSts,
      _Language
}
where
      domname                     =  '/SCMTMS/TOR_EXECUTION_STATUS'
  and as4local                    =  'A'
  and substring(domvalue_l, 1, 2) <> '01' //Not Relevant

  and substring(domvalue_l, 1, 2) <> '05' //Interrupted

  and substring(domvalue_l, 1, 2) <> '10' //Capacity Planning Finished