P_SGBT_NTE_CDS_APITP
Private View for Notes
P_SGBT_NTE_CDS_APITP is a Consumption CDS View that provides data about "Private View for Notes" in SAP S/4HANA. It reads from 1 data source (Sgbt_Nte_Cds_Cont) and exposes 17 fields with key field NoteID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| Sgbt_Nte_Cds_Cont | NoteContent | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | Sgbt_Nte_Cds_Ntype | NoteTypeDef | $projection.NoteType = NoteTypeDef.Name |
| [1..1] | Sgbt_Nte_Cds_Langu | LanguageDef | $projection.Language = LanguageDef.LanguageISOCode |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSGBTNTECDSAPITP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Private View for Notes | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | NoteID | Sgbt_Nte_Cds_Cont | noteid | Unique ID |
| ObjectNodeType | Sgbt_Nte_Cds_Cont | objectnodetype | SAP Obj Node Type | |
| ObjectID | Sgbt_Nte_Cds_Cont | objectid | Object Value | |
| NoteType | Sgbt_Nte_Cds_Cont | notetype | Topic | |
| NoteTypeDef | NoteTypeDef | |||
| Language | Sgbt_Nte_Cds_Cont | langu | Primary lang. | |
| LanguageCode | LanguageDef | LanguageCode | Language Key | |
| LanguageDef | LanguageDef | |||
| Title | Sgbt_Nte_Cds_Cont | title | View Title | |
| MimeType | Sgbt_Nte_Cds_Cont | mimetype | MIMETYPE | |
| Length | Sgbt_Nte_Cds_Cont | length | Text Length | |
| Creator | Sgbt_Nte_Cds_Cont | creator | User ID | |
| Created | Sgbt_Nte_Cds_Cont | created | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| LastChanger | Sgbt_Nte_Cds_Cont | changer | Last Changed By | |
| LastChanged | Sgbt_Nte_Cds_Cont | changed | Time Stamp | |
| Content | Sgbt_Nte_Cds_Cont | content | Trusted Site Content | |
| Profile | NoteTypeDef | Profile | WBS sched. prof |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_SGBT_NTE_CDS_APITP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PSGBTNTECDSAPITP
CREATE VIEW P_SGBT_NTE_CDS_APITP AS
SELECT
NoteContent.noteid AS NoteID,
NoteContent.objectnodetype AS ObjectNodeType,
NoteContent.objectid AS ObjectID,
NoteContent.notetype AS NoteType,
NoteTypeDef,
NoteContent.langu AS Language,
LanguageDef.LanguageCode AS LanguageCode,
LanguageDef,
NoteContent.title AS Title,
NoteContent.mimetype AS MimeType,
NoteContent.length AS Length,
NoteContent.creator AS Creator,
NoteContent.created AS Created,
NoteContent.changer AS LastChanger,
NoteContent.changed AS LastChanged,
NoteContent.content AS Content,
NoteTypeDef.Profile AS Profile
FROM Sgbt_Nte_Cds_Cont AS NoteContent
LEFT OUTER JOIN Sgbt_Nte_Cds_Ntype AS NoteTypeDef ON NoteType = NoteTypeDef.Name -- association [1..1]
LEFT OUTER JOIN Sgbt_Nte_Cds_Langu AS LanguageDef ON Language = LanguageDef.LanguageISOCode -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA