R_FldLogsProductReservationTP

DDL: R_FLDLOGSPRODUCTRESERVATIONTP Type: view_entity TRANSACTIONAL

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)

SourceAliasJoin Type
I_FldLogsProductReservation I_FldLogsProductReservation from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;