I_FldLogsPurDocByPurReqn
Pur doc. for pur req. of reservation
I_FldLogsPurDocByPurReqn is a Composite CDS View that provides data about "Pur doc. for pur req. of reservation" in SAP S/4HANA. It reads from 1 data source (I_FldLogsProductsInResvn) and exposes 23 fields with key fields FldLogsMaintenanceOrder, Product, Plant, ReservationItem, Reservation. It has 1 association to related views. Part of development package FLOG_RETURN_WOV.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FldLogsProductsInResvn | I_FldLogsProductsInResvn | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PurchasingDocumentItem | _PurchaseItem | $projection.PurchaseRequisition = _PurchaseItem.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurchaseItem.PurchaseRequisitionItem and _PurchaseItem.PurchasingDocumentDeletionCode = '' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFLDLOGSPOBYPR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Pur doc. for pur req. of reservation | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FldLogsMaintenanceOrder | FldLogsMaintenanceOrder | SettlementOrder | |
| KEY | Product | Product | Product Sold | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| KEY | Reservation | Reservation | Reservation | |
| KEY | PurchaseOrder | _PurchaseItem | PurchasingDocument | Purchasing Document |
| KEY | PurchaseOrderItem | _PurchaseItem | PurchasingDocumentItem | Purchasing Doc. Item |
| RemoteStorageLocation | RemoteStorageLocation | Sublocation | ||
| RequiredQuantity | RequiredQuantity | Requirement qty | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| WithdrawnQuantity | Withdrawn Quantity | |||
| Operation | Operation | Transaction | ||
| FldLogsSupplyProcess | FldLogsSupplyProcess | Supply Process | ||
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| PurchaseOrderQty | _PurchaseItem | OrderQuantity | Quantity | |
| OrderQuantityUnit | _PurchaseItem | OrderQuantityUnit | Sales Unit | |
| Quantity | Value | |||
| _PurchasingDocument | _PurchaseItem | _PurchasingDocument | ||
| RecipientLocationCode | RecipientLocationCode | Recipient Loc. | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| _UnitOfMeasure | _UnitOfMeasure |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_FldLogsPurDocByPurReqn.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IFLDLOGSPOBYPR
CREATE VIEW I_FldLogsPurDocByPurReqn AS
SELECT
FldLogsMaintenanceOrder,
Product,
Plant,
ReservationItem,
Reservation,
_PurchaseItem.PurchasingDocument AS PurchaseOrder,
_PurchaseItem.PurchasingDocumentItem AS PurchaseOrderItem,
RemoteStorageLocation,
RequiredQuantity,
BaseUnit,
cast(WithdrawnQuantity as menge_d) AS WithdrawnQuantity,
Operation,
FldLogsSupplyProcess,
PurchaseRequisition,
PurchaseRequisitionItem,
_PurchaseItem.OrderQuantity AS PurchaseOrderQty,
_PurchaseItem.OrderQuantityUnit AS OrderQuantityUnit,
cast(Quantity as menge_d) AS Quantity,
_PurchaseItem._PurchasingDocument AS _PurchasingDocument,
RecipientLocationCode,
WBSElementInternalID,
InventorySpecialStockType
FROM I_FldLogsProductsInResvn
LEFT OUTER JOIN I_PurchasingDocumentItem AS _PurchaseItem ON PurchaseRequisition = _PurchaseItem.PurchaseRequisition AND PurchaseRequisitionItem = _PurchaseItem.PurchaseRequisitionItem AND _PurchaseItem.PurchasingDocumentDeletionCode = '' -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA