I_FldLogsProcessReceiptsTP
Field Logistics : Process Receipts
I_FldLogsProcessReceiptsTP is a Transactional CDS View that provides data about "Field Logistics : Process Receipts" in SAP S/4HANA. It reads from 2 data sources (I_PurchasingDocumentItem, I_FldLogsProcRcptSrchEnbld) and exposes 115 fields with key fields PurchasingDocument, PurchasingDocumentItem, DeliveryDocument, DeliveryDocumentItem, MaterialDocument. It has 19 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingDocumentItem | _PO | inner |
| I_FldLogsProcRcptSrchEnbld | SearchEnabled | from |
Associations (19)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PurgDocumentItemCategoryText | _PoDocCatTxt | _PoDocCatTxt.PurchasingDocumentItemCategory = SearchEnabled.PurchasingDocumentItemCategory and _PoDocCatTxt.Language = $session.system_language |
| [1..1] | I_Plant | _PlantName | SearchEnabled.Plant = _PlantName.Plant and _PlantName.Language = $session.system_language |
| [0..1] | I_FldLogsSupplierItem | _SupplierItem | _SupplierItem.FldLogsSuplrItemUUID = $projection.FldLogsSuplrItemUUID |
| [1..1] | I_FldLogsSuplrItmVislInspVH | _FldLogsSuplrItmVislInspText | _FldLogsSuplrItmVislInspText.FldLogsSuplrItemVislInspCode = $projection.FldLogsSuplrItemVislInspCode and _FldLogsSuplrItmVislInspText.Language = $session.system_language |
| [0..1] | I_GenericPriorityText | _GenericPriorityText | _GenericPriorityText.PriorityCode = $projection.MaintPriority and _GenericPriorityText.Language = $session.system_language and _GenericPriorityText.GenericPriorityType = 'PM' |
| [0..1] | I_FldLogsItemTypeVH | _ItemType | _ItemType.FldLogsItemType = $projection.FldLogsItemType and _ItemType.Language = $session.system_language |
| [0..1] | I_GoodsMovementTypeT | _GoodsMovementTypeT | $projection.GoodsMovementType = _GoodsMovementTypeT.GoodsMovementType and _GoodsMovementTypeT.Language = $session.system_language |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.StorageLocation = _StorageLocation.StorageLocation and $projection.Plant = _StorageLocation.Plant |
| [0..1] | I_FldLogsStatusVH | _FldLogsStatusTxt | $projection.FldLogsStatus = _FldLogsStatusTxt.FldLogsStatus and _FldLogsStatusTxt.Language = $session.system_language |
| [0..1] | I_StockTypeText_2 | _StockTypeText | _StockTypeText.StockType = $projection.InventoryUsabilityCode and _StockTypeText.Language = $session.system_language |
| [0..1] | I_Supplier | _Supplier | _Supplier.Supplier = $projection.Supplier |
| [0..1] | I_FldLogsMaterialDetails | _PackagingMaterialTxt | $projection.PackagingMaterial = _PackagingMaterialTxt.MaterialName |
| [0..1] | I_FldLogsRblShipmentItem | _OBDContainerItem | $projection.DeliveryDocument is not initial and $projection.DeliveryDocument = _OBDContainerItem.DeliveryDocument and $projection.DeliveryDocumentItem = _OBDContainerItem.DeliveryDocumentItem |
| [0..1] | I_FldLogsEWMStockTypeVH | _EWMStockTypeTxt | $projection.FldLogsEWMStockType = _EWMStockTypeTxt.FldLogsEWMStockType and $projection.EWMWarehouse = _EWMStockTypeTxt.EWMWarehouse and _EWMStockTypeTxt.Language = $session.system_language |
| [0..1] | I_MaterialGroupText | _MaterialGroupText | $projection.MaterialGroup = _MaterialGroupText.MaterialGroup and _MaterialGroupText.Language = $session.system_language |
| [0..1] | I_FldLogsProcRcptRcvgStatus | _FldLogsProcRcptRcvgStatus | _FldLogsProcRcptRcvgStatus.FldLogsProcRecRcvgStatus = $projection.FldLogsProcRecRcvgStatus and _FldLogsProcRcptRcvgStatus.Language = $session.system_language |
| [0..1] | I_FldLogsStatusVH | _FldLogsStatusEWMTxt | $projection.FldLogsStatusFrmEWMInbDeliv = _FldLogsStatusEWMTxt.FldLogsStatus and _FldLogsStatusEWMTxt.Language = $session.system_language |
| [0..1] | I_BatchCrossPlant | _Batch | $projection.Batch = _Batch.Batch and $projection.Material = _Batch.Material |
| [0..1] | I_OrderCategoryText | _OrderCatTxt | $projection.OrderCategory = _OrderCatTxt.OrderCategory and _OrderCatTxt.Language = $session.system_language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFLPRTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Field Logistics : Process Receipts | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (115)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | I_PurchasingDocumentItem | PurchasingDocument | |
| KEY | PurchasingDocumentItem | I_PurchasingDocumentItem | PurchasingDocumentItem | |
| KEY | DeliveryDocument | I_FldLogsProcRcptSrchEnbld | DeliveryDocument | |
| KEY | DeliveryDocumentItem | I_FldLogsProcRcptSrchEnbld | DeliveryDocumentItem | |
| KEY | MaterialDocument | I_FldLogsProcRcptSrchEnbld | MaterialDocument | |
| KEY | MaterialDocumentItem | I_FldLogsProcRcptSrchEnbld | MaterialDocumentItem | |
| KEY | MaterialDocumentYear | I_FldLogsProcRcptSrchEnbld | MaterialDocumentYear | |
| KEY | FldLogsSuplrItemUUID | I_FldLogsProcRcptSrchEnbld | FldLogsSuplrItemUUID | |
| FldLogsSuplrItmMatlDoc | I_FldLogsProcRcptSrchEnbld | FldLogsSuplrItmMatlDoc | ||
| GoodsMovementItem | I_FldLogsProcRcptSrchEnbld | GoodsMovementItem | ||
| GoodsMovementYear | I_FldLogsProcRcptSrchEnbld | GoodsMovementYear | ||
| FldLogsPurOrdItem | I_FldLogsProcRcptSrchEnbld | FldLogsPurOrdItem | ||
| FldLogsDelivDocItem | I_FldLogsProcRcptSrchEnbld | FldLogsDelivDocItem | ||
| OrderCategory | I_FldLogsProcRcptSrchEnbld | OrderCategory | ||
| DeliveryDate | I_FldLogsProcRcptSrchEnbld | DeliveryDate | ||
| FldLogsSuplrItmDelivStatusText | ||||
| FldLogsSuplrItemTypeText | _ItemType | FldLogsSuplrItemTypeText | ||
| FldLogsItemType | I_FldLogsProcRcptSrchEnbld | FldLogsItemType | ||
| IsCompletelyDelivered | I_FldLogsProcRcptSrchEnbld | IsCompletelyDelivered | ||
| Supplier | I_FldLogsProcRcptSrchEnbld | Supplier | ||
| SupplierName | _Supplier | SupplierName | ||
| Material | I_FldLogsProcRcptSrchEnbld | Material | ||
| Product | I_PurchasingDocumentItem | Material | ||
| FldLogsSuplrItemSerialNumber | _SupplierItem | FldLogsSuplrItemSerialNumber | ||
| Plant | I_FldLogsProcRcptSrchEnbld | Plant | ||
| FldLogsRemotePlant | I_FldLogsProcRcptSrchEnbld | FldLogsRemotePlant | ||
| PlantName | _PlantName | PlantName | ||
| FldLogsDelivQty | I_FldLogsProcRcptSrchEnbld | FldLogsDelivQty | ||
| OpenQtyInPurchaseOrderUnit | I_FldLogsProcRcptSrchEnbld | OpenQtyInPurchaseOrderUnit | ||
| FldLogsGRQty | I_FldLogsProcRcptSrchEnbld | FldLogsGRQty | ||
| GoodsMovementEntryUnit | I_FldLogsProcRcptSrchEnbld | GoodsMovementEntryUnit | ||
| POUnitOfMeasure | I_FldLogsProcRcptSrchEnbld | POUnitOfMeasure | ||
| FldLogsReversedQty | I_FldLogsProcRcptSrchEnbld | FldLogsReversedQty | ||
| FldLogsPOTotalQty | I_FldLogsProcRcptSrchEnbld | FldLogsPOTotalQty | ||
| FldLogsBlockedQty | I_FldLogsProcRcptSrchEnbld | FldLogsBlockedQty | ||
| FldLogsActlDeliveredQuantity | I_FldLogsProcRcptSrchEnbld | FldLogsActlDeliveredQuantity | ||
| OrderQuantityUnit | I_FldLogsProcRcptSrchEnbld | OrderQuantityUnit | ||
| MaterialBaseUnit | I_FldLogsProcRcptSrchEnbld | MaterialBaseUnit | ||
| FldLogsItmIsToBeReceived | I_FldLogsProcRcptSrchEnbld | FldLogsItmIsToBeReceived | ||
| FldLogsItmIsReceived | I_FldLogsProcRcptSrchEnbld | FldLogsItmIsReceived | ||
| FldLogsItmIsFailed | I_FldLogsProcRcptSrchEnbld | FldLogsItmIsFailed | ||
| FldLogsItmIsPreReceived | I_FldLogsProcRcptSrchEnbld | FldLogsItmIsPreReceived | ||
| StorageLocation | I_FldLogsProcRcptSrchEnbld | StorageLocation | ||
| DocumentCurrency | I_FldLogsProcRcptSrchEnbld | DocumentCurrency | ||
| NetPriceAmount | I_FldLogsProcRcptSrchEnbld | NetPriceAmount | ||
| FldLogsOpenPackQty | I_FldLogsProcRcptSrchEnbld | FldLogsOpenPackQty | ||
| HandlingUnitQuantityUnit | ||||
| MaterialName | I_FldLogsProcRcptSrchEnbld | MaterialName | ||
| MaintPriority | I_FldLogsProcRcptSrchEnbld | MaintPriority | ||
| MaintenanceOrder | I_FldLogsProcRcptSrchEnbld | MaintenanceOrder | ||
| GenericPriorityDesc | _GenericPriorityText | GenericPriorityDesc | ||
| FldLogsDelivIsHeldOnShore | I_FldLogsProcRcptSrchEnbld | FldLogsDelivIsHeldOnShore | ||
| QltyMgmtInProcmtIsActive | I_FldLogsProcRcptSrchEnbld | QltyMgmtInProcmtIsActive | ||
| EWMWarehouse | I_FldLogsProcRcptSrchEnbld | EWMWarehouse | ||
| FldLogsProcRecRcvgStatus | I_FldLogsProcRcptSrchEnbld | FldLogsProcRecRcvgStatus | ||
| FldLogsProcRcptRcvgStatusTxt | _FldLogsProcRcptRcvgStatus | FldLogsProcRcptRcvgStatusTxt | ||
| PostingDate | I_FldLogsProcRcptSrchEnbld | PostingDate | ||
| DocumentDate | I_FldLogsProcRcptSrchEnbld | DocumentDate | ||
| DocumentReferenceID | I_FldLogsProcRcptSrchEnbld | DocumentReferenceID | ||
| GoodsMovementStatus | I_FldLogsProcRcptSrchEnbld | GoodsMovementStatus | ||
| GoodsMovementType | I_FldLogsProcRcptSrchEnbld | GoodsMovementType | ||
| InventoryValuationType | I_FldLogsProcRcptSrchEnbld | InventoryValuationType | ||
| GoodsMovementTypeName | _GoodsMovementTypeT | GoodsMovementTypeName | ||
| InventoryUsabilityCode | I_FldLogsProcRcptSrchEnbld | InventoryUsabilityCode | ||
| StockType | I_FldLogsProcRcptSrchEnbld | InventoryUsabilityCode | ||
| StockTypeName | _StockTypeText | StockTypeName | ||
| DeliveryDocumentBySupplier | I_FldLogsProcRcptSrchEnbld | DeliveryDocumentBySupplier | ||
| LoadingPoint | I_FldLogsProcRcptSrchEnbld | LoadingPoint | ||
| UnloadingPointName | I_FldLogsProcRcptSrchEnbld | UnloadingPointName | ||
| FldLogsSuplrItemVislInspCode | I_FldLogsProcRcptSrchEnbld | FldLogsSuplrItemVislInspCode | ||
| FldLogsSuplrItemVislInspText | _FldLogsSuplrItmVislInspText | FldLogsSuplrItemVislInspText | ||
| ReversedMaterialDocument | I_FldLogsProcRcptSrchEnbld | ReversedMaterialDocument | ||
| Batch | I_FldLogsProcRcptSrchEnbld | Batch | ||
| _Batch | _Batch | |||
| CreatedByUser | I_FldLogsProcRcptSrchEnbld | CreatedByUser | ||
| MaterialIsSerialManaged | I_FldLogsProcRcptSrchEnbld | MaterialIsSerialManaged | ||
| FldLogsIsSupplierItem | FldLogsIsSupplierItem | |||
| FldLogsMatlDocItem | ||||
| InventoryStockType | I_FldLogsProcRcptSrchEnbld | InventoryStockType | ||
| InventoryStockTypeName | I_FldLogsProcRcptSrchEnbld | InventoryStockTypeName | ||
| MaterialDocumentHeaderText | I_FldLogsProcRcptSrchEnbld | MaterialDocumentHeaderText | ||
| FldLogsRvslPostingDate | ||||
| FldLogsIsValnType | I_FldLogsProcRcptSrchEnbld | FldLogsIsValnType | ||
| FldLogsManufactureDate | I_FldLogsProcRcptSrchEnbld | FldLogsManufactureDate | ||
| FldLogsShelfLifeExpiryDate | I_FldLogsProcRcptSrchEnbld | FldLogsShelfLifeExpiryDate | ||
| FldLogsItmIsAtRemote | I_FldLogsProcRcptSrchEnbld | FldLogsItmIsAtRemote | ||
| FldLogsIsContainerHidden | I_FldLogsProcRcptSrchEnbld | FldLogsIsContainerHidden | ||
| PurchasingDocumentSubtype | I_FldLogsProcRcptSrchEnbld | PurchasingDocumentSubtype | ||
| StorageLocationName | _StorageLocation | StorageLocationName | ||
| PackagingMaterial | PackagingMaterial | |||
| FldLogsStatus | I_FldLogsProcRcptSrchEnbld | FldLogsStatus | ||
| FldLogsStatusFrmEWMInbDeliv | I_FldLogsProcRcptSrchEnbld | FldLogsStatusFrmEWMInbDeliv | ||
| FldLogsStatusTxt | _FldLogsStatusTxt | FldLogsStatusTxt | ||
| FldLogsStatusFrmEWMInbDelivTxt | _FldLogsStatusEWMTxt | FldLogsStatusTxt | ||
| MaterialGroup | I_FldLogsProcRcptSrchEnbld | MaterialGroup | ||
| MaterialGroupName | _MaterialGroupText | MaterialGroupName | ||
| FldLogsCtnInfoSecIsHidden | ||||
| HandlingUnitExternalID | I_FldLogsProcRcptSrchEnbld | HandlingUnitExternalID | ||
| HandlingUnitId | I_FldLogsProcRcptSrchEnbld | HandlingUnitId | ||
| PackagingMaterialName | _PackagingMaterialTxt | MaterialName | ||
| PickingStatus | I_FldLogsProcRcptSrchEnbld | PickingStatus | ||
| IsToBeAcceptedAtOrigin | I_FldLogsProcRcptSrchEnbld | IsToBeAcceptedAtOrigin | ||
| FldLogsGdsMvtTypeIsEditable | ||||
| FldLogsPutawayQty | I_FldLogsProcRcptSrchEnbld | FldLogsPutawayQty | ||
| FldLogsEWMStockType | I_FldLogsProcRcptSrchEnbld | FldLogsEWMStockType | ||
| FldLogsOpenDelivQty | I_FldLogsProcRcptSrchEnbld | FldLogsOpenDelivQty | ||
| FldLogsEWMStockTypeText | _EWMStockTypeTxt | StockTypeName | ||
| IsBusinessPurposeCompleted | I_FldLogsProcRcptSrchEnbld | IsBusinessPurposeCompleted | ||
| SuplrCoIsBusPrpsCmpltd | I_FldLogsProcRcptSrchEnbld | SuplrCoIsBusPrpsCmpltd | ||
| IsBusPrpsCmpltdCustomer | I_FldLogsProcRcptSrchEnbld | IsBusPrpsCmpltdCustomer | ||
| IsEndOfPurposeBlocked | I_FldLogsProcRcptSrchEnbld | IsEndOfPurposeBlocked | ||
| PurgDocItemCategoryName | _PoDocCatTxt | PurgDocItemCategoryName | ||
| PurgDocExternalItemCategory | _PoDocCatTxt | PurgDocExternalItemCategory | ||
| FldLogsProcRcptExtUnionID | I_FldLogsProcRcptSrchEnbld | FldLogsProcRcptExtUnionID | ||
| OrderCategoryName | _OrderCatTxt | OrderCategoryName |
@AbapCatalog.sqlViewName: 'IFLPRTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #REQUIRED
}
@EndUserText.label: 'Field Logistics : Process Receipts'
@VDM.viewType: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view I_FldLogsProcessReceiptsTP
as select from I_FldLogsProcRcptSrchEnbld as SearchEnabled
inner join I_PurchasingDocumentItem as _PO on _PO.PurchasingDocument = SearchEnabled.PurchasingDocument
and _PO.PurchasingDocumentItem = SearchEnabled.PurchasingDocumentItem
association [0..1] to I_PurgDocumentItemCategoryText as _PoDocCatTxt on _PoDocCatTxt.PurchasingDocumentItemCategory = SearchEnabled.PurchasingDocumentItemCategory
and _PoDocCatTxt.Language = $session.system_language
association [1..1] to I_Plant as _PlantName on SearchEnabled.Plant = _PlantName.Plant
and _PlantName.Language = $session.system_language
association [0..1] to I_FldLogsSupplierItem as _SupplierItem on _SupplierItem.FldLogsSuplrItemUUID = $projection.FldLogsSuplrItemUUID
association [1..1] to I_FldLogsSuplrItmVislInspVH as _FldLogsSuplrItmVislInspText on _FldLogsSuplrItmVislInspText.FldLogsSuplrItemVislInspCode = $projection.FldLogsSuplrItemVislInspCode
and _FldLogsSuplrItmVislInspText.Language = $session.system_language
association [0..1] to I_GenericPriorityText as _GenericPriorityText on _GenericPriorityText.PriorityCode = $projection.MaintPriority
and _GenericPriorityText.Language = $session.system_language
and _GenericPriorityText.GenericPriorityType = 'PM'
association [0..1] to I_FldLogsItemTypeVH as _ItemType on _ItemType.FldLogsItemType = $projection.FldLogsItemType
and _ItemType.Language = $session.system_language
association [0..1] to I_GoodsMovementTypeT as _GoodsMovementTypeT on $projection.GoodsMovementType = _GoodsMovementTypeT.GoodsMovementType
and _GoodsMovementTypeT.Language = $session.system_language
//for storage location name
association [0..1] to I_StorageLocation as _StorageLocation on $projection.StorageLocation = _StorageLocation.StorageLocation
and $projection.Plant = _StorageLocation.Plant
association [0..1] to I_FldLogsStatusVH as _FldLogsStatusTxt on $projection.FldLogsStatus = _FldLogsStatusTxt.FldLogsStatus
and _FldLogsStatusTxt.Language = $session.system_language
// Stock Type - Text
association [0..1] to I_StockTypeText_2 as _StockTypeText on _StockTypeText.StockType = $projection.InventoryUsabilityCode
and _StockTypeText.Language = $session.system_language
association [0..1] to I_Supplier as _Supplier on _Supplier.Supplier = $projection.Supplier
//Commented as part of Decommissioning of Storage Type
// association [0..1] to I_FldLogsDestinationVH as _StorageTypeTxt on $projection.EWMWarehouse = _StorageTypeTxt.EWMWarehouse
// and $projection.FldLogsStorageType = _StorageTypeTxt.FldLogsStorageType
association [0..1] to I_FldLogsMaterialDetails as _PackagingMaterialTxt on $projection.PackagingMaterial = _PackagingMaterialTxt.MaterialName
association [0..1] to I_FldLogsRblShipmentItem as _OBDContainerItem on $projection.DeliveryDocument is not initial
and $projection.DeliveryDocument = _OBDContainerItem.DeliveryDocument
and $projection.DeliveryDocumentItem = _OBDContainerItem.DeliveryDocumentItem
association [0..1] to I_FldLogsEWMStockTypeVH as _EWMStockTypeTxt on $projection.FldLogsEWMStockType = _EWMStockTypeTxt.FldLogsEWMStockType
and $projection.EWMWarehouse = _EWMStockTypeTxt.EWMWarehouse
and _EWMStockTypeTxt.Language = $session.system_language
association [0..1] to I_MaterialGroupText as _MaterialGroupText on $projection.MaterialGroup = _MaterialGroupText.MaterialGroup
and _MaterialGroupText.Language = $session.system_language
association [0..1] to I_FldLogsProcRcptRcvgStatus as _FldLogsProcRcptRcvgStatus on _FldLogsProcRcptRcvgStatus.FldLogsProcRecRcvgStatus = $projection.FldLogsProcRecRcvgStatus
and _FldLogsProcRcptRcvgStatus.Language = $session.system_language
// description text for FL Status from EWM Ibd
association [0..1] to I_FldLogsStatusVH as _FldLogsStatusEWMTxt on $projection.FldLogsStatusFrmEWMInbDeliv = _FldLogsStatusEWMTxt.FldLogsStatus
and _FldLogsStatusEWMTxt.Language = $session.system_language
association [0..1] to I_BatchCrossPlant as _Batch on $projection.Batch = _Batch.Batch
and $projection.Material = _Batch.Material
//association [0..1] to I_Supplier as _ContainerOwnerTxt on _ContainerOwnerTxt.Supplier = $projection.FldLogsContainerOwner
association [0..1] to I_OrderCategoryText as _OrderCatTxt on $projection.OrderCategory = _OrderCatTxt.OrderCategory and _OrderCatTxt.Language = $session.system_language
{
key _PO.PurchasingDocument,
key _PO.PurchasingDocumentItem,
key SearchEnabled.DeliveryDocument,
key SearchEnabled.DeliveryDocumentItem,
key SearchEnabled.MaterialDocument,
key SearchEnabled.MaterialDocumentItem,
key SearchEnabled.MaterialDocumentYear,
key SearchEnabled.FldLogsSuplrItemUUID,
SearchEnabled.FldLogsSuplrItmMatlDoc,
SearchEnabled.GoodsMovementItem,
SearchEnabled.GoodsMovementYear,
SearchEnabled.FldLogsPurOrdItem,
SearchEnabled.FldLogsDelivDocItem,
SearchEnabled.OrderCategory,
SearchEnabled.DeliveryDate,
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'CL_FLOG_PROCRCPT_DLVSTATUS_TXT'
cast('' as abap.char(20)) as FldLogsSuplrItmDelivStatusText,
_ItemType.FldLogsSuplrItemTypeText,
SearchEnabled.FldLogsItemType,
case
when SearchEnabled.DeliveryDate = $session.system_date then 3
when SearchEnabled.DeliveryDate < $session.system_date then 1
else 0
end as FldLogsSuplrItmDelivCritlty,
SearchEnabled.IsCompletelyDelivered,
SearchEnabled.Supplier,
_Supplier.SupplierName,
// @Semantics.booleanIndicator: true
// _Supplier.IsBusinessPurposeCompleted,
SearchEnabled.Material,
_PO.Material as Product,
_SupplierItem.FldLogsSuplrItemSerialNumber as FldLogsSuplrItemSerialNumber,
SearchEnabled.Plant,
SearchEnabled.FldLogsRemotePlant,
_PlantName.PlantName,
//// Delivery qty
@Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
SearchEnabled.FldLogsDelivQty,
//// PO Open qty
@Semantics.quantity.unitOfMeasure: 'POUnitOfMeasure'
SearchEnabled.OpenQtyInPurchaseOrderUnit,
//// Material Document confirmed qty
@Semantics.quantity.unitOfMeasure: 'GoodsMovementEntryUnit'
SearchEnabled.FldLogsGRQty,
SearchEnabled.GoodsMovementEntryUnit,
SearchEnabled.POUnitOfMeasure,
/////Reversed quantity I354124
SearchEnabled.FldLogsReversedQty,
//// Actual PO qty
@Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
SearchEnabled.FldLogsPOTotalQty,
//// Blocked Qty in object page Receipt Info - Only for Pre-received Section
@Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
SearchEnabled.FldLogsBlockedQty,
//// Actual Delivered Qty in object page Receipt Info
@Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
SearchEnabled.FldLogsActlDeliveredQuantity,
SearchEnabled.OrderQuantityUnit,
SearchEnabled.MaterialBaseUnit,
SearchEnabled.FldLogsItmIsToBeReceived,
SearchEnabled.FldLogsItmIsReceived,
//failed receipts
SearchEnabled.FldLogsItmIsFailed,
SearchEnabled.FldLogsItmIsPreReceived,
SearchEnabled.StorageLocation,
SearchEnabled.DocumentCurrency,
@Semantics.amount.currencyCode: 'DocumentCurrency'
SearchEnabled.NetPriceAmount,
@Semantics.quantity.unitOfMeasure:'HandlingUnitQuantityUnit'
SearchEnabled.FldLogsOpenPackQty,
//This is casted to BSTME as in App. Language translation is not happening due to data type for the below field
//is predefined to UNIT(3)
cast( SearchEnabled.HandlingUnitQuantityUnit as bstme ) as HandlingUnitQuantityUnit,
SearchEnabled.MaterialName,
SearchEnabled.MaintPriority,
SearchEnabled.MaintenanceOrder,
_GenericPriorityText.GenericPriorityDesc,
SearchEnabled.FldLogsDelivIsHeldOnShore,
SearchEnabled.QltyMgmtInProcmtIsActive,
SearchEnabled.EWMWarehouse,
case
when SearchEnabled.EWMWarehouse is not initial or SearchEnabled.FldLogsIsSupplierItem is not initial
then cast('X' as boolean)
else cast( '' as boolean )
end as FldLogsIsWarehouseMngd,
//Commented as part of Decommissioning of Storage Type and Storage bin
// SearchEnabled.FldLogsStorageType,
// SearchEnabled.EWMStorageBin,
case
when SearchEnabled.FldLogsProcRecRcvgStatus = '01' or SearchEnabled.FldLogsProcRecRcvgStatus = '04'
then 0
// 2 step GR for future release
// when SearchEnabled.FldLogsProcRecRcvgStatus = '02' or SearchEnabled.FldLogsProcRecRcvgStatus = '04'
// then 3
when SearchEnabled.FldLogsProcRecRcvgStatus = '03'
then 1
else 3
end as FldLogsProcRecRcvgStsCritlty,
SearchEnabled.FldLogsProcRecRcvgStatus,
_FldLogsProcRcptRcvgStatus.FldLogsProcRcptRcvgStatusTxt,
//Material document details
SearchEnabled.PostingDate, //Goods receipt date
SearchEnabled.DocumentDate,
SearchEnabled.DocumentReferenceID, //Delivery Note
SearchEnabled.GoodsMovementStatus,
SearchEnabled.GoodsMovementType,
SearchEnabled.InventoryValuationType,
_GoodsMovementTypeT.GoodsMovementTypeName,
SearchEnabled.InventoryUsabilityCode,
SearchEnabled.InventoryUsabilityCode as StockType,
_StockTypeText.StockTypeName,
SearchEnabled.DeliveryDocumentBySupplier,
// @Semantics.quantity.unitOfMeasure: 'ItemWeightUnit'
// SearchEnabled.ItemGrossWeight,
// SearchEnabled.ItemWeightUnit,
//Delivery Document header
SearchEnabled.LoadingPoint,
SearchEnabled.UnloadingPointName,
SearchEnabled.FldLogsSuplrItemVislInspCode,
_FldLogsSuplrItmVislInspText.FldLogsSuplrItemVislInspText,
SearchEnabled.ReversedMaterialDocument,
//failed receipts
case when SearchEnabled.FldLogsItmIsFailed = 'X'
then 1 end as FldLogsFailedRcptCritlty,
//received tab
SearchEnabled.Batch,
//Commented for Performance issues, logic pushed up using _BATCH association
// SearchEnabled.ManufactureDate,
// SearchEnabled.ShelfLifeExpirationDate,
_Batch,
SearchEnabled.CreatedByUser,
//serial number
SearchEnabled.MaterialIsSerialManaged as MaterialIsSerialManaged,
//Show the serial numbers section only for V3 when materila is serial managed, V1 and V2 updated from action
case
when SearchEnabled.MaterialIsSerialManaged is not initial and
//( SearchEnabled.DeliveryDocument is initial and
// ( ( SearchEnabled.EWMWarehouse is initial or SearchEnabled.EWMWarehouse is null ) and
( SearchEnabled.FldLogsProcRecRcvgStatus = '01' or SearchEnabled.FldLogsProcRecRcvgStatus = '03' )
then cast('' as boolean preserving type )
else cast('X' as boolean preserving type ) end as FldLogsSerialSecIsHidden,
case
when SearchEnabled.MaterialIsSerialManaged is not initial and
// 2 step GR for future release
// ( SearchEnabled.FldLogsProcRecRcvgStatus = '02' or
// SearchEnabled.FldLogsProcRecRcvgStatus = '04' )
SearchEnabled.FldLogsProcRecRcvgStatus = '02'
then cast('' as boolean preserving type )
else cast('X' as boolean preserving type ) end as FldLogsSrlSecAggrgnIsHidden,
case
when SearchEnabled.FldLogsItmIsReceived is not initial and
SearchEnabled.MaterialIsSerialManaged is not initial
then cast('X' as boolean preserving type )
else cast('' as boolean preserving type ) end as FldLogsIsAutoSerialization,
//batch managed
case
when SearchEnabled.IsBatchManagementRequired is not initial
then cast('' as boolean preserving type )
else cast('X' as boolean preserving type )
end as IsBatchManagementRequired,
FldLogsIsSupplierItem,
concat(concat( FldLogsSuplrItmMatlDoc, '/'), SearchEnabled.GoodsMovementItem) as FldLogsMatlDocItem,
SearchEnabled.InventoryStockType,
SearchEnabled.InventoryStockTypeName,
//cast('' as bktxt ) as MaterialDocumentHeaderText,
SearchEnabled.MaterialDocumentHeaderText,
cast( $session.system_date as budat preserving type ) as FldLogsRvslPostingDate,
SearchEnabled.FldLogsIsValnType,
SearchEnabled.FldLogsManufactureDate,
SearchEnabled.FldLogsShelfLifeExpiryDate,
SearchEnabled.FldLogsItmIsAtRemote,
SearchEnabled.FldLogsIsContainerHidden,
case
when
SearchEnabled.FldLogsItmIsFailed is initial
then cast('X' as boolean preserving type )
else
cast('' as boolean preserving type )
end as FldLogsErrorLogSecIsHidden,
case
when SearchEnabled.FldLogsItmIsReceived is initial
then cast('X' as boolean preserving type )
else
cast('' as boolean preserving type ) end as FldLogsIsVisibleInRcvd,
SearchEnabled.PurchasingDocumentSubtype,
_StorageLocation.StorageLocationName,
// case when SearchEnabled.ReversedMaterialDocument is not initial
// then cast( -1 * SearchEnabled.FldLogsGRQty as labst )
// else cast( SearchEnabled.FldLogsGRQty as labst ) end as FldLogsReversedQty,
//
PackagingMaterial,
SearchEnabled.FldLogsStatus,
SearchEnabled.FldLogsStatusFrmEWMInbDeliv, //Status IDB
_FldLogsStatusTxt.FldLogsStatusTxt,
_FldLogsStatusEWMTxt.FldLogsStatusTxt as FldLogsStatusFrmEWMInbDelivTxt,
SearchEnabled.MaterialGroup,
_MaterialGroupText.MaterialGroupName,
// SearchEnabled.FldLogsContainerOwner,
// SearchEnabled.FldLogsSealNumber1,
// SearchEnabled.FldLogsSealNumber2,
// SearchEnabled.FldLogsSealNumber3,
// SearchEnabled.FldLogsSealNumber4,
// SearchEnabled.FldLogsSealNumber5,
// SearchEnabled.FldLogsSuplrItmPackggTypeCode,
// SearchEnabled.FldLogsSuplrItmPackggTypeTxt,
//Hide Container information section for all items except package type "02 = Container"
//Other types "00 = Item" "01 = Package"
// case
// when SearchEnabled.FldLogsSuplrItmPackggTypeCode = '02'
// then cast('' as boolean preserving type )
// else cast('X' as boolean preserving type ) end as FldLogsCtnInfoSecIsHidden,
cast('' as boolean) as FldLogsCtnInfoSecIsHidden,
//hide the handling units section for supplier items and OBD items at remote
case
when SearchEnabled.FldLogsIsSupplierItem is not initial and
( SearchEnabled.FldLogsProcRecRcvgStatus = '01' or SearchEnabled.FldLogsProcRecRcvgStatus = '03' )
then cast('X' as boolean preserving type )
when SearchEnabled.FldLogsIsSupplierItem is initial and
(SearchEnabled.DistrStatusByDecentralizedWrhs = '' or SearchEnabled.DistrStatusByDecentralizedWrhs is null or SearchEnabled.DistrStatusByDecentralizedWrhs is initial)
// or SearchEnabled.PurchasingDocumentSubtype = 'T'
// or SearchEnabled.FldLogsItmIsAtRemote is not initial
then cast('X' as boolean preserving type )
else cast (''as boolean preserving type ) end as FldLogsHandlingUnitSecIsHidden,
// Supplier Item HU
SearchEnabled.HandlingUnitExternalID,
SearchEnabled.HandlingUnitId,
//Commented as part of Decommissioning of Storage Type
// _StorageTypeTxt.StorageTypeName,
_PackagingMaterialTxt.MaterialName as PackagingMaterialName,
case when _OBDContainerItem.DeliveryDocument is not null
then cast( 'X' as boolean )
else cast( '' as boolean ) end as FldLogsOutbDelivIsAssgdToCtn,
SearchEnabled.PickingStatus,
SearchEnabled.IsToBeAcceptedAtOrigin,
// 2 step GR for future release
// Set read only for V1, receive at remote, supplier item, Pre-received, To be received if Origin flag is set
// case when ( SearchEnabled.FldLogsIsSupplierItem is not initial or
// SearchEnabled.PurchasingDocumentSubtype = 'T' or
// SearchEnabled.FldLogsProcRecRcvgStatus = '04' or
// ( SearchEnabled.EWMWarehouse is not initial and SearchEnabled.FldLogsProcRecRcvgStatus = '01' ) or
// ( SearchEnabled.FldLogsProcRecRcvgStatus = '01' and
// SearchEnabled.IsToBeAcceptedAtOrigin is not initial )
// )
// then cast('' as boolean )
// else
// cast('X' as boolean) end as FldLogsGdsMvtTypeIsEditable,
cast('' as boolean preserving type ) as FldLogsGdsMvtTypeIsEditable,
//Enable the print label button only for Received items and items not at remote and non-reversed items
case
when SearchEnabled.FldLogsItmIsReceived is not initial and
SearchEnabled.ReversedMaterialDocument is not initial
then cast('' as boolean preserving type )
when(SearchEnabled.FldLogsItmIsReceived is not initial and
SearchEnabled.FldLogsItmIsAtRemote is initial)
then cast('X' as boolean preserving type )
else
cast('' as boolean preserving type ) end as FldLogsPrintLabelIsVisible,
SearchEnabled.FldLogsPutawayQty,
SearchEnabled.FldLogsEWMStockType,
@Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
SearchEnabled.FldLogsOpenDelivQty,
_EWMStockTypeTxt.StockTypeName as FldLogsEWMStockTypeText,
SearchEnabled.IsBusinessPurposeCompleted,
SearchEnabled.SuplrCoIsBusPrpsCmpltd,
SearchEnabled.IsBusPrpsCmpltdCustomer,
SearchEnabled.IsEndOfPurposeBlocked,
_PoDocCatTxt.PurgDocItemCategoryName,
_PoDocCatTxt.PurgDocExternalItemCategory,
SearchEnabled.FldLogsProcRcptExtUnionID,
_OrderCatTxt.OrderCategoryName
// _ContainerOwnerTxt.SupplierName as FldLogsContainerOwnerName
// SearchEnabled.MORecipientLoc //Add by Himanshu Gupta OGFIELDLOGISTICS8-1822
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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