I_CntrlPurContrDistrStatusText
Distribution Status for Central Purchase Contracts
I_CntrlPurContrDistrStatusText is a Basic CDS View that provides data about "Distribution Status for Central Purchase Contracts" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key field ItemDistributionStatus. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICPCDISTRSTATSTT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Distribution Status for Central Purchase Contracts | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ItemDistributionStatus | domvalue_l | ||
| Language | ddlanguage | |||
| ItemDistributionStatusName | ddtext | |||
| _Language | _Language |
@AbapCatalog.sqlViewName: 'ICPCDISTRSTATSTT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Distribution Status for Central Purchase Contracts'
define view I_CntrlPurContrDistrStatusText
as select from dd07t
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
key domvalue_l as ItemDistributionStatus,
@Semantics.language: true
ddlanguage as Language,
// @Semantics.text: true
// ddtext as PurgDocDistributionStatusDesc,
@Semantics.text: true
ddtext as ItemDistributionStatusName,
case domvalue_l
when '01'
then cast (2 as int2)
when '02'
then cast (1 as int2)
when '03'
then cast (3 as int2)
else
cast (0 as int2)
end as StatusCriticality,
_Language
}
where
domname = 'ME_DISTRIBUTION_STATUS'
and ( domvalue_l = '01'
or domvalue_l = '02'
or domvalue_l = '03' )
and as4local = 'A'
and ddlanguage = $session.system_language
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"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