I_PurchasingDocumentCategory

DDL: I_PURCHASINGDOCUMENTCATEGORY SQL: IMMPURDOCCAT Type: view BASIC

Purchasing Document Category

I_PurchasingDocumentCategory is a Basic CDS View (Dimension) that provides data about "Purchasing Document Category" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field PurchasingDocumentCategory. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PurgDocumentCategoryText _Text

Annotations (16)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey PurchasingDocumentCategory view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Purchasing Document Category view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IMMPURDOCCAT view
Search.searchable true view
Analytics.dataExtraction.enabled true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentCategory
DomainValue dd07l domvalue_l
_Text _Text
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.representativeKey: 'PurchasingDocumentCategory' 
@ClientHandling.algorithm: #SESSION_VARIABLE 
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.supportedCapabilities: [ #EXTRACTION_DATA_SOURCE, #ANALYTICAL_DIMENSION, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@EndUserText.label: 'Purchasing Document Category' //same as DDL description

@Analytics.dataCategory:#DIMENSION
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'IMMPURDOCCAT'
@Search.searchable: true
@Analytics.dataExtraction.enabled: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@Metadata.ignorePropagatedAnnotations: true

define root view I_PurchasingDocumentCategory
  as select from dd07l

  composition [0..*] of I_PurgDocumentCategoryText as _Text 
{
  
      @ObjectModel.text.association: '_Text'
  key cast (cast(substring(dd07l.domvalue_l ,1,1) as abap.char( 1 ) ) as ebstyp ) as PurchasingDocumentCategory,
      @Consumption.hidden: true
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      dd07l.domvalue_l                        as DomainValue,

      _Text
}
where
      domname  = 'EBSTYP'
  and as4local = 'A'
  and dd07l.as4vers = '0000' 

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_PURGDOCUMENTCATEGORYTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/