I_FldLogsProductTP
Root view for Work Order Application
I_FldLogsProductTP is a Transactional CDS View that provides data about "Root view for Work Order Application" in SAP S/4HANA. It reads from 1 data source (I_FldLogsProdByWorkOrderEnhcd) and exposes 41 fields with key fields FldLogsMaintenanceOrder, Product, FldLogsRemotePlant, Operation, MaintComponentItemCategory. It has 14 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FldLogsProdByWorkOrderEnhcd | I_FldLogsProdByWorkOrderEnhcd | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_FldLogsFlogReturnBasic | _ReturnInitiation | $projection.FldLogsMaintenanceOrder = _ReturnInitiation.FldLogsMaintenanceOrder and $projection.FldLogsRemotePlant = _ReturnInitiation.FldLogsRemotePlant and $projection.Product = _ReturnInitiation.Material and $projection.RequiredQuantity = 0 |
| [0..1] | I_FldLogsCalcdStockAtRemote | _Stock | $projection.Product = _Stock.Material and $projection.FldLogsRemotePlant = _Stock.Plant |
| [0..1] | I_FldLogsMaterialTextBasic | _MatText | $projection.Product = _MatText.Material |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.returnquantityunit = _UnitOfMeasure.UnitOfMeasure |
| [0..1] | I_FldLogsMaterialBatch | _MatBatch | $projection.Product = _MatBatch.Material and $projection.FldLogsRemotePlant = _MatBatch.Plant |
| [0..1] | I_Plant | _PlantText | $projection.FldLogsRemotePlant = _PlantText.Plant |
| [0..1] | I_StorageLocation | _RemoteStorageLocationText | $projection.remotestoragelocation = _RemoteStorageLocationText.StorageLocation and $projection.FldLogsRemotePlant = _RemoteStorageLocationText.Plant |
| [0..1] | I_FldLogsDefaultQuickAction | _DefaultQuickAction | $projection.FldLogsSupplyProcess = _DefaultQuickAction.FldLogsSupplyProcess and _DefaultQuickAction.FieldLogisticsProcessType = abap.char'20' |
| [0..1] | I_FldLogsRetQtyForProduct | _returnQuantity | $projection.FldLogsMaintenanceOrder = _returnQuantity.FldLogsMaintenanceOrder and $projection.Material = _returnQuantity.Product and $projection.Operation = _returnQuantity.Operation |
| [0..*] | I_RecommendedActionText | _ActionText | $projection.fldlogsrecommendedaction = _ActionText.FldLogsRecommendedAction |
| [0..1] | I_WBSElementBasicData | _WBSElementBasicData2 | _WBSElementBasicData2.WBSElementInternalID = $projection.WBSElementInternalID |
| [1..*] | R_FldLogsOrdResvnItmQtyTP | _Reservation | |
| [1..*] | R_FldLogsNonStockReturnItemTP | _NonStockItem | |
| [1..*] | R_FldLogsProductReservationTP | _ProductReservation | |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Root view for Work Order Application | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FldLogsMaintenanceOrder | FldLogsMaintenanceOrder | ||
| KEY | Product | Product | Product Sold | |
| KEY | FldLogsRemotePlant | Plant | Valuation Area | |
| KEY | Operation | Operation | Transaction | |
| KEY | MaintComponentItemCategory | MaintComponentItemCategory | ||
| KEY | AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | |
| Material | Material | Vehicle Model | ||
| Reservation | Reservation | Reservation | ||
| RequiredQuantity | RequiredQuantity | Requirement qty | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| WithdrawnQuantity | WithdrawnQuantity | Withdrawn Quantity | ||
| ReturnQuantity | _returnQuantity | ReturnQuantity | ||
| ReturnQuantityUnit | _returnQuantity | ReturnQuantityUnit | ||
| RetblQtyInOrderUnit | _ReturnInitiation | RetblQtyInOrderUnit | ||
| MaterialBaseUnit | BaseUnit | Unit of Measure | ||
| RetblQtyOrderUnit | _ReturnInitiation | RetblQtyOrderUnit | ||
| RequestedShippingDate | _ReturnInitiation | RequestedShippingDate | ||
| RemoteStorageLocation | _ReturnInitiation | RemoteStorageLocation | ||
| Batch | _ReturnInitiation | Batch | Lot No. | |
| ValuationType | _ReturnInitiation | ValuationType | Valuation Type | |
| SerialNumber | _ReturnInitiation | SerialNumber | Serial Number | |
| PurchaseOrder | _ReturnInitiation | ReferencePurchasingDocument | Purchasing Doc. | |
| PurchaseOrderItem | ||||
| ReservationItem | _ReturnInitiation | ReservationItem | Reservation Item | |
| ResvnItmTotalRequiredQty | ResvnItmTotalRequiredQty | |||
| FldLogsSupplyProcess | FldLogsSupplyProcess | Supply Process | ||
| MaintenanceOrderType | MaintenanceOrderType | Order Type | ||
| MaintenanceOrderCategory | MaintenanceOrderCategory | |||
| IsInternalBatchManaged | _MatBatch | IsInternalBatchManaged | Batches | |
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| FldLogsRecommendedAction | _DefaultQuickAction | FldLogsRecommendedAction | Recommended Action | |
| FldLogsIsSinglePlant | FldLogsIsSinglePlant | Boolean Variable (X = True, - = False, Space = Unknown) | ||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _ReturnInitiation | _ReturnInitiation | |||
| _Reservation | _Reservation | |||
| _NonStockItem | _NonStockItem | |||
| _ProductReservation | _ProductReservation | |||
| _PlantText | _PlantText | |||
| _RemoteStorageLocationText | _RemoteStorageLocationText | |||
| _MatText | _MatText | |||
| _ActionText | _ActionText |
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_FldLogsProductTP.
-- 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.
CREATE VIEW I_FldLogsProductTP AS
SELECT
FldLogsMaintenanceOrder,
Product,
Plant AS FldLogsRemotePlant,
Operation,
MaintComponentItemCategory,
AccountAssignmentCategory,
Material,
Reservation,
RequiredQuantity,
BaseUnit,
WithdrawnQuantity,
_returnQuantity.ReturnQuantity AS ReturnQuantity,
_returnQuantity.ReturnQuantityUnit AS ReturnQuantityUnit,
_ReturnInitiation.RetblQtyInOrderUnit AS RetblQtyInOrderUnit,
BaseUnit AS MaterialBaseUnit,
_ReturnInitiation.RetblQtyOrderUnit AS RetblQtyOrderUnit,
_ReturnInitiation.RequestedShippingDate AS RequestedShippingDate,
_ReturnInitiation.RemoteStorageLocation AS RemoteStorageLocation,
_ReturnInitiation.Batch AS Batch,
_ReturnInitiation.ValuationType AS ValuationType,
_ReturnInitiation.SerialNumber AS SerialNumber,
_ReturnInitiation.ReferencePurchasingDocument AS PurchaseOrder,
cast('' as ebelp ) AS PurchaseOrderItem,
_ReturnInitiation.ReservationItem AS ReservationItem,
ResvnItmTotalRequiredQty,
FldLogsSupplyProcess,
MaintenanceOrderType,
MaintenanceOrderCategory,
_MatBatch.IsInternalBatchManaged AS IsInternalBatchManaged,
WBSElementInternalID,
_DefaultQuickAction.FldLogsRecommendedAction AS FldLogsRecommendedAction,
FldLogsIsSinglePlant
FROM I_FldLogsProdByWorkOrderEnhcd
LEFT OUTER JOIN I_FldLogsFlogReturnBasic AS _ReturnInitiation ON FldLogsMaintenanceOrder = _ReturnInitiation.FldLogsMaintenanceOrder AND FldLogsRemotePlant = _ReturnInitiation.FldLogsRemotePlant AND Product = _ReturnInitiation.Material AND RequiredQuantity = 0 -- association [1..1]
LEFT OUTER JOIN I_FldLogsCalcdStockAtRemote AS _Stock ON Product = _Stock.Material AND FldLogsRemotePlant = _Stock.Plant -- association [0..1]
LEFT OUTER JOIN I_FldLogsMaterialTextBasic AS _MatText ON Product = _MatText.Material -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON returnquantityunit = _UnitOfMeasure.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_FldLogsMaterialBatch AS _MatBatch ON Product = _MatBatch.Material AND FldLogsRemotePlant = _MatBatch.Plant -- association [0..1]
LEFT OUTER JOIN I_Plant AS _PlantText ON FldLogsRemotePlant = _PlantText.Plant -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _RemoteStorageLocationText ON remotestoragelocation = _RemoteStorageLocationText.StorageLocation AND FldLogsRemotePlant = _RemoteStorageLocationText.Plant -- association [0..1]
LEFT OUTER JOIN I_FldLogsDefaultQuickAction AS _DefaultQuickAction ON FldLogsSupplyProcess = _DefaultQuickAction.FldLogsSupplyProcess AND _DefaultQuickAction.FieldLogisticsProcessType = abap.char'20' -- association [0..1]
LEFT OUTER JOIN I_FldLogsRetQtyForProduct AS _returnQuantity ON FldLogsMaintenanceOrder = _returnQuantity.FldLogsMaintenanceOrder AND Material = _returnQuantity.Product AND Operation = _returnQuantity.Operation -- association [0..1]
LEFT OUTER JOIN I_RecommendedActionText AS _ActionText ON fldlogsrecommendedaction = _ActionText.FldLogsRecommendedAction -- association [0..*]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData2 ON _WBSElementBasicData2.WBSElementInternalID = WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN R_FldLogsOrdResvnItmQtyTP AS _Reservation ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN R_FldLogsNonStockReturnItemTP AS _NonStockItem ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN R_FldLogsProductReservationTP AS _ProductReservation ON /* condition not available in parsed metadata */ -- association [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