R_SourcingProjectItemNoteTP
Note for Item in Sourcing Project - TP
R_SourcingProjectItemNoteTP is a Transactional CDS View that provides data about "Note for Item in Sourcing Project - TP" in SAP S/4HANA. It reads from 2 data sources (R_SourcingProjectItem, P_PurgDocNote) and exposes 16 fields with key field NoteBasicUUID. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| R_SourcingProjectItem | _SrcgProjItem | inner |
| P_PurgDocNote | SourcingProjectItemNote | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_SourcingProjectTP | _SourcingProject | _SourcingProject.SourcingProjectUUID = $projection.SourcingProjectUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Note for Item in Sourcing Project - TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | NoteBasicUUID | P_PurgDocNote | NoteBasicUUID | |
| SourcingProjectItemUUID | P_PurgDocNote | NoteBasicObjectUUID | ||
| NoteBasicObjectNodeType | P_PurgDocNote | NoteBasicObjectNodeType | ||
| NoteBasicType | P_PurgDocNote | NoteBasicType | ||
| NoteBasicLanguage | P_PurgDocNote | NoteBasicLanguage | ||
| NoteBasicTitle | P_PurgDocNote | NoteBasicTitle | ||
| NoteBasicMIMEType | P_PurgDocNote | NoteBasicMIMEType | ||
| NoteBasicCreatedByUser | P_PurgDocNote | NoteBasicCreatedByUser | ||
| NoteBasicCreationDateTime | P_PurgDocNote | NoteBasicCreationDateTime | ||
| NoteBasicChangedByUser | P_PurgDocNote | NoteBasicChangedByUser | ||
| NoteBasicChangeDateTime | P_PurgDocNote | NoteBasicChangeDateTime | ||
| NoteBasicContent | P_PurgDocNote | NoteBasicContent | ||
| SourcingProjectUUID | R_SourcingProjectItem | SourcingProjectUUID | ||
| SrcPrjItemNoteTypeIsInternal | ||||
| _SourcingProjectItem | _SourcingProjectItem | |||
| _SourcingProject | _SourcingProject |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Note for Item in Sourcing Project - TP'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #L,
dataClass: #TRANSACTIONAL
}
@VDM: {
viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API
}
define view entity R_SourcingProjectItemNoteTP as select from P_PurgDocNote as SourcingProjectItemNote
inner join R_SourcingProjectItem as _SrcgProjItem on SourcingProjectItemNote.NoteBasicObjectUUID = _SrcgProjItem.SourcingProjectItemUUID
association to parent R_SourcingProjectItemTP as _SourcingProjectItem on _SourcingProjectItem.SourcingProjectItemUUID = $projection.SourcingProjectItemUUID
//R_SourcingProject
association [1..1] to R_SourcingProjectTP as _SourcingProject on _SourcingProject.SourcingProjectUUID = $projection.SourcingProjectUUID
// first attribute is internal/external which is denormalized and kept in parent entity itself
//association [1..1] to I_NOTEBASICATTRIBUTE as _notebasicattribute on
// _notebasicattribute.NoteBasicUUID = $projection.NoteBasicUUID and
// _notebasicattribute.NoteBasicAttributePosition = '1'
{
key SourcingProjectItemNote.NoteBasicUUID,
SourcingProjectItemNote.NoteBasicObjectUUID as SourcingProjectItemUUID,
SourcingProjectItemNote.NoteBasicObjectNodeType,
SourcingProjectItemNote.NoteBasicType,
SourcingProjectItemNote.NoteBasicLanguage,
SourcingProjectItemNote.NoteBasicTitle,
SourcingProjectItemNote.NoteBasicMIMEType,
SourcingProjectItemNote.NoteBasicCreatedByUser,
SourcingProjectItemNote.NoteBasicCreationDateTime,
SourcingProjectItemNote.NoteBasicChangedByUser,
SourcingProjectItemNote.NoteBasicChangeDateTime,
SourcingProjectItemNote.NoteBasicContent,
_SrcgProjItem.SourcingProjectUUID as SourcingProjectUUID,
cast ( '' as mm_pur_sp_notetype_is_internal ) as SrcPrjItemNoteTypeIsInternal,
//cast ( _notebasicattribute.NoteBasicAttributeValue as mm_pur_sp_notetype_is_internal ) as SrcPrjItemNoteTypeIsInternal,
//cast ( _notebasicattribute.NoteBasicAttributeValue as nte_attr_value ) as SrcPrjItemNoteTypeIsInternal,
_SourcingProjectItem,
_SourcingProject
}
where SourcingProjectItemNote.NoteBasicObjectNodeType = 'SourcingProjectItem'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_PURGDOCNOTE",
"R_SOURCINGPROJECTITEM"
],
"ASSOCIATED":
[
"R_SOURCINGPROJECTITEMTP",
"R_SOURCINGPROJECTTP"
],
"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