I_SalesDocApprovalStatusT

DDL: I_SALESDOCAPPROVALSTATUST Type: view BASIC

Approval Sts for Sales Document - Text

I_SalesDocApprovalStatusT is a Basic CDS View that provides data about "Approval Sts for Sales Document - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields SalesDocApprovalStatus, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

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

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey SalesDocApprovalStatus view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ISDAPPRVLSTST view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Approval Sts for Sales Document - Text view
Search.searchable true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SalesDocApprovalStatus
KEY Language ddlanguage
SalesDocApprovalStatusDesc ddtext
_SalesDocApprovalStatus _SalesDocApprovalStatus
_Language _Language
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel: {
  dataCategory: #TEXT,
  representativeKey: 'SalesDocApprovalStatus',
  usageType: {
    dataClass: #META,
    serviceQuality: #A,
    sizeCategory: #S
  },
  supportedCapabilities: [ #LANGUAGE_DEPENDENT_TEXT, 
                           #SQL_DATA_SOURCE,
                           #CDS_MODELING_DATA_SOURCE,
                           #CDS_MODELING_ASSOCIATION_TARGET,
                           #SEARCHABLE_ENTITY],
  modelingPattern: [ #LANGUAGE_DEPENDENT_TEXT ]
}

@VDM.viewType: #BASIC

@AccessControl.authorizationCheck: #NOT_REQUIRED

@AbapCatalog: {
  sqlViewName: 'ISDAPPRVLSTST',
  preserveKey:true,
  compiler.compareFilter: true
}
  
@Metadata.ignorePropagatedAnnotations:true

@EndUserText.label: 'Approval Sts for Sales Document - Text'

@Search.searchable: true

define view I_SalesDocApprovalStatusT
  as select from dd07t

  association [0..1] to I_SalesDocApprovalStatus as _SalesDocApprovalStatus on $projection.SalesDocApprovalStatus = _SalesDocApprovalStatus.SalesDocApprovalStatus
  association [0..1] to I_Language               as _Language               on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_SalesDocApprovalStatus'
  key substring(domvalue_l, 1, 1) as SalesDocApprovalStatus,

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

      @Semantics.text: true
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.9
      @Search.ranking: #LOW  
      ddtext                      as SalesDocApprovalStatusDesc,

      //Associations

      _SalesDocApprovalStatus,
      _Language
}
where
  (
    dd07t.domname  = 'SD_APM_APPROVAL_STATUS'
  )
  and(
    dd07t.as4local = 'A'
  );
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_SALESDOCAPPROVALSTATUS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/