P_ReservationItem
Reservation Item
P_ReservationItem is a Consumption CDS View that provides data about "Reservation Item" in SAP S/4HANA. It reads from 1 data source (I_ReservationItem) and exposes 68 fields with key fields Reservation, ReservationItem, RecordType. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ReservationItem | I_ReservationItem | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MRPAreaSubcontractor | _MRPAreaSubcontractor | _MRPAreaSubcontractor.MRPAreaPlant = $projection.Plant and _MRPAreaSubcontractor.MRPAreaSubcontractor = $projection.Supplier |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRESERVITM | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| EndUserText.label | Reservation Item | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | P_ProcmtDocSubcontrg | view |
Fields (68)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Reservation | Reservation | Reservation | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| KEY | RecordType | RecordType | Reservation Record Type | |
| Material | Material | Vehicle Model | ||
| MRPArea | _MRPAreaSubcontractor | MRPArea | MRP Area | |
| RequirementType | RequirementType | RequirementType | ||
| MatlCompRequirementDate | MatlCompRequirementDate | Reqmts date | ||
| Plant | Plant | Valuation Area | ||
| ManufacturingOrderOperation | ManufacturingOrderOperation | Activity | ||
| GoodsMovementIsAllowed | GoodsMovementIsAllowed | Mvt Allowed | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| Batch | Batch | Lot No. | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| GLAccount | GLAccount | General Ledger | ||
| GoodsMovementType | GoodsMovementType | Movement Type | ||
| EntryUnit | EntryUnit | Unit of Entry | ||
| QuantityIsFixed | QuantityIsFixed | Qty. is fixed | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| IssuingOrReceivingPlant | IssuingOrReceivingPlant | Transfer Plant | ||
| IssuingOrReceivingStorageLoc | IssuingOrReceivingStorageLoc | Receiving SLoc. | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | ||
| ResvnItmRequiredQtyInBaseUnit | ResvnItmRequiredQtyInBaseUnit | Requirement qty | ||
| ReservationItemIsFinallyIssued | ReservationItemIsFinallyIssued | Final Issue | ||
| ReservationItmIsMarkedForDeltn | ReservationItmIsMarkedForDeltn | Deleted | ||
| ResvnItmRequiredQtyInEntryUnit | ResvnItmRequiredQtyInEntryUnit | Quantity in UnE | ||
| ResvnItmWithdrawnQtyInBaseUnit | ResvnItmWithdrawnQtyInBaseUnit | Withdrawal Qty | ||
| ResvnItmWithdrawnAmtInCCCrcy | ResvnItmWithdrawnAmtInCCCrcy | Withdr. Value | ||
| Supplier | Supplier | Supplier | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| MaterialComponentIsPhantomItem | MaterialComponentIsPhantomItem | Phantom Item | ||
| IsBulkMaterialComponent | IsBulkMaterialComponent | Bulk material | ||
| MatlCompIsTextItem | MatlCompIsTextItem | Text Item | ||
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| ReferenceOrder | ReferenceOrder | Reference Order | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| ReservationQuantityRqmtTime | ReservationQuantityRqmtTime | Time qty req'd | ||
| MaterialComponentIsMissing | MaterialComponentIsMissing | Missing Part | ||
| PlannedOrder | PlannedOrder | Planned Order | ||
| ScheduleLine | ScheduleLine | Schedule Line | ||
| ProductionSupplyArea | ProductionSupplyArea | Supply Area | ||
| IsComponentQuantityFixed | IsComponentQuantityFixed | Qty. is fixed | ||
| IsMaterialProvision | IsMaterialProvision | Mat. Prov. Ind. | ||
| GoodsRecipientName | GoodsRecipientName | Recipient Name | ||
| UnloadingPointName | UnloadingPointName | Unloading Point Name | ||
| ReservationItemText | ReservationItemText | Text | ||
| MaterialCompIsProcuredDirectly | MaterialCompIsProcuredDirectly | Checkbox | ||
| IssgOrRcvgSpclStockInd | IssgOrRcvgSpclStockInd | Special Stock | ||
| _DebitCreditCode | _DebitCreditCode | |||
| _Plant | _Plant | |||
| _IssuingOrReceivingPlant | _IssuingOrReceivingPlant | |||
| _Material | _Material | |||
| _StorageLocation | _StorageLocation | |||
| _IssuingOrReceivingStorageLoc | _IssuingOrReceivingStorageLoc | |||
| _GoodsMovementType | _GoodsMovementType | |||
| _Currency | _Currency | |||
| _PurchasingDocument | _PurchasingDocument | |||
| _PurchasingDocumentItem | _PurchasingDocumentItem | |||
| _BaseUnit | _BaseUnit | |||
| _EntryUnit | _EntryUnit | |||
| _Supplier | _Supplier | |||
| _InventorySpecialStockType | _InventorySpecialStockType | |||
| _Batch | _Batch | |||
| _MRPAreaSubcontractor | _MRPAreaSubcontractor | |||
| _SupplierCompanyByPlant | _SupplierCompanyByPlant | |||
| _ReservationHeader | _ReservationHeader |
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 P_ReservationItem.
-- 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: PRESERVITM
CREATE VIEW P_ReservationItem AS
SELECT
Reservation,
ReservationItem,
RecordType,
Material,
_MRPAreaSubcontractor.MRPArea AS MRPArea,
RequirementType,
MatlCompRequirementDate,
Plant,
ManufacturingOrderOperation,
GoodsMovementIsAllowed,
StorageLocation,
Batch,
DebitCreditCode,
BaseUnit,
GLAccount,
GoodsMovementType,
EntryUnit,
QuantityIsFixed,
CompanyCodeCurrency,
IssuingOrReceivingPlant,
IssuingOrReceivingStorageLoc,
PurchasingDocument,
PurchasingDocumentItem,
ResvnItmRequiredQtyInBaseUnit,
ReservationItemIsFinallyIssued,
ReservationItmIsMarkedForDeltn,
ResvnItmRequiredQtyInEntryUnit,
ResvnItmWithdrawnQtyInBaseUnit,
ResvnItmWithdrawnAmtInCCCrcy,
Supplier,
InventorySpecialStockType,
MaterialComponentIsPhantomItem,
IsBulkMaterialComponent,
MatlCompIsTextItem,
PurchaseRequisition,
PurchaseRequisitionItem,
ReferenceOrder,
MaterialGroup,
ReservationQuantityRqmtTime,
MaterialComponentIsMissing,
PlannedOrder,
ScheduleLine,
ProductionSupplyArea,
IsComponentQuantityFixed,
IsMaterialProvision,
GoodsRecipientName,
UnloadingPointName,
ReservationItemText,
MaterialCompIsProcuredDirectly,
IssgOrRcvgSpclStockInd
FROM I_ReservationItem
LEFT OUTER JOIN I_MRPAreaSubcontractor AS _MRPAreaSubcontractor ON _MRPAreaSubcontractor.MRPAreaPlant = Plant AND _MRPAreaSubcontractor.MRPAreaSubcontractor = Supplier -- association [0..*]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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