I_PurgDocTypeSubset

DDL: I_PURGDOCTYPESUBSET SQL: IPURGDOCTYPSS Type: view BASIC Package: ODATA_MM_PUR_MYPURGDOCITEMS

Subset of Purchasing Document Types

I_PurgDocTypeSubset is a Basic CDS View that provides data about "Subset of Purchasing Document Types" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field PurchasingDocumentType. It has 1 association to related views. Part of development package ODATA_MM_PUR_MYPURGDOCITEMS.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PurgDocTypeSubsetText _Text

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IPURGDOCTYPSS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Subset of Purchasing Document Types view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey PurchasingDocumentType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
VDM.lifecycle.contract.type #NONE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentType
_Text _Text
@AbapCatalog.sqlViewName: 'IPURGDOCTYPSS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Subset of Purchasing Document Types'
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'PurchasingDocumentType'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.sizeCategory: #S
@VDM.lifecycle.contract.type: #NONE

define root view I_PurgDocTypeSubset
  as select from dd07l
  composition [0..*] of I_PurgDocTypeSubsetText as _Text
{
      @ObjectModel.text.association: '_Text'
  key cast( substring( domvalue_l, 1, 1 ) as char01 preserving type ) as PurchasingDocumentType,
      _Text
}
where
      dd07l.domname  = 'VDM_MM_DOCUMENTTYPESUBSET'
  and dd07l.as4local = 'A'
  and dd07l.as4vers  = '0000'