P_MaintOrderConfirmationSearch

DDL: P_MAINTORDERCONFIRMATIONSEARCH SQL: PMAINTCONFSEARCH Type: view BASIC

P_MaintOrderConfirmationSearch is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrderConfirmation) and exposes 65 fields with key fields MaintOrderConf, MaintOrderConfCntrValue. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceOrderConfirmation I_MaintenanceOrderConfirmation from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_OrderConfLongText _LongText $projection.MaintOrderConf = _LongText.ConfirmationGroup and $projection.MaintOrderConfCntrValue = _LongText.OrderConfirmation

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMAINTCONFSEARCH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
VDM.viewType #BASIC view
ObjectModel.representativeKey MaintOrderConfCntrValue view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY MaintOrderConf MaintOrderConf
KEY MaintOrderConfCntrValue MaintOrderConfCntrValue Counter
MaintOrderConfirmationEntryDte MaintOrderConfirmationEntryDte
MaintOrderOperationCounter MaintOrderOperationCounter Counter
EnteredByUser EnteredByUser
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
PostingDate PostingDate Posting Date for GR
WorkCenterInternalID WorkCenterInternalID Work Center
ConfirmationText ConfirmationText
Language Language Report Text Language
LongTextExists LongTextExists LgText ID
ActualWorkQuantity ActualWorkQuantity Actual work
ActualWorkQuantityUnit ActualWorkQuantityUnit
ActivityType ActivityType Activity Type
ActualDuration ActualDuration
ActualDurationUnit ActualDurationUnit
EmployeeWageType EmployeeWageType Wage type
ConfirmationYieldQuantity ConfirmationYieldQuantity
ConfirmationScrapQuantity ConfirmationScrapQuantity
ConfirmationUnit ConfirmationUnit
VarianceReasonCode VarianceReasonCode Reason
PersonnelNumber PersonnelNumber Personnel No.
OperationConfirmedStartDate OperationConfirmedStartDate
OperationConfirmedStartTime OperationConfirmedStartTime
OperationConfirmedEndDate OperationConfirmedEndDate
OperationConfirmedEndTime OperationConfirmedEndTime
ActyConfFcstdEndDate ActyConfFcstdEndDate
ActyConfFcstdEndTime ActyConfFcstdEndTime
IsFinalConfirmation IsFinalConfirmation
OpenReservationsIsCleared OpenReservationsIsCleared
MaintenanceOrder MaintenanceOrder Order
MaintenanceOrderOperation MaintenanceOrderOperation Suboperation
MaintenanceOrderSubOperation MaintenanceOrderSubOperation Suboperation
RemainingWorkQuantity RemainingWorkQuantity
RemainingWorkQuantityUnit RemainingWorkQuantityUnit
NoFurtherWorkQuantityIsExpd NoFurtherWorkQuantityIsExpd
IsReversed IsReversed Reversed?
IsReversal IsReversal Reversal doc.
ConfirmationReworkQuantity ConfirmationReworkQuantity
MaintOrderConfirmationEntryTme MaintOrderConfirmationEntryTme
AccountingIndicatorCode AccountingIndicatorCode AcctIndicator
EnteredByExternalUser EnteredByExternalUser
ConfirmationExternalEntryDate ConfirmationExternalEntryDate
ConfirmationExternalEntryTime ConfirmationExternalEntryTime
Plant Plant Valuation Area
FactoryCalendar FactoryCalendar Factory Calendar
PlainLongText _LongText PlainLongText Long Text
_ActualWorkCenter _ActualWorkCenter
_ConfirmationGroup _ConfirmationGroup
_EnteredByUser _EnteredByUser
_IsFinalConfirmation _IsFinalConfirmation
_IsReversal _IsReversal
_IsReversed _IsReversed
_Language _Language
_LastChangeByUser _LastChangeByUser
_LongTextExists _LongTextExists
_MaintenanceOrder _MaintenanceOrder
_MaintenanceOrderOperation _MaintenanceOrderOperation
_MaintOrderConfGoodsMovement _MaintOrderConfGoodsMovement
_NoFurtherWorkQuantityIsExpd _NoFurtherWorkQuantityIsExpd
_OpenReservationsIsCleared _OpenReservationsIsCleared
_PersonnelName _PersonnelName
_Plant _Plant
_VarianceReason _VarianceReason

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_MaintOrderConfirmationSearch.
-- 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: PMAINTCONFSEARCH

CREATE VIEW P_MaintOrderConfirmationSearch AS
SELECT
  MaintOrderConf,
  MaintOrderConfCntrValue,
  MaintOrderConfirmationEntryDte,
  MaintOrderOperationCounter,
  EnteredByUser,
  LastChangeDate,
  LastChangedByUser,
  PostingDate,
  WorkCenterInternalID,
  ConfirmationText,
  Language,
  LongTextExists,
  ActualWorkQuantity,
  ActualWorkQuantityUnit,
  ActivityType,
  ActualDuration,
  ActualDurationUnit,
  EmployeeWageType,
  ConfirmationYieldQuantity,
  ConfirmationScrapQuantity,
  ConfirmationUnit,
  VarianceReasonCode,
  PersonnelNumber,
  OperationConfirmedStartDate,
  OperationConfirmedStartTime,
  OperationConfirmedEndDate,
  OperationConfirmedEndTime,
  ActyConfFcstdEndDate,
  ActyConfFcstdEndTime,
  IsFinalConfirmation,
  OpenReservationsIsCleared,
  MaintenanceOrder,
  MaintenanceOrderOperation,
  MaintenanceOrderSubOperation,
  RemainingWorkQuantity,
  RemainingWorkQuantityUnit,
  NoFurtherWorkQuantityIsExpd,
  IsReversed,
  IsReversal,
  ConfirmationReworkQuantity,
  MaintOrderConfirmationEntryTme,
  AccountingIndicatorCode,
  EnteredByExternalUser,
  ConfirmationExternalEntryDate,
  ConfirmationExternalEntryTime,
  Plant,
  FactoryCalendar,
  _LongText.PlainLongText AS PlainLongText
FROM I_MaintenanceOrderConfirmation
LEFT OUTER JOIN I_OrderConfLongText AS _LongText ON MaintOrderConf = _LongText.ConfirmationGroup AND MaintOrderConfCntrValue = _LongText.OrderConfirmation  -- association [0..*]
;