I_OrderConfirmationRequest

DDL: I_ORDERCONFIRMATIONREQUEST Type: view_entity BASIC

Order Confirmation Request

I_OrderConfirmationRequest is a Basic CDS View that provides data about "Order Confirmation Request" in SAP S/4HANA. It reads from 2 data sources (afrp0, I_LogisticsOrder) and exposes 27 fields with key field PlantDataCollectionItem.

Data Sources (2)

SourceAliasJoin Type
afrp0 afrp0 from
I_LogisticsOrder LogisticsOrder inner

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Order Confirmation Request view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY PlantDataCollectionItem afrp0 counter Version
ertstampsasCreationDateTime
EnteredByUser afrp0 ernam User Name
ltxa1asConfirmationText
budatasPostingDate
OperationConfirmation afrp0 rueck Return Agmt
FinalConfirmationType afrp0 aueru Final Confirmtn
OpenReservationsIsCleared afrp0 ausor Open Reservs.
ConfirmationApplicationOrigin afrp0 ru_orina Appl. Origin
ConfirmationInterfaceOrigin afrp0 ru_orini InterfaceOrigin
OrderConfirmationRecordType afrp0 satza Time event type
ExternalSystemConfirmation afrp0 extid External Key
aufnrasOrderID
Sequence afrp0 aplfl Sequence
OrderOperation
OrderSuboperation
LeadingOrder I_LogisticsOrder LeadingOrder Last order
Plant I_LogisticsOrder Plant Valuation Area
OrderCategory I_LogisticsOrder OrderCategory Order Category
OrderType
arbplasWorkCenter
WorkCenterPlant
meinhasConfirmationUnit
ConfirmationYieldQuantity afrp0 lmnga Yield Quantity
ConfirmationScrapQuantity afrp0 xmnga Scrap Quantity
ConfirmationReworkQuantity afrp0 rmnga Rework Quantity
VarianceReasonCode afrp0 grund Reason for mvt.

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_OrderConfirmationRequest.
-- 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 I_OrderConfirmationRequest AS
SELECT
  afrp0.counter AS PlantDataCollectionItem,
  afrp0.ernam AS EnteredByUser,
  afrp0.rueck AS OperationConfirmation,
  afrp0.aueru AS FinalConfirmationType,
  afrp0.ausor AS OpenReservationsIsCleared,
  afrp0.ru_orina AS ConfirmationApplicationOrigin,
  afrp0.ru_orini AS ConfirmationInterfaceOrigin,
  afrp0.satza AS OrderConfirmationRecordType,
  afrp0.extid AS ExternalSystemConfirmation,
  afrp0.aplfl AS Sequence,
  cast(afrp0.vornr as vdm_vornr preserving type) AS OrderOperation,
  cast(afrp0.uvorn as vdm_uvorn preserving type) AS OrderSuboperation,
  LogisticsOrder.LeadingOrder AS LeadingOrder,
  LogisticsOrder.Plant AS Plant,
  LogisticsOrder.OrderCategory AS OrderCategory,
  cast(LogisticsOrder.OrderType as aufart preserving type) AS OrderType,
  cast(afrp0.werks as vdm_poplatzwrk preserving type) AS WorkCenterPlant,
  afrp0.lmnga AS ConfirmationYieldQuantity,
  afrp0.xmnga AS ConfirmationScrapQuantity,
  afrp0.rmnga AS ConfirmationReworkQuantity,
  afrp0.grund AS VarianceReasonCode
FROM afrp0
INNER JOIN I_LogisticsOrder AS LogisticsOrder ON /* join condition not captured in parsed metadata */
;