I_PurDocHistory
Purchasing Document History
I_PurDocHistory is a Basic CDS View that provides data about "Purchasing Document History" in SAP S/4HANA. It reads from 1 data source (ekbe) and exposes 8 fields with key fields PurchasingDocument, PurchasingDocumentItem, PurchaseOrderCategory, MaterialDocument, MaterialDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ekbe | ekbe | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPDHSTRY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Purchasing Document History | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.lifecycle.successor | I_PurchaseOrderHistory | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | ebeln | ||
| KEY | PurchasingDocumentItem | ebelp | ||
| KEY | PurchaseOrderCategory | vgabe | ||
| KEY | MaterialDocument | belnr | ||
| KEY | MaterialDocumentItem | buzei | ||
| KEY | MaterialDocumentYear | gjahr | ||
| DocumentDate | bldat | |||
| DeliveryIndicator | elikz |
@AbapCatalog.sqlViewName: 'IPDHSTRY'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ObjectModel.usageType.sizeCategory:#XXL
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@EndUserText.label: 'Purchasing Document History'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.lifecycle.successor: 'I_PurchaseOrderHistory'
define view I_PurDocHistory as select from ekbe {
key ebeln as PurchasingDocument,
key ebelp as PurchasingDocumentItem,
key vgabe as PurchaseOrderCategory,
key belnr as MaterialDocument,
key buzei as MaterialDocumentItem,
key gjahr as MaterialDocumentYear,
bldat as DocumentDate,
elikz as DeliveryIndicator
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EKBE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA