I_FldLogsProcRcptSrchEnbld
Field Logistics Process Receipts
I_FldLogsProcRcptSrchEnbld is a Composite CDS View that provides data about "Field Logistics Process Receipts" in SAP S/4HANA. It reads from 2 data sources (I_FldLogsStockItems, I_FldLogsSuplrReceiptItem) and exposes 165 fields with key fields PurchasingDocument, PurchasingDocumentItem, DeliveryDocument, DeliveryDocumentItem, MaterialDocument. It has 2 associations to related views. Part of development package ODATA_FLOG_PROCESS_RECEIPTS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_FldLogsStockItems | I_FldLogsStockItems | from |
| I_FldLogsSuplrReceiptItem | I_FldLogsSuplrReceiptItem | union_all |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_FldLogsProcRcptMaintOrd | _Order | $projection.PurchaseRequisition is not initial and _Order.PurchaseRequisition = $projection.PurchaseRequisition and _Order.PurchaseRequisitionItem = $projection.PurchaseRequisitionItem |
| [0..1] | I_FldLogsDelivPutawayQty | _DelivPutawayQty | $projection.DeliveryDocument is not initial and ( $projection.PurchasingDocumentItemCategory = '0' or $projection.PurchasingDocumentItemCategory = '3' ) and $projection.DeliveryDocument = _DelivPutawayQty.DeliveryDocument and $projection.DeliveryDocumentItem = _DelivPutawayQty.DeliveryDocumentItem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFLRCPTSRCH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Field Logistics Process Receipts | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (165)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | PurchasingDocument | Purchasing Document | |
| KEY | PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | |
| KEY | DeliveryDocument | DeliveryDocument | Outbound Delivery | |
| KEY | DeliveryDocumentItem | DeliveryDocumentItem | Outb. Delivery Item | |
| KEY | MaterialDocument | MaterialDocument | Material Doc. | |
| KEY | MaterialDocumentItem | MaterialDocumentItem | Material Document Item | |
| KEY | MaterialDocumentYear | MaterialDocumentYear | Material Document Year | |
| KEY | FldLogsSuplrItemUUID | Suplr Item UUID | ||
| FldLogsSuplrItmMatlDoc | MaterialDocument | Material Doc. | ||
| GoodsMovementItem | MaterialDocumentItem | Material Document Item | ||
| GoodsMovementYear | MaterialDocumentYear | Material Document Year | ||
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| MaintPriority | _Order | MaintPriority | Priority | |
| MaintenanceOrder | _Order | MaintenanceOrder | Order | |
| FldLogsDelivIsHeldOnShore | _Order | FldLogsDelivIsHeldOnShore | Hold On-Shore | |
| QltyMgmtInProcmtIsActive | QltyMgmtInProcmtIsActive | QM procurement | ||
| FldLogsPurOrdItem | FldLogsPurOrdItem | PO Item Uniq ID | ||
| FldLogsDelivDocItem | FldLogsDelivDocItem | |||
| DeliveryDate | DeliveryDate | Delivery Date | ||
| FldLogsSuplrItemType | Suplr Item Type | |||
| FldLogsItemType | Suplr Item Type | |||
| IsCompletelyDelivered | IsCompletelyDelivered | Is completely delivered | ||
| Supplier | Supplier | Supplier | ||
| Material | Material | Vehicle Model | ||
| Plant | Plant | Valuation Area | ||
| FldLogsRemotePlant | _Order | FldLogsRemotePlant | Plant | |
| FldLogsDelivQty | FldLogsDelivQty | Base quantity | ||
| OpenQtyInPurchaseOrderUnit | OpenQtyInPurchaseOrderUnit | |||
| FldLogsGRQty | FldLogsGRQty | Quantity | ||
| FldLogsPOTotalQty | FldLogsPOTotalQty | Quantity | ||
| FldLogsBlockedQty | FldLogsBlockedQty | |||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| MaterialBaseUnit | OrderQuantityUnit | Sales Unit | ||
| FldLogsItmIsPreReceived | ||||
| StorageLocation | I_FldLogsStockItems | StorageLocation | StorageLocation | |
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| HandlingUnitQuantityUnit | Sales Unit | |||
| MaterialName | _MaterialDetails | MaterialName | Material Description | |
| EWMWarehouse | _FldLogsInbDelivWhseTsk | EWMWarehouse | Warehouse No. | |
| FldLogsProcRecRcvgStatus | FldLogsProcRecRcvgStatus | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| InventoryStockType | InventoryStockType | Stock Type | ||
| InventoryStockTypeName | InventoryStockTypeName | |||
| GoodsMovementStatus | GoodsMovementStatus | Gds Movemt Status | ||
| GoodsMovementType | GoodsMovementType | Movement Type | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| StockType | StockType | Stock Type | ||
| DeliveryDocumentBySupplier | DeliveryDocumentBySupplier | |||
| LoadingPoint | LoadingPoint | Loading Point | ||
| UnloadingPointName | UnloadingPointName | Unloading Point Name | ||
| FldLogsSuplrItemVislInspCode | FldLogsSuplrItemVislInspCode | Visual Inspection | ||
| ReversedMaterialDocument | ReversedMaterialDocument | Reversed Mat Doc | ||
| Batch | Batch | Lot No. | ||
| CreatedByUser | CreatedByUser | User Name | ||
| IsBatchManagementRequired | _MaterialDetails | IsBatchManagementRequired | Batch Mgmt Rqt(Plnt) | |
| FldLogsManufactureDate | ||||
| datsendasFldLogsShelfLifeExpiryDate | ||||
| MaterialDocumentHeaderText | MaterialDocumentHeaderText | |||
| PurchasingDocumentSubtype | PurchasingDocumentSubtype | Control | ||
| FldLogsIsSupplierItem | ||||
| FldLogsStatusendasFldLogsStatus | ||||
| FldLogsStatusFrmEWMInbDeliv | _FldLogsInbDelivWhseTsk | FldLogsStatus | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| PackagingMaterial | Packaging Materials | |||
| HandlingUnitExternalID | Handling Unit | |||
| HandlingUnitId | ||||
| PickingStatus | PickingStatus | Status Value | ||
| FldLogsPutawayQty | _DelivPutawayQty | FldLogsPutawayQty | ||
| IsToBeAcceptedAtOrigin | IsToBeAcceptedAtOrigin | Origin Accept. | ||
| FldLogsEWMStockType | _FldLogsInbDelivWhseTsk | EWMStockType | Stock Type | |
| FldLogsOpenDelivQty | Base quantity | |||
| DistrStatusByDecentralizedWrhs | DistrStatusByDecentralizedWrhs | |||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| SuplrCoIsBusPrpsCmpltd | SuplrCoIsBusPrpsCmpltd | Purpose Completed | ||
| PurchasingDocumentItemCategory | PurchasingDocumentItemCategory | Item Category | ||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | ||
| IsBusPrpsCmpltdCustomer | IsBusPrpsCmpltdCustomer | |||
| FldLogsProcRcptExtUnionID | ||||
| PurchasingDocument | Purchasing Document | |||
| KEY | PurchasingDocumentItem | Purchasing Doc. Item | ||
| KEY | DeliveryDocument | I_FldLogsSuplrReceiptItem | DeliveryDocument | Outbound Delivery |
| KEY | DeliveryDocumentItem | I_FldLogsSuplrReceiptItem | DeliveryDocumentItem | Outb. Delivery Item |
| KEY | MaterialDocument | Material Doc. | ||
| KEY | MaterialdocumentItem | |||
| KEY | MaterialdocumentYear | |||
| KEY | FldLogsSuplrItemUUID | I_FldLogsSuplrReceiptItem | FldLogsSuplrItemUUID | Suplr Item UUID |
| FldLogsSuplrItmMatlDoc | Material Doc. | |||
| GoodsMovementItem | Material Document Item | |||
| GoodsMovementYear | Material Document Year | |||
| PurchaseRequisition | I_FldLogsSuplrReceiptItem | PurchaseRequisition | Requisition | |
| PurchaseRequisitionItem | Requisn. item | |||
| MaintPriority | I_FldLogsSuplrReceiptItem | MaintPriority | Priority | |
| MaintenanceOrder | Order | |||
| FldLogsDelivIsHeldOnShore | Hold On-Shore | |||
| QltyMgmtInProcmtIsActive | QM procurement | |||
| FldLogsPurOrdItem | FldLogsPurOrdItem | PO Item Uniq ID | ||
| DeliveryDate | DeliveryDate | Delivery Date | ||
| FldLogsSuplrItemType | FldLogsSuplrItemType | Suplr Item Type | ||
| FldLogsItemType | Suplr Item Type | |||
| IsCompletelyDelivered | IsCompletelyDelivered | Is completely delivered | ||
| Supplier | Supplier | Supplier | ||
| Material | Material | Vehicle Model | ||
| Plant | Plant | Valuation Area | ||
| FldLogsRemotePlant | FldLogsRemotePlant | Plant | ||
| FldLogsDelivQty | FldLogsDelivQty | Base quantity | ||
| FldLogsGRQty | FldLogsGRQty | Quantity | ||
| FldLogsPOTotalQty | FldLogsPOTotalQty | Quantity | ||
| FldLogsActlDeliveredQuantity | Quantity | |||
| FldLogsBlockedQty | ||||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| MaterialBaseUnit | OrderQuantityUnit | Sales Unit | ||
| FldLogsItmIsPreReceived | ||||
| StorageLocation | StorageLocation | StorageLocation | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| FldLogsOpenPackQty | Base quantity | |||
| HandlingUnitQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| MaterialName | MaterialName | Material Description | ||
| EWMWarehouse | EWMWarehouse | Warehouse No. | ||
| FldLogsProcRecRcvgStatus | FldLogsProcRecRcvgStatus | |||
| datselsePostingDateendasPostingDate | ||||
| datselseDocumentDateendasDocumentDate | ||||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| InventoryStockType | Stock Type | |||
| InventoryStockTypeName | ||||
| GoodsMovementStatus | Gds Movemt Status | |||
| InventoryValuationType | Valuation Type | |||
| StockType | Stock Type | |||
| DeliveryDocumentBySupplier | ||||
| LoadingPoint | Loading Point | |||
| UnloadingPointName | Unloading Point Name | |||
| FldLogsSuplrItemVislInspCode | FldLogsSuplrItemVislInspCode | Visual Inspection | ||
| ReversedMaterialDocument | ReversedMaterialDocument | Reversed Mat Doc | ||
| Batch | Lot No. | |||
| CreatedByUser | User Name | |||
| MaterialIsSerialManaged | ||||
| IsBatchManagementRequired | Batch Mgmt Rqt(Plnt) | |||
| FldLogsIsValnType | ||||
| FldLogsManufactureDate | ||||
| FldLogsShelfLifeExpiryDate | ||||
| MaterialDocumentHeaderText | ||||
| FldLogsItmIsAtRemote | I_FldLogsSuplrReceiptItem | FldLogsItmIsAtRemote | ||
| PurchasingDocumentSubtype | Control | |||
| FldLogsIsSupplierItem | ||||
| FldLogsStatusFrmEWMInbDeliv | FldLogsStatusFrmEWMInbDeliv | |||
| MaterialGroup | I_FldLogsSuplrReceiptItem | MaterialGroup | Product Group | |
| PackagingMaterial | PackagingMaterial | Packaging Materials | ||
| HandlingUnitExternalID | HandlingUnitExternalID | Handling Unit | ||
| HandlingUnitId | HandlingUnitId | |||
| PickingStatus | Status Value | |||
| FldLogsPutawayQty | FldLogsPutawayQty | |||
| IsToBeAcceptedAtOrigin | Origin Accept. | |||
| FldLogsEWMStockType | Stock Type | |||
| FldLogsOpenDelivQty | Base quantity | |||
| DistrStatusByDecentralizedWrhs | ||||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| SuplrCoIsBusPrpsCmpltd | SuplrCoIsBusPrpsCmpltd | Purpose Completed | ||
| PurchasingDocumentItemCategory | Item Category | |||
| IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | |||
| IsBusPrpsCmpltdCustomer | ||||
| FldLogsProcRcptExtUnionID |
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 I_FldLogsProcRcptSrchEnbld.
-- 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.
-- SQL view name: IFLRCPTSRCH
CREATE VIEW I_FldLogsProcRcptSrchEnbld AS
SELECT
PurchasingDocument,
PurchasingDocumentItem,
DeliveryDocument,
DeliveryDocumentItem,
MaterialDocument,
MaterialDocumentItem,
MaterialDocumentYear,
hextobin( '00000000000000000000000000000000' ) AS FldLogsSuplrItemUUID,
MaterialDocument AS FldLogsSuplrItmMatlDoc,
MaterialDocumentItem AS GoodsMovementItem,
MaterialDocumentYear AS GoodsMovementYear,
PurchaseRequisition,
PurchaseRequisitionItem,
_Order.MaintPriority AS MaintPriority,
_Order.MaintenanceOrder AS MaintenanceOrder,
_Order.FldLogsDelivIsHeldOnShore AS FldLogsDelivIsHeldOnShore,
QltyMgmtInProcmtIsActive,
FldLogsPurOrdItem,
FldLogsDelivDocItem,
DeliveryDate,
cast('SK' as flog_item_type preserving type ) AS FldLogsSuplrItemType,
cast('SK' as flog_item_type preserving type ) AS FldLogsItemType,
IsCompletelyDelivered,
Supplier,
Material,
Plant,
_Order.FldLogsRemotePlant AS FldLogsRemotePlant,
FldLogsDelivQty,
OpenQtyInPurchaseOrderUnit,
FldLogsGRQty,
FldLogsPOTotalQty,
FldLogsBlockedQty,
OrderQuantityUnit,
OrderQuantityUnit AS MaterialBaseUnit,
cast('' as boolean preserving type ) AS FldLogsItmIsPreReceived,
I_FldLogsStockItems.StorageLocation AS StorageLocation,
DocumentCurrency,
NetPriceAmount,
coalesce(_OpenPackQty.HandlingUnitQuantityUnit,OrderQuantityUnit) AS HandlingUnitQuantityUnit,
_MaterialDetails.MaterialName AS MaterialName,
_FldLogsInbDelivWhseTsk.EWMWarehouse AS EWMWarehouse,
FldLogsProcRecRcvgStatus,
PostingDate,
DocumentDate,
DocumentReferenceID,
InventoryStockType,
InventoryStockTypeName,
GoodsMovementStatus,
GoodsMovementType,
InventoryValuationType,
StockType,
DeliveryDocumentBySupplier,
LoadingPoint,
UnloadingPointName,
FldLogsSuplrItemVislInspCode,
ReversedMaterialDocument,
Batch,
CreatedByUser,
_MaterialDetails.IsBatchManagementRequired AS IsBatchManagementRequired,
cast($session.system_date as abap.dats) AS FldLogsManufactureDate,
case _MaterialDetails.ShelfLifeExpirationDatePeriod when ' ' then dats_add_days(cast($session.system_date as abap.dats),cast( _MaterialDetails.TotalShelfLife as abap.int4), 'UNCHANGED') when '2' then dats_add_months(cast($session.system_date as abap.dats), cast( _MaterialDetails.TotalShelfLife as abap.int4), 'UNCHANGED') when '1' then dats_add_days(cast($session.system_date as abap.dats),cast(cast( _MaterialDetails.TotalShelfLife as abap.int4) * cast(7 as abap.int4) as abap.int4), 'UNCHANGED') when '3' then dats_add_months(cast($session.system_date as abap.dats), cast(cast( _MaterialDetails.TotalShelfLife as abap.int4) * cast(12 as abap.int4) as abap.int4), 'UNCHANGED') else cast($session.system_date as abap.dats) end as FldLogsShelfLifeExpiryDate AS datsendasFldLogsShelfLifeExpiryDate,
MaterialDocumentHeaderText,
PurchasingDocumentSubtype,
cast('' as boolean preserving type ) AS FldLogsIsSupplierItem,
case when _Order.FldLogsDelivIsHeldOnShore is not initial and _Order.FldLogsRemotePlant <> Plant then cast( 'H' as flpkz preserving type ) when _Order.MaintenanceOrder is not initial and _Order.FldLogsDelivIsHeldOnShore is initial and _Order.FldLogsRemotePlant <> Plant then cast( 'C' as flpkz preserving type ) else _FldLogsInbDelivWhseTsk.FldLogsStatus end as FldLogsStatus AS FldLogsStatusendasFldLogsStatus,
_FldLogsInbDelivWhseTsk.FldLogsStatus AS FldLogsStatusFrmEWMInbDeliv,
MaterialGroup,
cast(' ' as matnr ) AS PackagingMaterial,
cast(' ' as exidv preserving type ) AS HandlingUnitExternalID,
cast('' as hum_handlingunitid ) AS HandlingUnitId,
PickingStatus,
_DelivPutawayQty.FldLogsPutawayQty AS FldLogsPutawayQty,
IsToBeAcceptedAtOrigin,
_FldLogsInbDelivWhseTsk.EWMStockType AS FldLogsEWMStockType,
coalesce(_DeliveryAggrgQty.FldLogsDelivOpenQty, FldLogsDelivQty) AS FldLogsOpenDelivQty,
DistrStatusByDecentralizedWrhs,
IsBusinessPurposeCompleted,
SuplrCoIsBusPrpsCmpltd,
PurchasingDocumentItemCategory,
IsEndOfPurposeBlocked,
IsBusPrpsCmpltdCustomer,
cast('PO' as char2) AS FldLogsProcRcptExtUnionID,
cast( OrderQuantity as bstmg ) AS FldLogsActlDeliveredQuantity,
cast( FldLogsDelivQty as vmeng) AS FldLogsOpenPackQty,
case when FldLogsProcRecRcvgStatus = '01' then cast($session.system_date as abap.dats) else PostingDate end as PostingDate AS datselsePostingDateendasPostingDate,
case when FldLogsProcRecRcvgStatus = '01' then cast($session.system_date as abap.dats) else DocumentDate end as DocumentDate AS datselseDocumentDateendasDocumentDate,
cast('' as boolean) AS MaterialIsSerialManaged,
cast('' as boolean) AS FldLogsIsValnType,
cast('00000000' as vfdat) AS FldLogsShelfLifeExpiryDate,
I_FldLogsSuplrReceiptItem.FldLogsItmIsAtRemote AS FldLogsItmIsAtRemote
FROM I_FldLogsStockItems
LEFT OUTER JOIN I_FldLogsProcRcptMaintOrd AS _Order ON PurchaseRequisition is not initial AND _Order.PurchaseRequisition = PurchaseRequisition AND _Order.PurchaseRequisitionItem = PurchaseRequisitionItem -- association [0..1]
LEFT OUTER JOIN I_FldLogsDelivPutawayQty AS _DelivPutawayQty ON DeliveryDocument is not initial AND ( PurchasingDocumentItemCategory = '0' OR PurchasingDocumentItemCategory = '3' ) AND DeliveryDocument = _DelivPutawayQty.DeliveryDocument AND DeliveryDocumentItem = _DelivPutawayQty.DeliveryDocumentItem -- association [0..1]
-- UNION ALL with additional select branch(es): I_FldLogsSuplrReceiptItem
;
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