C_MfgOrderConfirmation

DDL: C_MFGORDERCONFIRMATION Type: view_entity CONSUMPTION

Manufacturing Order Confirmation

C_MfgOrderConfirmation is a Consumption CDS View that provides data about "Manufacturing Order Confirmation" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderConfirmation) and exposes 18 fields with key fields MfgOrderConfirmationGroup, MfgOrderConfirmationCount.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderConfirmation I_MfgOrderConfirmation from

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Manufacturing Order Confirmation view
Search.searchable true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value MfgOrderConfirmationGroup view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value MfgOrderConfirmation view
UI.headerInfo.typeName Manufacturing Order Confirmation view
UI.headerInfo.typeNamePlural Manufacturing Order Confirmations view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY MfgOrderConfirmationGroup MfgOrderConfirmationGroup
KEY MfgOrderConfirmationCount MfgOrderConfirmation
ManufacturingOrder ManufacturingOrder
ConfirmationText ConfirmationText
PlainLongText _LongText PlainLongText
IsFinalConfirmation IsFinalConfirmation
EnteredByUser EnteredByUser
ConfirmationUnit ConfirmationUnit
ConfirmationYieldQuantity
ConfirmationScrapQuantity
ConfirmationReworkQuantity
Plant Plant
ManufacturingOrderType ManufacturingOrderType
IsReversed IsReversed
IsReversal IsReversal
CancldMfgOrderConfCount CancldMfgOrderConfCount
ManufacturingOrderOperation ManufacturingOrderOperation
ConfirmationTotalQuantity ConfirmationTotalQuantity
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Manufacturing Order Confirmation'
@Search.searchable: true
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XL, dataClass: #MIXED}
@VDM.viewType:  #CONSUMPTION
@UI.headerInfo: {
    title : { type: #STANDARD, value: 'MfgOrderConfirmationGroup' },
    description : { type: #STANDARD, value: 'MfgOrderConfirmation' },
    typeName: 'Manufacturing Order Confirmation',
    typeNamePlural: 'Manufacturing Order Confirmations'   
}
define view entity C_MfgOrderConfirmation 
as select from I_MfgOrderConfirmation
//association [1..*] to I_MfgOrderHeaderConfirmation           as _headerConfirmation                  

//                                                             on  $projection.MfgOrderConfirmationGroup = _headerConfirmation.MfgOrderConfirmation



  {
        @UI.hidden: true
  key   MfgOrderConfirmationGroup,
        @UI.hidden: true
  key   MfgOrderConfirmation as MfgOrderConfirmationCount,
        @UI.hidden: true
        @Search: {defaultSearchElement: true, ranking: #MEDIUM, fuzzinessThreshold: 0.8}
        ManufacturingOrder,
        @UI.hidden: true
        ConfirmationText,
        @UI.hidden: true
        _LongText.PlainLongText,
        @UI.hidden: true
        IsFinalConfirmation,
        @UI.hidden: true
        EnteredByUser,
        @UI.hidden: true
        ConfirmationUnit,
        @UI.hidden: true
        @Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
        case IsReversal when '' then ConfirmationYieldQuantity  else -ConfirmationYieldQuantity  end as 
        ConfirmationYieldQuantity,
        @UI.hidden: true
        @Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
        case IsReversal when '' then ConfirmationScrapQuantity  else -ConfirmationScrapQuantity  end as 
        ConfirmationScrapQuantity,
        @UI.hidden: true
        @Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
        case IsReversal when '' then ConfirmationReworkQuantity else -ConfirmationReworkQuantity end as 
        ConfirmationReworkQuantity,
        @UI.hidden: true
        cast( case OrderConfirmationRecordType                 
                when 'R10' then ConfirmedExecutionStartDate
                when 'N10' then ConfirmedExecutionStartDate
                when 'W10' then ConfirmedExecutionStartDate
                when 'R20' then ConfirmedSetupEndDate
                when 'R30' then ConfirmedSetupEndDate
                when 'R40' then ConfirmedSetupEndDate
                when 'B10' then ConfirmedProcessingStartDate
                when 'B20' then ConfirmedProcessingEndDate
                when 'B30' then ConfirmedProcessingEndDate
                when 'B40' then ConfirmedProcessingEndDate
                when 'A10' then ConfirmedTeardownStartDate
                else            ConfirmedExecutionEndDate 
              end as ru_ersda preserving type ) as MfgOrderConfirmationEntryDate,  // Logical Date  

        @UI.hidden: true
        cast( case OrderConfirmationRecordType                
                when 'R10' then ConfirmedExecutionStartTime
                when 'N10' then ConfirmedExecutionStartTime
                when 'W10' then ConfirmedExecutionStartTime
                when 'R20' then ConfirmedSetupEndTime
                when 'R30' then ConfirmedSetupEndTime
                when 'R40' then ConfirmedSetupEndTime
                when 'B10' then ConfirmedProcessingStartTime
                when 'B20' then ConfirmedProcessingEndTime
                when 'B30' then ConfirmedProcessingEndTime
                when 'B40' then ConfirmedProcessingEndTime
                when 'A10' then ConfirmedTeardownStartTime
                else            ConfirmedExecutionEndTime 
              end as ru_erzet preserving type) as MfgOrderConfirmationEntryTime,  // Logical Time

        @UI.hidden: true
        Plant,
        @UI.hidden: true
        ManufacturingOrderType,
        @UI.hidden: true
        IsReversed,
        @UI.hidden: true
        IsReversal,
        @UI.hidden: true
        CancldMfgOrderConfCount,
        @UI.hidden: true
        ManufacturingOrderOperation,
        @UI.hidden: true
        ConfirmationTotalQuantity
}
   

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MFGORDERCONFIRMATION",
"I_ORDERCONFLONGTEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/