R_ReservationDocumentHdrDraft

DDL: R_RESERVATIONDOCUMENTHDRDRAFT Type: view_entity BASIC

Reservation Header - Draft

R_ReservationDocumentHdrDraft is a Basic CDS View that provides data about "Reservation Header - Draft" in SAP S/4HANA. It reads from 1 data source (imrs_d_doc_hdr) and exposes 37 fields with key field Reservation. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
imrs_d_doc_hdr header from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_ReservationDocumentDraft _Extension $projection.Reservation = _Extension.Reservation

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Reservation Header - Draft view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix RDH view
AbapCatalog.extensibility.quota.maximumFields 404 view
AbapCatalog.extensibility.quota.maximumBytes 24080 view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY Reservation reservation Reservation
ReservationOrigin reservationorigin Origin
ReservationCreationCode reservationcreationcode Resv. Creation Code
GoodsMovementType goodsmovementtype Movement Type
ResvnVerificationCompanyCode resvnverificationcompanycode Clearing CoCode
OrderID orderid Order ID
CostCenter costcenter Cost Center
ProfitCenter profitcenter Profit Center
ControllingArea controllingarea Controlling Area
GoodsRecipientName goodsrecipientname Recipient Name
ReservationDate reservationdate Base date
IsCheckedAgainstFactoryCal ischeckedagainstfactorycal Calendar
WBSElementInternalID wbselementinternalid WBS Internal ID
WBSElement wbselement WBS Internal ID
SalesOrder salesorder SD Document
SalesOrderItem salesorderitem Sales Order Item
SalesOrderScheduleLine salesorderscheduleline SOrder schedule
AssetNumber assetnumber Asset
AssetSubNumber assetsubnumber Sub-number
NetworkNumberForAcctAssgmt networknumberforacctassgmt Network
IssuingOrReceivingPlant issuingorreceivingplant Transfer Plant
IssuingOrReceivingStorageLoc issuingorreceivingstorageloc Receiving SLoc.
ProfitabilitySegment profitabilitysegment Profitability Segment
Plant plant Valuation Area
RecordType recordtype Reservation Record Type
RequirementType requirementtype RequirementType
ReservationItemCreationCode reservationitemcreationcode Reserv. status
UserID userid User Name
CreationDateTime creationdatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes

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_ReservationDocumentHdrDraft.
-- 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_ReservationDocumentHdrDraft AS
SELECT
  Reservation,
  ReservationOrigin,
  ReservationCreationCode,
  GoodsMovementType,
  ResvnVerificationCompanyCode,
  OrderID,
  CostCenter,
  ProfitCenter,
  ControllingArea,
  GoodsRecipientName,
  ReservationDate,
  IsCheckedAgainstFactoryCal,
  WBSElementInternalID,
  WBSElement,
  SalesOrder,
  SalesOrderItem,
  SalesOrderScheduleLine,
  AssetNumber,
  AssetSubNumber,
  NetworkNumberForAcctAssgmt,
  IssuingOrReceivingPlant,
  IssuingOrReceivingStorageLoc,
  ProfitabilitySegment,
  Plant,
  RecordType,
  RequirementType,
  ReservationItemCreationCode,
  UserID,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM imrs_d_doc_hdr AS header
LEFT OUTER JOIN E_ReservationDocumentDraft AS _Extension ON Reservation = _Extension.Reservation  -- association [1..1]
;