@EndUserText.label : 'Chml Cmplnc Material val help with Param'
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'CCHMLCMPRODPRMVH',
--If it's true , the filter conditions are compared and , if they match, the associated join expression is evaluated only once
compiler.compareFilter: true
}
--Access Control: Authorizations Checks
@AccessControl.authorizationCheck: #MANDATORY
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #CONSUMPTION
@ObjectModel:
{
--Performance Annotations
usageType:
{
dataClass: #MIXED,
sizeCategory: #L,
serviceQuality: #C
} ,
representativeKey: 'Material'
}
@Search.searchable: true
define view C_ChmlCmplncProductParamVH
with parameters
P_ChmlCmplncInfoUUID : sysuuid_x
as select from I_Product as Product
--Join data with draft CCI root
inner join I_ChmlCmplncInfoDraft as _ChmlCmplncInfoDraft on _ChmlCmplncInfoDraft.ChmlCmplncInfoUUID = $parameters .P_ChmlCmplncInfoUUID
--Join data of draft materials that are already assigned
left outer to many join I_ChmlCmplncMatlAssgmtDraft as _MatAsgmtDraft on _MatAsgmtDraft.Material = Product.Product
and _MatAsgmtDraft.ChmlCmplncInfoUUID = $parameters .P_ChmlCmplncInfoUUID
{
@UI.hidden: true
key $parameters .P_ChmlCmplncInfoUUID as ChmlCmplncInfoUUID,
@Search.defaultSearchElement
@Search.fuzzinessThreshold : 0.7
@Search.ranking: #HIGH
@Consumption.filter .hidden: true
@UI.lineItem: [{ position: 10, importance:#HIGH, label:'Product' }]
key Product.Product as Material,
@Search.defaultSearchElement
@Search.fuzzinessThreshold : 0.7
@Search.ranking: #HIGH
@Consumption.filter .hidden: true
@UI.lineItem: [{ position: 20, importance:#HIGH, label:'Product Description' }]
Product._Text[1: Language = $session.system_language ].ProductName as MaterialName,
@Search.defaultSearchElement
@Search.fuzzinessThreshold : 0.7
@Search.ranking: #HIGH
@Consumption.filter .hidden: true
@UI.lineItem: [{ position: 30, importance:#HIGH, label:'Product Group ' }]
Product.ProductGroup as MaterialGroup,
@Search.defaultSearchElement
@Search.fuzzinessThreshold : 0.7
@Search.ranking: #HIGH
@Consumption.filter .hidden: true
@UI.lineItem: [{ position: 40, importance:#HIGH, label:'Product Group Description' }]
Product._ProductGroup._Text[1: Language = $session.system_language ].MaterialGroupName as MaterialGroupName,
@UI.hidden: true
_ChmlCmplncInfoDraft.MaterialIsDisposed,
@UI.hidden: true
_ChmlCmplncInfoDraft.MaterialIsEmissionRelevant,
@UI.hidden: true
_ChmlCmplncInfoDraft.MaterialIsProduced,
@UI.hidden: true
_ChmlCmplncInfoDraft.MaterialIsSold,
@UI.hidden: true
_ChmlCmplncInfoDraft.MaterialIsSourced,
@UI.hidden: true
_ChmlCmplncInfoDraft.MaterialIsTransported,
@UI.hidden: true
_ChmlCmplncInfoDraft.ProdStewardshipRespUnit
}
where
_MatAsgmtDraft.ChmlCmplncInfoUUID is null
Depth:
1
2
3
4
5
All
Reload
C_ChmlCmplncProductParamVH view