C_FldLogsStock
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)
| Source | Alias | Join Type |
|---|---|---|
| I_FldLogsStockTP | I_FldLogsStockTP | projection |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_RETURNSINITIATION | UI_RETURNSINITIATION | V2 | C1 | NOT_TO_BE_RELEASED_STABLE |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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