I_PURCHASINGDOCHISTORY

CDS View

Purchase Document History

I_PURCHASINGDOCHISTORY is a CDS View in S/4HANA. Purchase Document History. 4 CDS views read from this table.

CDS Views using this table (4)

ViewTypeJoinVDMDescription
P_DeliveryProcFlow view inner CONSUMPTION Delivery Process Flow
P_InbDelivProcFlowChildren view inner COMPOSITE Inbound Delivery Process Flow Successors
P_JP_GRLeadingAcctgDocItem view inner COMPOSITE
P_ProcFlwMatlDocByPurOrdItm view from CONSUMPTION Material Document by PO Item (from PO History)
@AbapCatalog.sqlViewName: 'IPURGDOCHIST'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@VDM.viewType: #BASIC

@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #TRANSACTIONAL

@ClientHandling.algorithm: #SESSION_VARIABLE

@EndUserText.label: 'Purchase Document History' 
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API

@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'P_PurchasingDocHistory'

define view I_PurchasingDocHistory as 
select from ekbe 
{
  key ebeln as PurchasingDocument,
  key ebelp as PurchasingDocumentItem,
  key vgabe as PurchaseOrderTransactionType, 
  key gjahr as MaterialDocumentYear, 
  key belnr as MaterialDocument,
  key buzei as MaterialDocumentItem,
      lfbnr as ReferenceDocument,
      lfpos as ReferenceDocumentItem,
      bwart as GoodsMovementType,     
      lfgja as FiscalYear,
      menge as Quantity 
}