I_PurDocHeader

DDL: I_PURDOCHEADER SQL: IPDHEADER Type: view BASIC Package: VDM_CPM_WS

Purchasing Document Header

I_PurDocHeader is a Basic CDS View that provides data about "Purchasing Document Header" in SAP S/4HANA. It reads from 1 data source (ekko) and exposes 6 fields with key field PurchasingDocument. Part of development package VDM_CPM_WS.

Data Sources (1)

SourceAliasJoin Type
ekko ekko from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPDHEADER view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Purchasing Document Header view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.lifecycle.successor I_PurchasingDocument view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument ebeln
CustomerSupplierAccount lifnr
PurchasingDocumentCategory ekko bstyp
PurchasingDocumentType ekko bsart
PurchasingOrganization ekko ekorg
PurchasingGroup ekko ekgrp
@AbapCatalog.sqlViewName: 'IPDHEADER'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #BASIC
@ObjectModel.usageType.sizeCategory:#XL
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Purchasing Document Header'

@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.lifecycle.successor: 'I_PurchasingDocument'


define view I_PurDocHeader as select from ekko {
    key ebeln as PurchasingDocument,
        lifnr as CustomerSupplierAccount,
        //Below fields are exposed for DCL

        ekko.bstyp                                   as PurchasingDocumentCategory,
        ekko.bsart                                   as PurchasingDocumentType,
        ekko.ekorg                                   as PurchasingOrganization,
        ekko.ekgrp                                   as PurchasingGroup
        
}