P_SupDmndAllDocDelivComp

DDL: P_SUPDMNDALLDOCDELIVCOMP Type: view BASIC

P_SupDmndAllDocDelivComp is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (lips) and exposes 3 fields.

Data Sources (1)

SourceAliasJoin Type
lips lips from

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PSUPDMNDADDCOMP view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view

Fields (3)

KeyFieldSource TableSource FieldDescription
Reservation lips fsh_rsnum
ReservationItem lips fsh_rspos
DeliveredQuantity
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
  viewType: #BASIC
}
@VDM.private: true
@AccessControl: {
  authorizationCheck: #NOT_REQUIRED,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@AbapCatalog: {
  sqlViewName: 'PSUPDMNDADDCOMP',
  compiler.compareFilter: true
 }
@ObjectModel: {
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XXL
   }
}
//@EndUserText.label: 'View for Deliveries for Sub Contracting PO Components'

define view P_SupDmndAllDocDelivComp
  as select from lips                   as lips
{
  lips.fsh_rsnum  as Reservation,
  lips.fsh_rspos  as ReservationItem,
  sum(lips.lfimg) as DeliveredQuantity
}
where
       lips.vgtyp = 'V' -- Delivery
  and  lips.lfimg > 0
  and  not(
     fsh_rsnum    = '0000000000'
     or fsh_rspos = '0000'
   )
group by
  fsh_rsnum,
  fsh_rspos