ESH_S_MAINTORDCONFIRMATION

DDL: ESH_S_MAINTORDCONFIRMATION SQL: ESH_U_MAINTORCNF Type: view

ESH_S_MAINTORDCONFIRMATION is a CDS View in SAP S/4HANA. It reads from 1 data source (ESH_N_MAINTORDCONFIRMATION) and exposes 34 fields with key fields MaintOrderConf, MaintOrderConfCntrValue.

Data Sources (1)

SourceAliasJoin Type
ESH_N_MAINTORDCONFIRMATION ESH_N_MAINTORDCONFIRMATION from

Parameters (1)

NameTypeDefault
P_Language abap.lang

Annotations (20)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.personalData.blocking #REQUIRED view
Metadata.allowExtensions true view
Search.searchable true view
EnterpriseSearch.enabled true view
ObjectModel.modelingPattern #ENTERPRISE_SEARCH_PROVIDER view
ObjectModel.supportedCapabilities #ENTERPRISE_SEARCH_PROVIDER view
UI.headerInfo.typeName Maintenance Order Confirmation view
UI.headerInfo.typeNamePlural Maintenance Order Confirmations view
Consumption.semanticObject MaintOrderConfirmation view
Metadata.ignorePropagatedAnnotations true view
UI.headerInfo.title.value Confirmation view
AbapCatalog.sqlViewName ESH_U_MAINTORCNF view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY MaintOrderConf MaintOrderConf
KEY MaintOrderConfCntrValue MaintOrderConfCntrValue Counter Value
OrderType OrderType Order Type
VarianceReasonCode VarianceReasonCode Reason
EquipmentName EquipmentName Equipment Description
FuncnlLocPrimaryLabelName FuncnlLocPrimaryLabelName Functional Location - primary label
FunctionalLocationName FunctionalLocationName Functional Location Description
CostCenter CostCenter Cost Center
ControllingArea ControllingArea Controlling Area
MaintenancePlannerGroup MaintenancePlannerGroup Planner Group
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
Assembly Assembly Pegged Reqmt
Equipment Equipment Equipment check
WorkCenterText WorkCenterText Work Center Text
WorkCenter WorkCenter Work Center
PersonnelNumber PersonnelNumber Personnel Number
Plant Plant Valuation Area
PostingDate PostingDate Posting Date for GR
MaintOrderConfirmationEntryDte MaintOrderConfirmationEntryDte
EnteredByUser EnteredByUser
LastChangedByUser LastChangedByUser User Name
ConfirmationText ConfirmationText Confirmation Text
ActualWorkQuantity ActualWorkQuantity Actual work
ActualWorkQuantityUnit ActualWorkQuantityUnit Unit for Actual Work
ActivityType ActivityType Activity Type
ActualDuration ActualDuration
ActualDurationUnit ActualDurationUnit Actual Duration Unit
MaintOrderOperationCounter MaintOrderOperationCounter Counter
OpenReservationsIsCleared OpenReservationsIsCleared Open Reservations are Cleared
MaintenanceOrder MaintenanceOrder Maintenance Order
IsReversed IsReversed Reversed?
Counter Confirmation Counter
Confirmation Confirmation
PlainLongText PlainLongText Long Text

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 ESH_S_MAINTORDCONFIRMATION.
-- 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: ESH_U_MAINTORCNF
-- Parameters: P_Language : abap.lang

CREATE VIEW ESH_S_MAINTORDCONFIRMATION AS
SELECT
  MaintOrderConf,
  MaintOrderConfCntrValue,
  OrderType,
  VarianceReasonCode,
  EquipmentName,
  FuncnlLocPrimaryLabelName,
  FunctionalLocationName,
  CostCenter,
  ControllingArea,
  MaintenancePlannerGroup,
  MaintenancePlanningPlant,
  Assembly,
  Equipment,
  WorkCenterText,
  WorkCenter,
  PersonnelNumber,
  Plant,
  PostingDate,
  MaintOrderConfirmationEntryDte,
  EnteredByUser,
  LastChangedByUser,
  ConfirmationText,
  ActualWorkQuantity,
  ActualWorkQuantityUnit,
  ActivityType,
  ActualDuration,
  ActualDurationUnit,
  MaintOrderOperationCounter,
  OpenReservationsIsCleared,
  MaintenanceOrder,
  IsReversed,
  ltrim(MaintOrderConfCntrValue, '0') AS Counter,
  ltrim(MaintOrderConf, '0') AS Confirmation,
  PlainLongText
FROM ESH_N_MAINTORDCONFIRMATION
;