A_SourcingProjectReasonModel
Reason Model
A_SourcingProjectReasonModel is a Basic CDS View that provides data about "Reason Model" in SAP S/4HANA. It reads from 1 data source (I_ProductSourcingReasonModel) and exposes 3 fields with key fields SourcingProjectReasonGroup, SourcingProjectReason. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductSourcingReasonModel | I_ProductSourcingReasonModel | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_SourcingProjectReasonText | _SourcingProjectReasonText | _SourcingProjectReasonText.SourcingProjectReason = $projection.SourcingProjectReason |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| OData.entityType.name | SourcingProjectReasonModel_Type | view | |
| EndUserText.label | Reason Model | view | |
| Feature | BF:SOURCINGPROJECTREASONCODES | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourcingProjectReasonGroup | ProductSourcingReasonGroup | ||
| KEY | SourcingProjectReason | ProductSourcingReason | ||
| _SourcingProjectReasonText | _SourcingProjectReasonText |
@ObjectModel:{
usageType.dataClass: #CUSTOMIZING,
usageType.serviceQuality: #A,
usageType.sizeCategory: #S }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@VDM:{
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@OData.entityType.name: 'SourcingProjectReasonModel_Type'
@EndUserText.label: 'Reason Model'
@Feature:'BF:SOURCINGPROJECTREASONCODES'
define view entity A_SourcingProjectReasonModel
as select from I_ProductSourcingReasonModel
association [0..*] to A_SourcingProjectReasonText as _SourcingProjectReasonText on _SourcingProjectReasonText.SourcingProjectReason = $projection.SourcingProjectReason
{
@Feature: 'BF:SOURCINGPROJECTREASONCODES'
key ProductSourcingReasonGroup as SourcingProjectReasonGroup,
@Feature: 'BF:SOURCINGPROJECTREASONCODES'
@ObjectModel.sapObjectNodeTypeReference: 'ProductSourcingReason'
@ObjectModel.text.association: '_SourcingProjectReasonText'
key ProductSourcingReason as SourcingProjectReason,
@Feature: 'BF:SOURCINGPROJECTREASONCODES'
_SourcingProjectReasonText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODUCTSOURCINGREASONMODEL"
],
"ASSOCIATED":
[
"A_SOURCINGPROJECTREASONTEXT"
],
"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