I_MATLPLNTCOMPASSEMBLECONTROL

CDS View

Component Assemble Control of a Material in a Plant

I_MATLPLNTCOMPASSEMBLECONTROL is a CDS View in S/4HANA. Component Assemble Control of a Material in a Plant. It contains 7 fields. 17 CDS views read from this table.

CDS Views using this table (17)

ViewTypeJoinVDMDescription
C_MfgOpActyComponentVH view inner CONSUMPTION Components
C_OpActyInstceReferenceCompVH view_entity inner CONSUMPTION Reference component of an OA instance
P_MfgOrderOperationCompMatl view inner CONSUMPTION
P_MfgProcgExecBatchStock view inner COMPOSITE
P_MfgProcgExecNonAssySrlNmbr view inner COMPOSITE
P_MfgProcgExecNonSrlzdBatch view inner COMPOSITE
P_OpActyInstanceAssembledComp2 view inner COMPOSITE
P_OpActyInstcePlndComponent view_entity inner CONSUMPTION Planned Components at OA Instance
P_OpActyPlndMatlRetForMnlAssy view inner CONSUMPTION
P_OperationActivityComponent view inner CONSUMPTION
P_ProcgExecOpActySFIGrpCompCns view inner CONSUMPTION
P_SFIAssembledComponent2 view inner CONSUMPTION
P_SFINotAssldTrcblComponent1 view_entity inner COMPOSITE SFI Not Assembled Traceable Components
P_SFITraceableAssldComp view_entity inner CONSUMPTION
P_SFOTraceableAssldComp view_entity inner CONSUMPTION
P_ShopFloorItemAtOpActyComp2 view inner CONSUMPTION
P_ShopFloorItemComponents view inner COMPOSITE

Fields (7)

KeyField CDS FieldsUsed in Views
KEY Plant Plant 1
_MatlCompAssembleControl _MatlCompAssembleControl 2
IsBatchManagementRequired IsBatchManagementRequired 9
MatlCompAssembleControl MatlCompAssembleControl 5
SerialNumberIsRqdForAssembly SerialNumberIsRqdForAssembly 8
SerialNumberProfile SerialNumberProfile 8
StockCheckMessageType StockCheckMessageType 7
@AbapCatalog.sqlViewName: 'IMPEPRODPLANT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #MANDATORY
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XL, dataClass: #MASTER}
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Component Assemble Control of a Material in a Plant'
define view I_MatlPlntCompAssembleControl
  as select from           P_ProductPlantBasic         as ProductPlant
    left outer to one join P_AssySrlNmbrPrflProcedSttg as AssySrlNmbrPrflProcedSttg on AssySrlNmbrPrflProcedSttg.SerialNumberProfile = ProductPlant.SerialNumberProfile

  association [1..1] to I_MatlCompAssembleControl as _MatlCompAssembleControl on $projection.MatlCompAssembleControl = _MatlCompAssembleControl.MatlCompAssembleControl
  association [1..1] to I_Product                 as _Product                 on $projection.Product = _Product.Product
{
  key ProductPlant.Product                                    as Product,
  key ProductPlant.Plant                                      as Plant,
      ProductPlant.SerialNumberProfile                        as SerialNumberProfile,
      cast( case
        when AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment is null or AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment =  '01' or AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment = '02' then ''
        else 'X'
        end as boolean preserving type )                      as SerialNumberIsRqdForAssembly,
      AssySrlNmbrPrflProcedSttg.SerialNumberEquipCreationRqmt as SerialNumberEquipCreationRqmt,
      AssySrlNmbrPrflProcedSttg.StockCheckMessageType         as StockCheckMessageType,
      ProductPlant.IsBatchManagementRequired                  as IsBatchManagementRequired,
      cast(case
        when AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment is null or AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment = '01' or AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment = '02'
          then case
              when ProductPlant.IsBatchManagementRequired = '' then 0
              else  2                                                 -- Batch-managed
        end else case
              when ProductPlant.IsBatchManagementRequired = '' then 1 -- Serialized
              else  3                                                 -- Serialized & Batch-managed
        end
      end as mpe_comp_assemble_control preserving type )      as MatlCompAssembleControl,

      _MatlCompAssembleControl,
      _Product
}