I_SalesDocApprovalStatus

DDL: I_SALESDOCAPPROVALSTATUS Type: view BASIC

Approval Sts for Sales Document

I_SalesDocApprovalStatus is a Basic CDS View (Dimension) that provides data about "Approval Sts for Sales Document" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field SalesDocApprovalStatus. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SalesDocApprovalStatusT _Text $projection.SalesDocApprovalStatus = _Text.SalesDocApprovalStatus

Annotations (18)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey SalesDocApprovalStatus view
ObjectModel.sapObjectNodeType.name SalesDocApprovalStatus view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
AbapCatalog.sqlViewName ISLSDOCAPPRVLSTS view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Approval Sts for Sales Document view
Search.searchable true view
Consumption.ranked true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SalesDocApprovalStatus
DomainValue domvalue_l
_Text _Text
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED

@ObjectModel: {
  representativeKey: 'SalesDocApprovalStatus',
  sapObjectNodeType.name: 'SalesDocApprovalStatus',
  resultSet.sizeCategory: #XS,
  usageType: {
    dataClass: #META,
    serviceQuality: #A,
    sizeCategory: #S
  },
  supportedCapabilities: [ #ANALYTICAL_DIMENSION,
                           #SQL_DATA_SOURCE,
                           #CDS_MODELING_DATA_SOURCE,
                           #CDS_MODELING_ASSOCIATION_TARGET,
                           #SEARCHABLE_ENTITY],
  modelingPattern: [ #ANALYTICAL_DIMENSION ]
}

@AbapCatalog: {
  sqlViewName: 'ISLSDOCAPPRVLSTS',
  preserveKey:true,
  compiler.compareFilter: true
}

@Analytics: {
  dataCategory: #DIMENSION,
  internalName: #LOCAL
}

@Metadata.ignorePropagatedAnnotations:true
@EndUserText.label: 'Approval Sts for Sales Document'
@Search.searchable: true
@Consumption.ranked: true

define view I_SalesDocApprovalStatus
  as select from dd07l

  association [0..*] to I_SalesDocApprovalStatusT as _Text on $projection.SalesDocApprovalStatus = _Text.SalesDocApprovalStatus

{
      @ObjectModel.text.association: '_Text'
  key cast ( substring(dd07l.domvalue_l, 1, 1) as sd_apm_approval_status preserving type ) as SalesDocApprovalStatus,
      
      @Analytics.hidden: true
      @Consumption.hidden: true
      @Search.defaultSearchElement: true
      @Search.ranking: #HIGH
      domvalue_l as DomainValue,
      
      _Text

}

where
  (
    dd07l.domname  = 'SD_APM_APPROVAL_STATUS'
  )
  and(
    dd07l.as4local = 'A'
  )
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_SALESDOCAPPROVALSTATUST"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/