C_RFM_SlsOrdPrgrsMntrSupGnrc

DDL: C_RFM_SLSORDPRGRSMNTRSUPGNRC Type: view CONSUMPTION

Supply Details at Generic Article Item

C_RFM_SlsOrdPrgrsMntrSupGnrc is a Consumption CDS View that provides data about "Supply Details at Generic Article Item" in SAP S/4HANA. It reads from 1 data source (I_RFM_SlsOrdPrgrsMntrSupGnrc) and exposes 16 fields with key fields SalesOrder, SalesOrderItem, RFMSupplyNumber. It has 6 associations to related views. It is exposed through 1 OData service (UI_RFM_SLSORD_PRGS_MONITOR). It is used in 1 Fiori application: Monitor Sales Order Progress - Fashion.

Data Sources (1)

SourceAliasJoin Type
I_RFM_SlsOrdPrgrsMntrSupGnrc I_RFM_SlsOrdPrgrsMntrSupGnrc from

Associations (6)

CardinalityTargetAliasCondition
[1..*] C_RFM_SlsOrdPrgrsMntrSupItm _SupItem $projection.SalesOrder = _SupItem.SalesOrder and $projection.SalesOrderItem = _SupItem.HigherLevelItem and $projection.RFMSupplyNumber = _SupItem.RFMMasterSupplyNumber and $projection.SlsOrdPrgrsMntrSupType = _SupItem.RFMMasterSupplyType
[1..1] I_RFM_SlsOrdPrgrsMntrSupTypeT _SupType $projection.SlsOrdPrgrsMntrSupType = _SupType.SlsOrdPrgrsMntrSupType and _SupType.Language = $session.system_language
[1..1] I_RFM_SlsOrdPrgrsMntrSupCatT _SupCat $projection.SlsOrdPrgrsMntrSupCat = _SupCat.SlsOrdPrgrsMntrSupCat and _SupCat.Language = $session.system_language
[0..1] I_ProductText _ProductText $projection.Material = _ProductText.Product and _ProductText.Language = $session.system_language
[0..1] I_RFM_SlsOrdPrgrsMntrConfign _UserSpecficConfig _UserSpecficConfig.CreatedByUser = $session.user
[0..1] I_RFM_SlsOrdPrgrsMntrConfign _GlobalConfig _GlobalConfig.CreatedByUser = ''

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName CRFMSOPMSUPGN view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
Metadata.allowExtensions true view
EndUserText.label Supply Details at Generic Article Item view

OData Services (1)

ServiceBindingVersionContractRelease
UI_RFM_SLSORD_PRGS_MONITOR UI_RFM_SLSORD_PRGS_MONITOR V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F5392 Monitor Sales Order Progress - Fashion Transactional Monitor Sales Order Progress - Fashion : This app is used to track and further monitor for the different status of the Sales Orders and thereby further actions can be taken accordingly by the business,

Monitor Sales Order Progress - Fashion

Business Role: Order Fulfillment Specialist (Retail)

