I_FldLogsPurOrdOpenQty
Purchase order open quantity
I_FldLogsPurOrdOpenQty is a Composite CDS View that provides data about "Purchase order open quantity" in SAP S/4HANA. It reads from 1 data source (I_PurgDocScheduleLine) and exposes 5 fields with key fields PurchasingDocument, PurchasingDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurgDocScheduleLine | I_PurgDocScheduleLine | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFLPO_OPNQTY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Purchase order open quantity | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | PurchasingDocument | ||
| KEY | PurchasingDocumentItem | PurchasingDocumentItem | ||
| DeliveryDate | ||||
| OpenQtyInPurchaseOrderUnit | ||||
| Batch |
@AbapCatalog.sqlViewName: 'IFLPO_OPNQTY'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Purchase order open quantity'
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType: {serviceQuality: #C,
dataClass: #TRANSACTIONAL,
sizeCategory: #L}
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_FldLogsPurOrdOpenQty
as select from I_PurgDocScheduleLine
{
key PurchasingDocument,
key PurchasingDocumentItem,
max(ScheduleLineDeliveryDate) as DeliveryDate,
sum( ScheduleLineOpenQuantity ) as OpenQtyInPurchaseOrderUnit,
max( Batch ) as Batch
}
//where ScheduleLineOpenQuantity is not initial
group by
PurchasingDocument,
PurchasingDocumentItem;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURGDOCSCHEDULELINE"
],
"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