R_FldLogsProductReservationTP
Root view for Work Order Application
R_FldLogsProductReservationTP 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_FldLogsProductReservation) and exposes 29 fields with key fields FldLogsMaintenanceOrder, Product, FldLogsRemotePlant, ReservationItem, Reservation. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FldLogsProductReservation | I_FldLogsProductReservation | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_RecommendedActionText | _ActionText | $projection.FldLogsRecommendedAction = _ActionText.FldLogsRecommendedAction |
| [0..1] | I_FldLogsDefaultQuickAction | _DefaultQuickAction | $projection.FldLogsSupplyProcess = _DefaultQuickAction.FldLogsSupplyProcess and _DefaultQuickAction.FieldLogisticsProcessType = abap.char'20' |
| [0..1] | I_FldLogsMaterialTextBasic | _MatText | $projection.Product = _MatText.Material |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | 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 | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FldLogsMaintenanceOrder | FldLogsMaintenanceOrder | ||
| KEY | Product | Product | Product Sold | |
| KEY | FldLogsRemotePlant | Plant | Valuation Area | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| KEY | Reservation | Reservation | Reservation | |
| KEY | Operation | Operation | Transaction | |
| KEY | MaintComponentItemCategory | MaintComponentItemCategory | ||
| KEY | AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | |
| KEY | FldLogsSuplrItemUUID | FldLogsSuplrItemUUID | Suplr Item UUID | |
| KEY | FldLogsMaintOrderComponent | FldLogsMaintOrderComponent | ||
| RemoteStorageLocation | RemoteStorageLocation | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| FldLogsSupplyProcess | FldLogsSupplyProcess | Supply Process | ||
| WithdrawnQuantity | WithdrawnQuantity | Withdrawn Quantity | ||
| RequiredQuantity | RequiredQuantity | Requirement qty | ||
| FldLogsRecommendedAction | _DefaultQuickAction | FldLogsRecommendedAction | Recommended Action | |
| OrderOperationText | ||||
| FldLogsIsStockItem | FldLogsIsStockItem | |||
| Batch | ||||
| SerialNumber | ||||
| ValuationType | ||||
| FldLogsRetItmStatusCriticality | ||||
| FldLogsRetOutbDelivIsCreated | _Product | FldLogsRetOutbDelivIsCreated | Checkbox | |
| FldLogsIsSinglePlant | _Product | FldLogsIsSinglePlant | Boolean Variable (X = True, - = False, Space = Unknown) | |
| GoodsMovementIsAllowed | GoodsMovementIsAllowed | Mvt Allowed | ||
| MaterialNameendasMaterialName | ||||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | ||
| _Product | _Product | |||
| _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 R_FldLogsProductReservationTP.
-- 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 R_FldLogsProductReservationTP AS
SELECT
FldLogsMaintenanceOrder,
Product,
Plant AS FldLogsRemotePlant,
ReservationItem,
Reservation,
Operation,
MaintComponentItemCategory,
AccountAssignmentCategory,
FldLogsSuplrItemUUID,
FldLogsMaintOrderComponent,
RemoteStorageLocation,
BaseUnit,
FldLogsSupplyProcess,
WithdrawnQuantity,
RequiredQuantity,
_DefaultQuickAction.FldLogsRecommendedAction AS FldLogsRecommendedAction,
concat( FldLogsMaintenanceOrder, concat_with_space(' / ', Operation, 1 ) ) AS OrderOperationText,
FldLogsIsStockItem,
cast('' as charg_d ) AS Batch,
cast('' as gernr ) AS SerialNumber,
cast('' as bwtar_d ) AS ValuationType,
cast ( 3 as int1 preserving type ) AS FldLogsRetItmStatusCriticality,
_Product.FldLogsRetOutbDelivIsCreated AS FldLogsRetOutbDelivIsCreated,
_Product.FldLogsIsSinglePlant AS FldLogsIsSinglePlant,
GoodsMovementIsAllowed,
case when FldLogsSuplrItemName is not initial then FldLogsSuplrItemName else _MatText.MaterialName end as MaterialName AS MaterialNameendasMaterialName,
IsEndOfPurposeBlocked
FROM I_FldLogsProductReservation
LEFT OUTER JOIN I_RecommendedActionText AS _ActionText ON FldLogsRecommendedAction = _ActionText.FldLogsRecommendedAction -- association [0..*]
LEFT OUTER JOIN I_FldLogsDefaultQuickAction AS _DefaultQuickAction ON FldLogsSupplyProcess = _DefaultQuickAction.FldLogsSupplyProcess AND _DefaultQuickAction.FieldLogisticsProcessType = abap.char'20' -- association [0..1]
LEFT OUTER JOIN I_FldLogsMaterialTextBasic AS _MatText ON Product = _MatText.Material -- association [0..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