P_ChmlSuplrMatlDataStsSortSqnc
Sort Sequence of Data Status
P_ChmlSuplrMatlDataStsSortSqnc is a Consumption CDS View that provides data about "Sort Sequence of Data Status" in SAP S/4HANA. It reads from 1 data source (I_ChmlSuplrMatlDataSts) and exposes 1 field.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlSuplrMatlDataSts | DataStatus | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Sort Sequence of Data Status | view | |
| AbapCatalog.sqlViewName | PCSMDSTSSORT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ChmlSuplrMatlDataStatus |
--Label of view
-- e.g. display as filter name in the consumption
@EndUserText.label: 'Sort Sequence of Data Status'
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'PCSMDSTSSORT',
--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: #CONSUMPTION
--Private view
@VDM.private: true
define view P_ChmlSuplrMatlDataStsSortSqnc
--Select data from basic view supplier status
as select from I_ChmlSuplrMatlDataSts as DataStatus
{
--Supplier status
key DataStatus.ChmlSuplrMatlDataStatus,
--Criticality of supplier status
case DataStatus.ChmlSuplrMatlDataStatus
when 'CO' then 4
when 'NO' then 3
when 'RQ' then 2
else 1
end as SortSequence
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHMLSUPLRMATLDATASTS"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA