I_PURCHASINGDOCUMENTCATEGORY

CDS View

Purchasing Document Category

I_PURCHASINGDOCUMENTCATEGORY is a CDS View in S/4HANA. Purchasing Document Category. 4 CDS views read from this table.

CDS Views using this table (4)

ViewTypeJoinVDMDescription
C_PurchasingDocCategoryVH view from CONSUMPTION Purchasing Document Category Value Help
C_PurchasingDocumentCategoryDP view_entity from CONSUMPTION Purchasing Document Category
C_PurgDocCatForOutlineAgrmtVH view from CONSUMPTION Outline Agreement Type Value Help
C_PurOrdMaintainOutlAIValHelp view left_outer CONSUMPTION PO Maintenance: Value Help for Outline Agreement Items
@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 ]
@ObjectModel.sapObjectNodeType.name:'PurchasingDocumentCategory'
@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
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION

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'