I_PlannedOrderQuickView

DDL: I_PLANNEDORDERQUICKVIEW SQL: IPLNDORDQV Type: view COMPOSITE

Planned Order Data

I_PlannedOrderQuickView is a Composite CDS View that provides data about "Planned Order Data" in SAP S/4HANA. It reads from 1 data source (P_PlannedOrderQuickView) and exposes 57 fields with key field PlannedOrder. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_PlannedOrderQuickView P_PlannedOrderQuickView from

Parameters (1)

NameTypeDefault
P_MRPElementCategory delkz

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_WorkCenterTextBySemanticKey _ProductionLineText $projection.MRPPlant = _ProductionLineText.Plant and _ProductionLineText.Language = $session.system_language and $projection.ProductionLine = _ProductionLineText.WorkCenter

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPLNDORDQV view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Planned Order Data view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.preserveKey true view

Fields (57)

KeyFieldSource TableSource FieldDescription
KEY PlannedOrder PlannedOrder
Material Material
MRPPlant MRPPlant
Supplier Supplier
MaterialProcurementCategory MaterialProcurementCategory
ProductionSupervisor ProductionSupervisor
ProductionSupervisorName ProductionSupervisorName
PurchasingGroup PurchasingGroup
PurchasingGroupName PurchasingGroupName
PurchasingGroupPhoneNumber PurchasingGroupPhoneNumber
PurchasingGroupEmailAddress PurchasingGroupEmailAddress
MRPController MRPController
MRPControllerName _PPlannedOrder MRPControllerName
InternalContactPersonName _PPlannedOrder InternalContactPersonName
InternalContactPhoneNumber _PPlannedOrder InternalContactPhoneNumber
InternalContactEmailAddress _PPlannedOrder InternalContactEmailAddress
SupplierName _PPlannedOrder SupplierName
SupplierFullName _PPlannedOrder SupplierFullName
ContactPersonPhoneNumber _PPlannedOrder ContactPersonPhoneNumber
ContactPersonEmailAddress _PPlannedOrder ContactPersonEmailAddress
SupplyingPlant _PPlannedOrder SupplyingPlant
MaterialProcurementType MaterialProcurementType
MaterialProcurementTypeName _PPlannedOrder MaterialProcurementTypeName
ProcurementType
MaterialProcurementCatName _PPlannedOrder MaterialProcurementCatName
PlannedOrderOpeningDate PlannedOrderOpeningDate
PlndOrderPlannedStartDate PlndOrderPlannedStartDate
PlndOrderPlannedEndDate PlndOrderPlannedEndDate
MaterialGoodsReceiptDuration MaterialGoodsReceiptDuration
PlndOrderPlannedTotalQty _PPlannedOrder PlndOrderPlannedTotalQty
PlannedOrderType PlannedOrderType
PlannedOrderTypeName _PPlannedOrder PlannedOrderTypeName
PlndOrderPlannedScrapQty _PPlannedOrder PlndOrderPlannedScrapQty
GoodsReceiptQty _PPlannedOrder GoodsReceiptQty
BaseUnit _PPlannedOrder BaseUnit
ProductionPlant ProductionPlant
ProductionPlantName _PPlannedOrder ProductionPlantName
ProductionVersion ProductionVersion
ProductionVersionText _PPlannedOrder ProductionVersionText
ProductionLine ProductionLine
ProductionLineText _ProductionLineText WorkCenterText
OpenQuantity _PPlannedOrder OpenQuantity
MaterialPlannedDeliveryDurn _PPlannedOrder MaterialPlannedDeliveryDurn
FixedLotSizeQuantity _PPlannedOrder FixedLotSizeQuantity
MinimumLotSizeQuantity _PPlannedOrder MinimumLotSizeQuantity
MaximumLotSizeQuantity _PPlannedOrder MaximumLotSizeQuantity
LotSizeRoundingQuantity _PPlannedOrder LotSizeRoundingQuantity
RoundingProfile _PPlannedOrder RoundingProfile
MaterialRoundingProfileName _PPlannedOrder MaterialRoundingProfileName
MaterialPlannedProductionDurn _PPlannedOrder MaterialPlannedProductionDurn
TotalReplenishmentLeadDuration _PPlannedOrder TotalReplenishmentLeadDuration
SalesOrder SalesOrder
SalesOrderItem SalesOrderItem
Customer Customer
CustomerName
WBSElement WBSElement
_ProductionLineText _ProductionLineText
@AbapCatalog.sqlViewName: 'IPLNDORDQV'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Planned Order Data'
@ObjectModel.usageType: {serviceQuality: #X, sizeCategory: #XXL, dataClass: #MIXED}
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@AbapCatalog.preserveKey:true

define view I_PlannedOrderQuickView
  with parameters
    P_MRPElementCategory : delkz
  as select from    P_PlannedOrderQuickView(P_MRPElementCategory:'PA')          as _PPlannedOrder
  
   association [0..1] to I_WorkCenterTextBySemanticKey as _ProductionLineText on $projection.MRPPlant = _ProductionLineText.Plant
                                                                           and _ProductionLineText.Language  = $session.system_language
                                                                            and $projection.ProductionLine = _ProductionLineText.WorkCenter
{
  key PlannedOrder,
      Material,
      MRPPlant,
      Supplier,


      MaterialProcurementCategory,

      //Internal Contact

      ProductionSupervisor,
      ProductionSupervisorName,
      PurchasingGroup,
      PurchasingGroupName,
      PurchasingGroupPhoneNumber,
       PurchasingGroupEmailAddress,
      MRPController,
     _PPlannedOrder.MRPControllerName,
       _PPlannedOrder.InternalContactPersonName,
       _PPlannedOrder.InternalContactPhoneNumber,
       _PPlannedOrder.InternalContactEmailAddress,

      // Vendor

      _PPlannedOrder.SupplierName,
      _PPlannedOrder.SupplierFullName,
      _PPlannedOrder.ContactPersonPhoneNumber,
      _PPlannedOrder.ContactPersonEmailAddress,

      //Supplying Plant

      _PPlannedOrder.SupplyingPlant,

      //Planned Order

      MaterialProcurementType,
 _PPlannedOrder.MaterialProcurementTypeName,
        _PPlannedOrder.  ProcurementType,
_PPlannedOrder.MaterialProcurementCatName,

      PlannedOrderOpeningDate,
      PlndOrderPlannedStartDate,
      PlndOrderPlannedEndDate,
      MaterialGoodsReceiptDuration,
      _PPlannedOrder.PlndOrderPlannedTotalQty,

      PlannedOrderType,
      _PPlannedOrder.PlannedOrderTypeName,
      _PPlannedOrder.PlndOrderPlannedScrapQty,                                                                                                                      
      _PPlannedOrder.GoodsReceiptQty,                                                                                                                 
      _PPlannedOrder.BaseUnit,//alias added as Supplyplanning also have BaseUnit now

      ProductionPlant,
      _PPlannedOrder.ProductionPlantName,                                              
      ProductionVersion,
      _PPlannedOrder.ProductionVersionText,
        ProductionLine,
      _ProductionLineText.WorkCenterText                        as ProductionLineText,
      _PPlannedOrder.OpenQuantity,

      //Procurement Data

      _PPlannedOrder.MaterialPlannedDeliveryDurn,
      _PPlannedOrder.FixedLotSizeQuantity,
      _PPlannedOrder.MinimumLotSizeQuantity,
      _PPlannedOrder.MaximumLotSizeQuantity,
      _PPlannedOrder.LotSizeRoundingQuantity,
      _PPlannedOrder.RoundingProfile,
      _PPlannedOrder.MaterialRoundingProfileName,
      _PPlannedOrder.MaterialPlannedProductionDurn,
      _PPlannedOrder.TotalReplenishmentLeadDuration,

      //Related Objects

      SalesOrder,
      SalesOrderItem,
      Customer,
      _PPlannedOrder._Customer.CustomerName,
       WBSElement,
      _ProductionLineText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CUSTOMER",
"I_WORKCENTERTEXTBYSEMANTICKEY",
"P_PLANNEDORDERQUICKVIEW"
],
"ASSOCIATED":
[
"I_WORKCENTERTEXTBYSEMANTICKEY"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/