I_MfgOrderHeaderConfirmation

DDL: I_MFGORDERHEADERCONFIRMATION SQL: IMFGORDHDRCONF Type: view BASIC

Manufacturing Order Header Confirmation

I_MfgOrderHeaderConfirmation is a Basic CDS View (Dimension) that provides data about "Manufacturing Order Header Confirmation" in SAP S/4HANA. It reads from 1 data source (I_OrderConfirmation) and exposes 69 fields with key fields MfgOrderConfirmation, MfgOrderConfirmationCount. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_OrderConfirmation I_OrderConfirmation from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_MfgOrder _MfgOrder $projection.ManufacturingOrder = _MfgOrder.ManufacturingOrder
[1..1] I_ManufacturingOrder _ManufacturingOrder $projection.ManufacturingOrder = _ManufacturingOrder.ManufacturingOrder
[1..1] I_MfgOrderCategory _MfgOrderCategory $projection.ManufacturingOrderCategory = _MfgOrderCategory.ManufacturingOrderCategory
[1..1] I_MfgOrderType _MfgOrderType $projection.ManufacturingOrderType = _MfgOrderType.ManufacturingOrderType

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IMFGORDHDRCONF view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey MfgOrderConfirmationCount view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Manufacturing Order Header Confirmation view

Fields (69)

