I_ProdPlntInptAssistant

DDL: I_PRODPLNTINPTASSISTANT SQL: IPRDPLNTIA Type: view BASIC

Input Assistance for Product Plant

I_ProdPlntInptAssistant is a Basic CDS View that provides data about "Input Assistance for Product Plant" in SAP S/4HANA. It reads from 2 data sources (mara, v_marc_md) and exposes 20 fields with key fields Product, Plant. It has 6 associations to related views.

Data Sources (2)

SourceAliasJoin Type
mara mara inner
v_marc_md v_marc_md from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_UnitOfMeasure _BaseUnitOfMeasure $projection.BaseUnit = _BaseUnitOfMeasure.UnitOfMeasure
[0..*] I_UnitOfMeasureText _BaseUnitOfMeasureText $projection.BaseUnit = _BaseUnitOfMeasureText.UnitOfMeasure
[1..1] I_Producttype _ProductType $projection.ProductType = _ProductType.ProductType
[0..*] I_ProductTypeText _ProductTypeName $projection.ProductType = _ProductTypeName.ProductType
[0..1] I_ProductGroup_2 _ProductGroup $projection.ProductGroup = _ProductGroup.ProductGroup
[0..*] I_ProductGroupText_2 _ProductGroupText $projection.ProductGroup = _ProductGroupText.ProductGroup

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPRDPLNTIA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Input Assistance for Product Plant view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataExtraction.enabled true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY Product mara matnr
KEY Plant v_marc_md werks
ProductType mtart
_ProductType _ProductType
_ProductTypeName _ProductTypeName
ProductGroup matkl
_ProductGroup _ProductGroup
_ProductGroupText _ProductGroupText
BaseUnit meins
_BaseUnitOfMeasure _BaseUnitOfMeasure
_BaseUnitOfMeasureText _BaseUnitOfMeasureText
AuthorizationGroup begru
MRPType dismm
MRPController dispo
MRPGroup disgr
LotSizingProcedure disls
MinimumLotSizeQuantity bstmi
PlanningTimeFence fxhor
SafetyDuration shzet
GoodsReceiptDuration webaz
@AbapCatalog.sqlViewName: 'IPRDPLNTIA'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Input Assistance for Product Plant'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass: #MASTER
@VDM.viewType: #BASIC
@Metadata.ignorePropagatedAnnotations: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@Analytics:{
    dataExtraction: {
        enabled: true
    }
}
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE,
                                      #CDS_MODELING_DATA_SOURCE,
                                      #CDS_MODELING_ASSOCIATION_TARGET,
                                      #EXTRACTION_DATA_SOURCE
]
define view I_ProdPlntInptAssistant
  as select from v_marc_md
    inner join   mara on mara.matnr = v_marc_md.matnr
  association [1..1] to I_UnitOfMeasure      as _BaseUnitOfMeasure     on $projection.BaseUnit = _BaseUnitOfMeasure.UnitOfMeasure
  association [0..*] to I_UnitOfMeasureText  as _BaseUnitOfMeasureText on $projection.BaseUnit = _BaseUnitOfMeasureText.UnitOfMeasure
  association [1..1] to I_Producttype        as _ProductType           on $projection.ProductType = _ProductType.ProductType
  association [0..*] to I_ProductTypeText    as _ProductTypeName       on $projection.ProductType = _ProductTypeName.ProductType
  association [0..1] to I_ProductGroup_2     as _ProductGroup          on $projection.ProductGroup = _ProductGroup.ProductGroup
  association [0..*] to I_ProductGroupText_2 as _ProductGroupText      on $projection.ProductGroup = _ProductGroupText.ProductGroup
{
  key  mara.matnr      as Product,
  key  v_marc_md.werks as Plant,

       @ObjectModel.foreignKey.association: '_ProductType'
       mtart           as ProductType,
       _ProductType,
       _ProductTypeName,

       @ObjectModel.foreignKey.association: '_ProductGroup'
       matkl           as ProductGroup,
       _ProductGroup,
       _ProductGroupText,

       @ObjectModel.foreignKey.association: '_BaseUnitOfMeasure'
       @Semantics.unitOfMeasure: true
       meins           as BaseUnit,
       _BaseUnitOfMeasure,
       _BaseUnitOfMeasureText,

       begru           as AuthorizationGroup,

       dismm           as MRPType,
       dispo           as MRPController,
       disgr           as MRPGroup,
       disls           as LotSizingProcedure,

       @Semantics.quantity.unitOfMeasure: 'BaseUnit'
       bstmi           as MinimumLotSizeQuantity,
       fxhor           as PlanningTimeFence,
       shzet           as SafetyDuration,
       webaz           as GoodsReceiptDuration

}