R_FldLogsSerialItemsTP

DDL: R_FLDLOGSSERIALITEMSTP Type: view_entity TRANSACTIONAL

FL - Serial items

R_FldLogsSerialItemsTP is a Transactional CDS View that provides data about "FL - Serial items" in SAP S/4HANA. It reads from 1 data source (I_FldLogsSerialItemRecord) and exposes 23 fields with key fields Material, FldLogsRemotePlant, FldLogsReferenceDocumentNumber, ReferenceDocumentItem, FldLogsMaintenanceOrder. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_FldLogsSerialItemRecord I_FldLogsSerialItemRecord from

Associations (5)

CardinalityTargetAliasCondition
[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_RecommendedActionText _ActionText $projection.FldLogsRecommendedAction = _ActionText.FldLogsRecommendedAction and _ActionText.Language = $session.system_language
[0..1] I_WBSElementBasicData _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID
[0..*] I_FldLogsReturnStatusT _RetStatText $projection.FldLogsReturnStatus = _RetStatText.FldLogsReturnStatus

Annotations (8)

NameValueLevelField
EndUserText.label FL - Serial items view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
AccessControl.personalData.blocking #REQUIRED view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY FldLogsRemotePlant FldLogsRemotePlant Plant
KEY FldLogsReferenceDocumentNumber FldLogsReferenceDocumentNumber Reference Doc Number
KEY ReferenceDocumentItem ReferenceDocumentItem Reference item
KEY FldLogsMaintenanceOrder FldLogsMaintenanceOrder
KEY RemoteStorageLocation RemoteStorageLocation
KEY Batch Batch Lot No.
KEY ValuationType ValuationType Valuation Type
KEY SerialNumber SerialNumber Serial Number
KEY WBSElementInternalID WBSElementInternalID WBS Internal ID
FldLogsRemoteQuantity FldLogsRemoteQuantity
FldLogsRecommendedAction FldLogsRecommendedAction Recommended Action
RetblQtyInOrderUnit RetblQtyInOrderUnit
RetblQtyOrderUnit RetblQtyOrderUnit
FldLogsReturnStatus FldLogsReturnStatus
FldLogsSupplyProcess FldLogsSupplyProcess Supply Process
RetblQtyBaseUnit BaseUnit Unit of Measure
_Stock _Stock
_PlantText _PlantText
_RemoteStorageLocationText _RemoteStorageLocationText
_ActionText _ActionText
_WBSElement _WBSElement
_RetStatText _RetStatText

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_FldLogsSerialItemsTP.
-- 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_FldLogsSerialItemsTP AS
SELECT
  Material,
  FldLogsRemotePlant,
  FldLogsReferenceDocumentNumber,
  ReferenceDocumentItem,
  FldLogsMaintenanceOrder,
  RemoteStorageLocation,
  Batch,
  ValuationType,
  SerialNumber,
  WBSElementInternalID,
  FldLogsRemoteQuantity,
  FldLogsRecommendedAction,
  RetblQtyInOrderUnit,
  RetblQtyOrderUnit,
  FldLogsReturnStatus,
  FldLogsSupplyProcess,
  BaseUnit AS RetblQtyBaseUnit
FROM I_FldLogsSerialItemRecord
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_RecommendedActionText AS _ActionText ON FldLogsRecommendedAction = _ActionText.FldLogsRecommendedAction AND _ActionText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_FldLogsReturnStatusT AS _RetStatText ON FldLogsReturnStatus = _RetStatText.FldLogsReturnStatus  -- association [0..*]
;