C_FldLogsStock

DDL: C_FLDLOGSSTOCK Type: view_entity CONSUMPTION Package: FLOG_RETURN

Field Logistics Initiate Returns App

C_FldLogsStock is a Consumption CDS View that provides data about "Field Logistics Initiate Returns App" in SAP S/4HANA. It reads from 1 data source (I_FldLogsStockTP) and exposes 70 fields with key fields Material, FldLogsRemotePlant, FldLogsReferenceDocumentNumber, ReferenceDocumentItem, FldLogsMaintenanceOrder. It has 1 association to related views. It is exposed through 1 OData service (UI_RETURNSINITIATION). It is used in 1 Fiori application: Initiate Returns - By product. Part of development package FLOG_RETURN.

Data Sources (1)

SourceAliasJoin Type
I_FldLogsStockTP I_FldLogsStockTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_FldLogsProdReservationDetail _ReservationItems $projection.Material = _ReservationItems.Material and $projection.FldLogsRemotePlant = _ReservationItems.FldLogsRemotePlant and $projection.FldLogsReferenceDocumentNumber = _ReservationItems.FldLogsReferenceDocumentNumber and $projection.RemoteStorageLocation = _ReservationItems.RemoteStorageLocation and $projection.FldLogsMaintenanceOrder = _ReservationItems.FldLogsMaintenanceOrder and $projection.ReferenceDocumentItem = _ReservationItems.ReferenceDocumentItem

Annotations (13)

NameValueLevelField
EndUserText.label Field Logistics Initiate Returns App view
AccessControl.authorizationCheck #MANDATORY view
Search.searchable true view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewCompositions true view
AbapCatalog.extensibility.quota.maximumFields 608 view
AbapCatalog.extensibility.quota.maximumBytes 28160 view
AbapCatalog.extensibility.elementSuffix IRP view

OData Services (1)

ServiceBindingVersionContractRelease
UI_RETURNSINITIATION UI_RETURNSINITIATION V2 C1 NOT_TO_BE_RELEASED_STABLE

Fiori Apps (1)

App IDApp NameTypeDescription
F4252 Initiate Returns - By product Transactional An application to initiate Returns from a remote location in Field Logistics via the Product List View

Initiate Returns - By product

Business Role: Warehouse Clerk (Oil & Gas)

Fields (70)

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
MaterialName _MatText MaterialName Material Description
FldLogsReferenceDocCategory FldLogsReferenceDocCategory Ref. Document Type
ReferenceDocumentCategoryName _RefDocTypeText ReferenceDocumentCategoryName
RetblQtyInBaseUnit RetblQtyInBaseUnit
RetblQtyBaseUnit RetblQtyBaseUnit
RetblQtyInOrderUnit RetblQtyInOrderUnit
RetblQtyOrderUnit RetblQtyOrderUnit
LoadingQtyInOrderUnit LoadingQtyInOrderUnit
FldLogsReturnStatus FldLogsReturnStatus
FldLogsReturnStatusTextlocalized
DispatchedStartDate DispatchedStartDate Dispatch Date
SupplyingStorageLocation SupplyingStorageLocation Location
FldLogsRecommendedAction FldLogsRecommendedAction Recommended Action
FldLogsSupplyProcess FldLogsSupplyProcess Supply Process
ReferenceOrder ReferenceOrder Reference Order
ReferencePurchasingDocument ReferencePurchasingDocument Purchasing Doc.
InventoryUsabilityCode InventoryUsabilityCode Stock Type
FldLogsItemType FldLogsItemType
FldLogsContainerID FldLogsContainerID Container ID
FldLogsTranspContainerID FldLogsTranspContainerID Container ID
ReturnRecordCreationDateTime ReturnRecordCreationDateTime
ReturnRecordChangeDateTime ReturnRecordChangeDateTime
FieldLogisticsTransferPlant FieldLogisticsTransferPlant Plant
FldLogsReturnComment FldLogsReturnComment
RequestedShippingDate RequestedShippingDate
RequestedShippingTime RequestedShippingTime
OutboundDelivery OutboundDelivery LE Delivery
OutboundDeliveryItem OutboundDeliveryItem Logistics Execution Delivery Item
FldLogsRetOutbDelivIsCreated FldLogsRetOutbDelivIsCreated Checkbox
IsInternalBatchManaged IsInternalBatchManaged Batches
MaterialMinSftyStockQuantity MaterialMinSftyStockQuantity
FldLogsSuplrItemUUID FldLogsSuplrItemUUID Suplr Item UUID
FldLogsContainerUUID FldLogsContainerUUID Container UUID
FldLogsShptItemUUID FldLogsShptItemUUID Shipment Item ID
FldLogsContainerUnitUUID FldLogsContainerUnitUUID Container Unit ID
Batch Batch Lot No.
SerialNumber SerialNumber Serial Number
EWMMovingHandlingUnitNumber EWMMovingHandlingUnitNumber
FldLogsSuplrItmPackggTypeCode FldLogsSuplrItmPackggTypeCode Packaging Type
QuantityUnit FldLogsReturnInit QuantityUnit Unit of measure
ResvnItmTotalRequiredQty ResvnItmTotalRequiredQty
ResvnItmTotalWithdrawnQty ResvnItmTotalWithdrawnQty
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
FieldLogisticsStorageBin FieldLogisticsStorageBin Storage Bin
FldLogsTransferType FldLogsTransferType Transfer Type
EWMWarehouse EWMWarehouse Warehouse No.
HandlingUnitExternalID HandlingUnitExternalID Handling Unit
PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
ReferenceDocumentLongNumber ReferenceDocumentLongNumber
WBSElementExternalID WBSElementExternalID WBS Element External ID
Reservation FldLogsReturnInit Reservation Reservation
ReservationItem FldLogsReturnInit ReservationItem Reservation Item
WarehouseStorageBin WarehouseStorageBin Storage Bin
FldLogsVoyageDestStage FldLogsVoyageDestStage Destination Stage
OrderOperation OrderOperation Operation or Phase
BillOfMaterialItemNumber BillOfMaterialItemNumber Item
FldLogsRefurbishmentOrder FldLogsRefurbishmentOrder Order
StorageLocationName _RemoteStorageLocationText StorageLocationName Storage Loc. Name
SupplyingStorageLocationName _SupplyingStorageLocationText StorageLocationName Storage Loc. Name
PlantName _PlantText PlantName Plant Name
FldLogsSuplrItmPackggTypeTxtlocalized
FldLogsRecommendedActionTextlocalized
StockTypeNamelocalized
_ReservationItems _ReservationItems

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 C_FldLogsStock.
-- 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 C_FldLogsStock AS
SELECT
  Material,
  FldLogsRemotePlant,
  FldLogsReferenceDocumentNumber,
  ReferenceDocumentItem,
  FldLogsMaintenanceOrder,
  RemoteStorageLocation,
  _MatText.MaterialName AS MaterialName,
  FldLogsReferenceDocCategory,
  _RefDocTypeText.ReferenceDocumentCategoryName AS ReferenceDocumentCategoryName,
  RetblQtyInBaseUnit,
  RetblQtyBaseUnit,
  RetblQtyInOrderUnit,
  RetblQtyOrderUnit,
  LoadingQtyInOrderUnit,
  FldLogsReturnStatus,
  _RetStatText.FldLogsReturnStatusText : localized AS FldLogsReturnStatusTextlocalized,
  DispatchedStartDate,
  SupplyingStorageLocation,
  FldLogsRecommendedAction,
  FldLogsSupplyProcess,
  ReferenceOrder,
  ReferencePurchasingDocument,
  InventoryUsabilityCode,
  FldLogsItemType,
  FldLogsContainerID,
  FldLogsTranspContainerID,
  ReturnRecordCreationDateTime,
  ReturnRecordChangeDateTime,
  FieldLogisticsTransferPlant,
  FldLogsReturnComment,
  RequestedShippingDate,
  RequestedShippingTime,
  OutboundDelivery,
  OutboundDeliveryItem,
  FldLogsRetOutbDelivIsCreated,
  IsInternalBatchManaged,
  MaterialMinSftyStockQuantity,
  FldLogsSuplrItemUUID,
  FldLogsContainerUUID,
  FldLogsShptItemUUID,
  FldLogsContainerUnitUUID,
  Batch,
  SerialNumber,
  EWMMovingHandlingUnitNumber,
  FldLogsSuplrItmPackggTypeCode,
  FldLogsReturnInit.QuantityUnit AS QuantityUnit,
  ResvnItmTotalRequiredQty,
  ResvnItmTotalWithdrawnQty,
  IsMarkedForDeletion,
  FieldLogisticsStorageBin,
  FldLogsTransferType,
  EWMWarehouse,
  HandlingUnitExternalID,
  PurchaseOrderItem,
  ReferenceDocumentLongNumber,
  WBSElementExternalID,
  FldLogsReturnInit.Reservation AS Reservation,
  FldLogsReturnInit.ReservationItem AS ReservationItem,
  WarehouseStorageBin,
  FldLogsVoyageDestStage,
  OrderOperation,
  BillOfMaterialItemNumber,
  FldLogsRefurbishmentOrder,
  _RemoteStorageLocationText.StorageLocationName AS StorageLocationName,
  _SupplyingStorageLocationText.StorageLocationName AS SupplyingStorageLocationName,
  _PlantText.PlantName AS PlantName,
  _SuplrItmPackggTypeT.FldLogsSuplrItmPackggTypeTxt : localized AS FldLogsSuplrItmPackggTypeTxtlocalized,
  _ActionText.FldLogsRecommendedActionText : localized AS FldLogsRecommendedActionTextlocalized,
  _StockTypeText.StockTypeName : localized AS StockTypeNamelocalized
FROM I_FldLogsStockTP
LEFT OUTER JOIN C_FldLogsProdReservationDetail AS _ReservationItems ON Material = _ReservationItems.Material AND FldLogsRemotePlant = _ReservationItems.FldLogsRemotePlant AND FldLogsReferenceDocumentNumber = _ReservationItems.FldLogsReferenceDocumentNumber AND RemoteStorageLocation = _ReservationItems.RemoteStorageLocation AND FldLogsMaintenanceOrder = _ReservationItems.FldLogsMaintenanceOrder AND ReferenceDocumentItem = _ReservationItems.ReferenceDocumentItem  -- association [0..*]
;