KeyFieldSource TableSource FieldDescription
KEY MfgOrderConfirmation ConfirmationGroup
KEY MfgOrderConfirmationCount OrderConfirmation
ManufacturingOrder
ManufacturingOrderCategory
ManufacturingOrderType
ProductionPlant ProductionPlant
ConfirmationText ConfirmationText
Language Language
LongTextExists LongTextExists
FinalConfirmationType FinalConfirmationType
IsFinalConfirmation IsFinalConfirmation
OpenReservationsIsCleared OpenReservationsIsCleared
IsReversed IsReversed
IsReversal IsReversal
CancldMfgOrderConfCount CancldMfgOrderConfCount
MfgOrderConfirmationEntryDate ConfirmationEntryDate
MfgOrderConfirmationEntryTime ConfirmationEntryTime
EnteredByUser EnteredByUser
LastChangeDate LastChangeDate
LastChangedByUser LastChangedByUser
ConfirmationExternalEntryDate ConfirmationExternalEntryDate
ConfirmationExternalEntryTime ConfirmationExternalEntryTime
EnteredByExternalUser EnteredByExternalUser
ExternalSystemConfirmation ExternalSystemConfirmation
ConfirmationApplicationOrigin ConfirmationApplicationOrigin
OrderConfirmationType OrderConfirmationType
OrderConfirmationRecordType OrderConfirmationRecordType
Plant Plant
MaterialDocument MaterialDocument
MaterialDocumentYear MaterialDocumentYear
BusinessArea BusinessArea
CompanyCode CompanyCode
ControllingArea ControllingArea
ProfitCenter
ProductCostCollector ProductCostCollector
PostingDate PostingDate
PostingDateYear PostingDateYear
ConfirmationUnit ConfirmationUnit
ConfirmationYieldQuantity ConfirmationYieldQuantity
ConfirmationScrapQuantity ConfirmationScrapQuantity
ConfirmationReworkQuantity ConfirmationReworkQuantity
ConfirmationTotalQuantity ConfirmationTotalQuantity
VarianceReasonCode VarianceReasonCode
_ConfirmationGroup _ConfirmationGroup
_ManufacturingOrder _ManufacturingOrder
_MfgOrder _MfgOrder
_MfgOrderCategory _MfgOrderCategory
_MfgOrderType _MfgOrderType
_ConfirmationUnit _ConfirmationUnit
_Plant _Plant
_ProductionPlant _ProductionPlant
_User _User
_Language _Language
_FinalConfirmationType _FinalConfirmationType
_ConfirmationType _ConfirmationType
_ConfirmationRecordType _ConfirmationRecordType
_ConfirmationApplOrigin _ConfirmationApplOrigin
_BusinessArea _BusinessArea
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_ProductCostCollector _ProductCostCollector
_VarianceReason _VarianceReason
_MaterialDocument _MaterialDocument
_MaterialDocument3 _MaterialDocument3
_MaterialDocumentYear _MaterialDocumentYear
_PostingDate _PostingDate
_PostingDateYear _PostingDateYear
_LongTextIndicator _LongTextIndicator
_LongText _LongText
@AbapCatalog.sqlViewName: 'IMFGORDHDRCONF'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_User', '_LongText']
@Analytics.dataCategory:#DIMENSION
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #CLIENT_DEPENDENT
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #NONE
@ObjectModel.supportedCapabilities: [#CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE]
@ObjectModel.representativeKey: 'MfgOrderConfirmationCount'
@ObjectModel.semanticKey: ['MfgOrderConfirmation', 'MfgOrderConfirmationCount']
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #XL, dataClass: #TRANSACTIONAL}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Manufacturing Order Header Confirmation'
 
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view I_MfgOrderHeaderConfirmation
  as select from I_OrderConfirmation

  association [1..1] to I_MfgOrder           as _MfgOrder           on  $projection.ManufacturingOrder = _MfgOrder.ManufacturingOrder
  association [1..1] to I_ManufacturingOrder as _ManufacturingOrder on  $projection.ManufacturingOrder = _ManufacturingOrder.ManufacturingOrder
  association [1..1] to I_MfgOrderCategory   as _MfgOrderCategory   on  $projection.ManufacturingOrderCategory = _MfgOrderCategory.ManufacturingOrderCategory
  association [1..1] to I_MfgOrderType       as _MfgOrderType       on  $projection.ManufacturingOrderType = _MfgOrderType.ManufacturingOrderType

{
      // Key

      @ObjectModel.foreignKey.association: '_ConfirmationGroup'
  key ConfirmationGroup                                                 as MfgOrderConfirmation,
      @ObjectModel.text.element: ['ConfirmationText']
  key OrderConfirmation                                                 as MfgOrderConfirmationCount,

      // Order Data

      @ObjectModel.foreignKey.association: '_MfgOrder'
      cast(OrderID as manufacturingorder preserving type)               as ManufacturingOrder,
      @ObjectModel.foreignKey.association: '_MfgOrderCategory'
      cast(OrderCategory as manufacturingordercategory preserving type) as ManufacturingOrderCategory,
      @ObjectModel.foreignKey.association: '_MfgOrderType'
      cast(OrderType as manufacturingordertype preserving type)         as ManufacturingOrderType,
      @ObjectModel.foreignKey.association: '_ProductionPlant'
      ProductionPlant,

      // Text

      @Semantics.text: true
      ConfirmationText,
      @ObjectModel.foreignKey.association: '_Language'
      Language,
      @ObjectModel.foreignKey.association: '_LongTextIndicator'
      LongTextExists,

      // Attributes

      @ObjectModel.foreignKey.association: '_FinalConfirmationType'
      FinalConfirmationType,
      IsFinalConfirmation,
      OpenReservationsIsCleared,
      IsReversed,
      IsReversal,
      CancldMfgOrderConfCount,

      // Admin

      @Semantics.systemDate.createdAt: true
      ConfirmationEntryDate as MfgOrderConfirmationEntryDate,
      @Semantics.systemTime.createdAt: true
      ConfirmationEntryTime as MfgOrderConfirmationEntryTime,
      @Semantics.user.createdBy: true
      EnteredByUser,
      @Semantics.systemDate.lastChangedAt: true
      LastChangeDate,
      @Semantics.user.lastChangedBy: true
      LastChangedByUser,
      @Semantics.systemDate.createdAt: true
      ConfirmationExternalEntryDate,
      @Semantics.systemTime.createdAt: true
      ConfirmationExternalEntryTime,
      EnteredByExternalUser,
      ExternalSystemConfirmation,
      @ObjectModel.foreignKey.association: '_ConfirmationApplOrigin'
      ConfirmationApplicationOrigin,
      @ObjectModel.foreignKey.association: '_ConfirmationType'
      OrderConfirmationType,
      @ObjectModel.foreignKey.association: '_ConfirmationRecordType'
      OrderConfirmationRecordType,

      // Assignments

      @ObjectModel.foreignKey.association: '_Plant'
      Plant,
      @ObjectModel.foreignKey.association: '_MaterialDocument3'
      MaterialDocument,
      @ObjectModel.foreignKey.association: '_MaterialDocumentYear'  
      MaterialDocumentYear,

      // Assignments FI/CO

      @ObjectModel.foreignKey.association: '_BusinessArea'
      BusinessArea,
      @ObjectModel.foreignKey.association: '_CompanyCode'
      CompanyCode,
      @ObjectModel.foreignKey.association: '_ControllingArea'
      ControllingArea,
--    @ObjectModel.foreignKey.association: '_ProfitCenter'
      ProfitCenter,
      @ObjectModel.foreignKey.association: '_ProductCostCollector'
      ProductCostCollector,

      // Dates

      @Semantics.businessDate.at: true
      PostingDate,
      @ObjectModel.foreignKey.association: '_PostingDateYear'
      PostingDateYear,

      // Quantities and UoM

      @Semantics.unitOfMeasure: true
      ConfirmationUnit,
      @Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
      @Aggregation.default: #SUM
      ConfirmationYieldQuantity,
      @Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
      @Aggregation.default: #SUM
      ConfirmationScrapQuantity,
      @Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
      @Aggregation.default: #SUM
      ConfirmationReworkQuantity,
      @Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
      @Aggregation.default: #SUM
      ConfirmationTotalQuantity,
      @ObjectModel.foreignKey.association: '_VarianceReason'
      VarianceReasonCode,

      // Associations

      _ConfirmationGroup,
      _ManufacturingOrder,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_ManufacturingOrder'
      _MfgOrder,
      _MfgOrderCategory,
      _MfgOrderType,
      _ConfirmationUnit,
      _Plant,
      _ProductionPlant,
      _User,
      _Language,
      _FinalConfirmationType,
      _ConfirmationType,
      _ConfirmationRecordType,
      _ConfirmationApplOrigin,
      _BusinessArea,
      _CompanyCode,
      _ControllingArea,
      _ProductCostCollector,
      _VarianceReason,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_MaterialDocument3'
      _MaterialDocument,
      _MaterialDocument3,
      _MaterialDocumentYear,
      _PostingDate,
      _PostingDateYear,
      _LongTextIndicator,
      _LongText
}
where   OrderOperationInternalID = '00000000'  //Conf. on Header Level only

  and ( ConfirmationApplicationOrigin = '2' or
        ConfirmationApplicationOrigin = '6' ); //Manufacturing orders only

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ORDERCONFIRMATION"
],
"ASSOCIATED":
[
"I_BUSINESSAREA",
"I_CALENDARDATE",
"I_CALENDARYEAR",
"I_COMPANYCODE",
"I_CONFIRMATIONAPPLORIGIN",
"I_CONFIRMATIONGROUP",
"I_CONFIRMATIONRECORDTYPE",
"I_CONTROLLINGAREA",
"I_FINALCONFIRMATIONTYPE",
"I_INDICATOR",
"I_LANGUAGE",
"I_MANUFACTURINGORDER",
"I_MATERIALDOCUMENTHEADER",
"I_MATERIALDOCUMENTHEADER_2",
"I_MATERIALDOCUMENTYEAR",
"I_MFGORDER",
"I_MFGORDERCATEGORY",
"I_MFGORDERTYPE",
"I_ORDERCONFIRMATIONTYPE",
"I_ORDERCONFLONGTEXT",
"I_PLANT",
"I_PRODUCTCOSTCTRLGORDER",
"I_UNITOFMEASURE",
"I_USER",
"I_VARIANCEREASON"
],
"BASE":
[
"I_ORDERCONFIRMATION"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/