With this app, you can monitor the status, that is, the overall progress of account assigned sales orders. This application allows you to identify the conditions based on quantity and status. It checks for exceptions and helps you take informed decisions and necessary actions.

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SalesOrder SalesOrder
KEY SalesOrderItem SalesOrderItem
KEY RFMSupplyNumber RFMSupplyNumber
SlsOrdPrgrsMntrSupType SlsOrdPrgrsMntrSupType
SlsOrdPrgrsMntrSupCat SlsOrdPrgrsMntrSupCat
RFMSupplyCategoryCriticality RFMSupplyCategoryCriticality
Material Material
ProductName _ProductText ProductName
TotalSupplyQuantity TotalSupplyQuantity
ProcessedSupplyQuantity ProcessedSupplyQuantity
BaseUnit BaseUnit
ExpectedSupplyDeliveryDate ExpectedSupplyDeliveryDate
_SupCat _SupCat
_SupType _SupType
_SupItem _SupItem
_ProductText _ProductText
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@AbapCatalog: {
  sqlViewName: 'CRFMSOPMSUPGN',
  preserveKey:true,
  compiler.compareFilter: true
}
@ObjectModel: {
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #X,
     sizeCategory:   #L
   }
}
@Metadata.allowExtensions: true
@EndUserText.label: 'Supply Details at Generic Article Item'
define view C_RFM_SlsOrdPrgrsMntrSupGnrc
  as select from I_RFM_SlsOrdPrgrsMntrSupGnrc
  association [1..*] to C_RFM_SlsOrdPrgrsMntrSupItm   as _SupItem           on  $projection.SalesOrder             = _SupItem.SalesOrder
                                                                            and $projection.SalesOrderItem         = _SupItem.HigherLevelItem
                                                                            and $projection.RFMSupplyNumber        = _SupItem.RFMMasterSupplyNumber
                                                                            and $projection.SlsOrdPrgrsMntrSupType = _SupItem.RFMMasterSupplyType
  association [1..1] to I_RFM_SlsOrdPrgrsMntrSupTypeT as _SupType           on  $projection.SlsOrdPrgrsMntrSupType = _SupType.SlsOrdPrgrsMntrSupType
                                                                            and _SupType.Language                  = $session.system_language
  association [1..1] to I_RFM_SlsOrdPrgrsMntrSupCatT  as _SupCat            on  $projection.SlsOrdPrgrsMntrSupCat = _SupCat.SlsOrdPrgrsMntrSupCat
                                                                            and _SupCat.Language                  = $session.system_language
  association [0..1] to I_ProductText                 as _ProductText       on  $projection.Material  = _ProductText.Product
                                                                            and _ProductText.Language = $session.system_language
  association [0..1] to I_RFM_SlsOrdPrgrsMntrConfign  as _UserSpecficConfig on  _UserSpecficConfig.CreatedByUser = $session.user
  association [0..1] to I_RFM_SlsOrdPrgrsMntrConfign  as _GlobalConfig      on  _GlobalConfig.CreatedByUser = ''
{

  key    SalesOrder,
  key    SalesOrderItem,
  key    RFMSupplyNumber,
         @ObjectModel.text.association: '_SupType'
         SlsOrdPrgrsMntrSupType,
         @ObjectModel.text.association: '_SupCat'
         SlsOrdPrgrsMntrSupCat,
         RFMSupplyCategoryCriticality,
         @ObjectModel.text.association: '_ProductText'
         Material,
         _ProductText.ProductName,
         TotalSupplyQuantity,
         ProcessedSupplyQuantity,
         BaseUnit,
         ExpectedSupplyDeliveryDate,
         case
           when SupplyDeliveryDate is not initial
           then SupplyDeliveryDate
           else ExpectedSupplyDeliveryDate
         end              as ActualSupplyDeliveryDate,
         case
           when SupplyDeliveryDate is not initial
           then cast(Dats_Days_Between( ExpectedSupplyDeliveryDate, SupplyDeliveryDate ) as due_days)
           else cast(Dats_Days_Between( ExpectedSupplyDeliveryDate, cast($session.system_date as dats) ) as due_days)
         end              as DeliveryDateOffsetInDays,
         case
           when ExpectedSupplyDeliveryDate <= $session.system_date
           then 'X'
           else ''
         end              as DeliveryIsOverdue,
         case
           when _UserSpecficConfig.SupDelivDteOffsetKPI != 0
           then _UserSpecficConfig.SupDelivDteOffsetKPI
           when _GlobalConfig.SupDelivDteOffsetKPI != 0
           then _GlobalConfig.SupDelivDteOffsetKPI
           else cast( '7' as rfm_msop_offset_days)
         end              as SupDelivDteOffsetKPI,
         case SlsOrdPrgrsMntrSupType
           when '01'
           then cast( LTRIM(RFMSupplyNumber,'0') as banfn )
         else ''      end as PurchaseRequisition,
         case SlsOrdPrgrsMntrSupType
           when '02'
           then cast( LTRIM(RFMSupplyNumber,'0') as vdm_purchaseorder )
         else '' end      as PurchaseOrder,
         case SlsOrdPrgrsMntrSupType
           when '03'
           then cast( LTRIM(RFMSupplyNumber,'0') as plnum )
         else '' end      as PlannedOrder,
         case SlsOrdPrgrsMntrSupType
           when '04'
           then RFMSupplyNumber
         else '' end      as MasterPlannedOrder,
         case SlsOrdPrgrsMntrSupType
           when '05'
           then RFMSupplyNumber
         else '' end      as ProductionOrder,
         case SlsOrdPrgrsMntrSupType
           when '06'
           then RFMSupplyNumber
         else '' end      as MasterProductionOrder,
         _SupCat,
         _SupType,
         _SupItem,
         _ProductText
}