I_ProdEWMPartyToDispose

DDL: I_PRODEWMPARTYTODISPOSE SQL: IPRDEWMPRTYDISP Type: view BASIC

Basic View - Entitled to Dispose

I_ProdEWMPartyToDispose is a Basic CDS View that provides data about "Basic View - Entitled to Dispose" in SAP S/4HANA. It reads from 3 data sources (I_SupplierToBusinessPartner, I_Plant, /scwm/tmapstloc) and exposes 19 fields with key fields Warehouse, BusinessPartner.

Data Sources (3)

SourceAliasJoin Type
I_SupplierToBusinessPartner BusinessPartnerSupplier inner
I_Plant Plant inner
/scwm/tmapstloc Storage from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPRDEWMPRTYDISP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
EndUserText.label Basic View - Entitled to Dispose view
AccessControl.personalData.blocking #REQUIRED view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY Warehouse /scwm/tmapstloc lgnum
KEY BusinessPartner
Plant I_Plant Plant
BusinessPartnerSupplier I_SupplierToBusinessPartner Supplier
BusinessPartnerName
AuthorizationGroup
IsBusinessPurposeCompleted
PlantName I_Plant PlantName
DataControllerSet
DataController1
DataController2
DataController3
DataController4
DataController5
DataController6
DataController7
DataController8
DataController9
DataController10
@AbapCatalog.sqlViewName: 'IPRDEWMPRTYDISP'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@Search.searchable: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel: {
    usageType: {
      serviceQuality: #C,
      sizeCategory: #L,
      dataClass: #MIXED
    }
}
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: ['BusinessPartner','Warehouse']
@EndUserText.label: 'Basic View - Entitled to Dispose'
@AccessControl.personalData.blocking: #REQUIRED
define view I_ProdEWMPartyToDispose
  as select from /scwm/tmapstloc             as Storage
    inner join   I_Plant                     as Plant                   on Plant.Plant = Storage.plant
    inner join   I_SupplierToBusinessPartner as BusinessPartnerSupplier on BusinessPartnerSupplier.Supplier = Plant.PlantSupplier
{
  key   Storage.lgnum                                                              as Warehouse,
        @Search.defaultSearchElement: true
        @Search.fuzzinessThreshold: 0.8
        @Search.ranking: #HIGH
        @ObjectModel.text.element: ['BusinessPartnerName']
  key   BusinessPartnerSupplier._BusinessPartner.BusinessPartner                   as BusinessPartner,

        @ObjectModel.text.element: ['PlantName']
        Plant.Plant                                                                as Plant,
        BusinessPartnerSupplier.Supplier                                           as BusinessPartnerSupplier,
        BusinessPartnerSupplier._BusinessPartner.BusinessPartnerName               as BusinessPartnerName,
        BusinessPartnerSupplier._BusinessPartner.AuthorizationGroup                as AuthorizationGroup,
        BusinessPartnerSupplier._BusinessPartner.IsBusinessPurposeCompleted        as IsBusinessPurposeCompleted,
        Plant.PlantName                                                            as PlantName,
        
        //added only for DCL check

        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataControllerSet,
        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController1,
        //added only for DCL check

        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController2,
        //added only for DCL check

        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController3,
        //added only for DCL check

        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController4,
        //added only for DCL check

        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController5,
        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController6,
        //added only for DCL check

        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController7,
        //added only for DCL check

        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController8,
        //added only for DCL check

        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController9,
        //added only for DCL check

        @Consumption.hidden:true
        @UI.hidden:true
        BusinessPartnerSupplier._BusinessPartner.DataController10     
}
where
  BusinessPartnerSupplier._BusinessPartner.IsBusinessPurposeCompleted = ''
group by
  lgnum,
  BusinessPartnerSupplier._BusinessPartner.BusinessPartner,
  Plant.Plant,
  Supplier,
  BusinessPartnerSupplier._BusinessPartner.BusinessPartnerName,
  BusinessPartnerSupplier._BusinessPartner.AuthorizationGroup,
  BusinessPartnerSupplier._BusinessPartner.IsBusinessPurposeCompleted,
  Plant.PlantName,
  BusinessPartnerSupplier._BusinessPartner.DataControllerSet,
  BusinessPartnerSupplier._BusinessPartner.DataController1,
  BusinessPartnerSupplier._BusinessPartner.DataController2,
  BusinessPartnerSupplier._BusinessPartner.DataController3,
  BusinessPartnerSupplier._BusinessPartner.DataController4,
  BusinessPartnerSupplier._BusinessPartner.DataController5,
  BusinessPartnerSupplier._BusinessPartner.DataController6,
  BusinessPartnerSupplier._BusinessPartner.DataController7,
  BusinessPartnerSupplier._BusinessPartner.DataController8,
  BusinessPartnerSupplier._BusinessPartner.DataController9,
  BusinessPartnerSupplier._BusinessPartner.DataController10
  
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNER",
"I_PLANT",
"I_SUPPLIERTOBUSINESSPARTNER",
"/SCWM/TMAPSTLOC"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/