R_FldLogsProcessReturnHeaderTP
Process Return Header
R_FldLogsProcessReturnHeaderTP is a Transactional CDS View that provides data about "Process Return Header" in SAP S/4HANA. It reads from 1 data source (I_FldLogsProcessReturnHeader) and exposes 66 fields with key field FldLogsReturnHeaderUUID. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FldLogsProcessReturnHeader | ProcessReturnHeader | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_FldLogsReturnComment | _ReturnComment | $projection.FldLogsKitItmRefDocument2 = _ReturnComment.FldLogsReferenceDocumentNumber and $projection.ReferenceDocumentItem = _ReturnComment.ReferenceDocumentItem and _ReturnComment.FldLogsReferenceDocumentNumber is not initial |
| [0..1] | I_FldLogsSupplierItem | _SupplierItem | $projection.FldLogsSuplrItemUUID = _SupplierItem.FldLogsSuplrItemUUID |
| [0..1] | I_FldLogsReturnItem | _ReturnItms | $projection.OutboundDelivery = _ReturnItms.OutboundDelivery and $projection.OutboundDeliveryItem = _ReturnItms.OutboundDeliveryItem |
| [0..1] | I_FldLogsPlantBasic | _PlantBasic | $projection.FldLogsDispatchPlant = _PlantBasic.Plant and $projection.FldLogsDispatchPlant = _PlantBasic.SupplyingPlant |
| [0..1] | I_Plant | _ReceivingPlantText | $projection.FldLogsDestPlnt = _ReceivingPlantText.Plant |
| [0..1] | I_Plant | _DispatchPlantText | $projection.FldLogsSrcePlnt = _DispatchPlantText.Plant |
| [0..1] | I_StorageLocation | _SourceStorageLocationText | $projection.FldLogsSrceStorLocID = _SourceStorageLocationText.StorageLocation and $projection.FldLogsSrcePlnt = _SourceStorageLocationText.Plant |
| [0..1] | I_StorageLocation | _DestinationStorageLocationTxt | $projection.FldLogsDestStorLocID = _DestinationStorageLocationTxt.StorageLocation and $projection.FldLogsDestPlnt = _DestinationStorageLocationTxt.Plant |
| [1..1] | E_FieldLogisticsReturnedItem | _ProcRetHdrExt | $projection.FldLogsReturnHeaderUUID = _ProcRetHdrExt.FldLogsReturnHeaderUUID |
| [0..*] | R_FldLogsProcessReturnItemTP | _ProcessReturnItem | |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Process Return Header | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.sapObjectNodeType.name | FieldLogisticsReturnedItem | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.allowNewCompositions | true | view | |
| AbapCatalog.extensibility.elementSuffix | RTP | view | |
| AbapCatalog.extensibility.quota.maximumFields | 1000 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 100000 | view |
Fields (66)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FldLogsReturnHeaderUUID | FldLogsReturnHeaderUUID | Return Header UUID | |
| FldLogsContainerID | FldLogsContainerID | Container ID | ||
| DispatchedStartDate | DispatchedStartDate | Dispatch Date | ||
| FldLogsDispatchPlant | FldLogsDispatchPlant | Plant | ||
| NumberOfCtnTripsPerDay | NumberOfCtnTripsPerDay | Trip Counter | ||
| FldLogsReferenceDocumentNumber | FldLogsReferenceDocumentNumber | Reference Doc Number | ||
| FldLogsShptItemUUID | FldLogsShptItemUUID | Shipment Item ID | ||
| FldLogsShptItmHndlgUnitID | FldLogsShptItmHndlgUnitID | Handling Unit ID | ||
| HandlingUnitExternalID | Handling Unit ID | |||
| Material | Material | Vehicle Model | ||
| ReceiptDate | ReceiptDate | Goods receipt date | ||
| FldLogsRetdQtyInOrderUnit | FldLogsRetdQtyInOrderUnit | Quantity | ||
| FldLogsQtyInProcess | FldLogsQtyInProcess | Quantity | ||
| FldLogsRetdQtyOrderUnit | FldLogsRetdQtyOrderUnit | Order Unit | ||
| FldLogsSupplyProcess | FldLogsSupplyProcess | Supply Process | ||
| FldLogsCtnQuickAction | FldLogsCtnQuickAction | Handling Decision | ||
| FldLogsReturnedItemStatus | FldLogsReturnedItemStatus | Return Item Status | ||
| FldLogsKitItmRefDocument2 | FldLogsKitItmRefDocument2 | Reference Doc Number | ||
| ReferenceDocumentItem | ReferenceDocumentItem | Reference item | ||
| OrderID | OrderID | Order ID | ||
| FldLogsShptVoyageNumber | FldLogsShptVoyageNumber | Voyage Number | ||
| FldLogsRecommendedAction | FldLogsRecommendedAction | Recommended Action | ||
| MaterialDocument | MaterialDocument | Material Doc. | ||
| MaterialDocumentYear | MaterialDocumentYear | Material Document Year | ||
| MaterialDocumentItem | MaterialDocumentItem | Material Document Item | ||
| FieldLogisticsProcessType | FieldLogisticsProcessType | Process Type | ||
| Batch | Batch | Lot No. | ||
| ValuationType | ValuationType | Valuation Type | ||
| SerialNumber | SerialNumber | Serial Number | ||
| Reservation | Reservation | Reservation | ||
| ReservationItem | ReservationItem | Reservation Item | ||
| FldLogsRefurbishmentOrder | FldLogsRefurbishmentOrder | Order | ||
| ReferenceSDDocument | ReferenceSDDocument | Reference Doc. | ||
| ReferenceSDDocumentItem | ReferenceSDDocumentItem | Reference Item | ||
| PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | ||
| FldLogsReturnProcgComment | FldLogsReturnProcgComment | Comments | ||
| WarehouseStorageBin | WarehouseStorageBin | Storage Bin | ||
| InventorySpecialStockType | _PurOrdSpclStkDet | InventorySpecialStockType | Special Stock Type | |
| FldLogsSuplrItemUUID | FldLogsSuplrItemUUID | Suplr Item UUID | ||
| OutboundDelivery | OutboundDelivery | LE Delivery | ||
| OutboundDeliveryItem | OutboundDeliveryItem | Logistics Execution Delivery Item | ||
| IsMarkedForDeletion | IsMarkedForDeletion | Purch.org. data | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LocalLastChangeDateTime | LocalLastChangeDateTime | Time Stamp | ||
| Operation | Operation | Transaction | ||
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| FldLogsSrceStorLocID | FldLogsSrceStorLocID | Location | ||
| FldLogsDestStorLocID | FldLogsDestStorLocID | Location | ||
| FldLogsSrcePlnt | FldLogsSrcePlnt | Plant | ||
| FldLogsDestPlnt | FldLogsDestPlnt | Plant | ||
| InboundDelivery | InboundDelivery | LE Delivery | ||
| InboundDeliveryItem | InboundDeliveryItem | Item | ||
| OrderCategory | OrderCategory | Order Category | ||
| _ProcessReturnItem | _ProcessReturnItem | |||
| _MaterialText | _MaterialText | |||
| _SupplyProcessText | _SupplyProcessText | |||
| _HandlingDecisionText | _HandlingDecisionText | |||
| _StatusText | _StatusText | |||
| _RecommendedActionText | _RecommendedActionText | |||
| _PurOrdSpclStkDet | _PurOrdSpclStkDet | |||
| _ReturnComment | _ReturnComment | |||
| _ReceivingPlantText | _ReceivingPlantText | |||
| _DispatchPlantText | _DispatchPlantText | |||
| _SourceStorageLocationText | _SourceStorageLocationText | |||
| _DestinationStorageLocationTxt | _DestinationStorageLocationTxt |
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_FldLogsProcessReturnHeaderTP.
-- 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_FldLogsProcessReturnHeaderTP AS
SELECT
FldLogsReturnHeaderUUID,
FldLogsContainerID,
DispatchedStartDate,
FldLogsDispatchPlant,
NumberOfCtnTripsPerDay,
FldLogsReferenceDocumentNumber,
FldLogsShptItemUUID,
FldLogsShptItmHndlgUnitID,
cast( FldLogsShptItmHndlgUnitID as exidv preserving type ) AS HandlingUnitExternalID,
Material,
ReceiptDate,
FldLogsRetdQtyInOrderUnit,
FldLogsQtyInProcess,
FldLogsRetdQtyOrderUnit,
FldLogsSupplyProcess,
FldLogsCtnQuickAction,
FldLogsReturnedItemStatus,
FldLogsKitItmRefDocument2,
ReferenceDocumentItem,
OrderID,
FldLogsShptVoyageNumber,
FldLogsRecommendedAction,
MaterialDocument,
MaterialDocumentYear,
MaterialDocumentItem,
FieldLogisticsProcessType,
Batch,
ValuationType,
SerialNumber,
Reservation,
ReservationItem,
FldLogsRefurbishmentOrder,
ReferenceSDDocument,
ReferenceSDDocumentItem,
PurchasingDocumentItem,
FldLogsReturnProcgComment,
WarehouseStorageBin,
_PurOrdSpclStkDet.InventorySpecialStockType AS InventorySpecialStockType,
FldLogsSuplrItemUUID,
OutboundDelivery,
OutboundDeliveryItem,
IsMarkedForDeletion,
LastChangeDateTime,
LocalLastChangeDateTime,
Operation,
PurchaseOrder,
PurchaseOrderItem,
FldLogsSrceStorLocID,
FldLogsDestStorLocID,
FldLogsSrcePlnt,
FldLogsDestPlnt,
InboundDelivery,
InboundDeliveryItem,
OrderCategory
FROM I_FldLogsProcessReturnHeader AS ProcessReturnHeader
LEFT OUTER JOIN I_FldLogsReturnComment AS _ReturnComment ON FldLogsKitItmRefDocument2 = _ReturnComment.FldLogsReferenceDocumentNumber AND ReferenceDocumentItem = _ReturnComment.ReferenceDocumentItem AND _ReturnComment.FldLogsReferenceDocumentNumber is not initial -- association [0..1]
LEFT OUTER JOIN I_FldLogsSupplierItem AS _SupplierItem ON FldLogsSuplrItemUUID = _SupplierItem.FldLogsSuplrItemUUID -- association [0..1]
LEFT OUTER JOIN I_FldLogsReturnItem AS _ReturnItms ON OutboundDelivery = _ReturnItms.OutboundDelivery AND OutboundDeliveryItem = _ReturnItms.OutboundDeliveryItem -- association [0..1]
LEFT OUTER JOIN I_FldLogsPlantBasic AS _PlantBasic ON FldLogsDispatchPlant = _PlantBasic.Plant AND FldLogsDispatchPlant = _PlantBasic.SupplyingPlant -- association [0..1]
LEFT OUTER JOIN I_Plant AS _ReceivingPlantText ON FldLogsDestPlnt = _ReceivingPlantText.Plant -- association [0..1]
LEFT OUTER JOIN I_Plant AS _DispatchPlantText ON FldLogsSrcePlnt = _DispatchPlantText.Plant -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _SourceStorageLocationText ON FldLogsSrceStorLocID = _SourceStorageLocationText.StorageLocation AND FldLogsSrcePlnt = _SourceStorageLocationText.Plant -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _DestinationStorageLocationTxt ON FldLogsDestStorLocID = _DestinationStorageLocationTxt.StorageLocation AND FldLogsDestPlnt = _DestinationStorageLocationTxt.Plant -- association [0..1]
LEFT OUTER JOIN E_FieldLogisticsReturnedItem AS _ProcRetHdrExt ON FldLogsReturnHeaderUUID = _ProcRetHdrExt.FldLogsReturnHeaderUUID -- association [1..1]
LEFT OUTER JOIN R_FldLogsProcessReturnItemTP AS _ProcessReturnItem ON /* condition not available in parsed metadata */ -- association [0..*]
;
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