I_CHMLSUPLRMATLDATASTS
Chemical Supplier Material Data Status
I_CHMLSUPLRMATLDATASTS is a CDS View in S/4HANA. Chemical Supplier Material Data Status. 4 CDS views read from this table.
CDS Views using this table (4)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_ChmlSuplrMatlDataStsCritlty | view | left_outer | COMPOSITE | Criticality of Data Status |
| I_ChmlSuplrMatlDataStsVH | view | from | COMPOSITE | Value Help for Supplier Material Data Status |
| P_ChmlSuplrMatlDataStsCritlty | view | from | CONSUMPTION | Criticality of Data Status |
| P_ChmlSuplrMatlDataStsSortSqnc | view | from | CONSUMPTION | Sort Sequence of Data Status |
--Label of view
@EndUserText.label: 'Chemical Supplier Material Data Status'
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'ICSUPLRMATLDSTS',
--If it's true, the filter conditions are compared and, if they match, the associated join expression is evaluated only once
compiler.compareFilter: true,
preserveKey: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #BASIC
@ObjectModel:
{
--Performance Annotations
usageType:
{
dataClass: #META,
sizeCategory: #S,
serviceQuality: #B
},
representativeKey: 'ChmlSuplrMatlDataStatus'
}
define view I_ChmlSuplrMatlDataSts
--Select data from domain value table
as select from dd07l as SuplrMatlDataStatus
--Text association
association [0..*] to I_ChmlSuplrMatlDataStsText as _Text on $projection.ChmlSuplrMatlDataStatus = _Text.ChmlSuplrMatlDataStatus
{
--Domain Value of Data Status
@ObjectModel.text.association: '_Text'
key substring(SuplrMatlDataStatus.domvalue_l, 1, 2) as ChmlSuplrMatlDataStatus,
--Criticality of data status
case substring(SuplrMatlDataStatus.domvalue_l, 1, 2)
when 'CO' then 3
when 'RQ' then 2
when 'MI' then 1
end as ChmlSuplrMatlDataStsCritlty,
/*Association*/
_Text
}
where
SuplrMatlDataStatus.domname = 'EHFND_CSM_DATA_STATUS'
and SuplrMatlDataStatus.as4local = 'A'