I_PurchasingInfoRecordNote
Purchasing Info Record General Notes
I_PurchasingInfoRecordNote is a Basic CDS View that provides data about "Purchasing Info Record General Notes" in SAP S/4HANA. It reads from 2 data sources (I_PurchasingInfoRecord, I_Text_Templates) and exposes 7 fields with key fields TextObjectType, TextObjectKey, Language, PurchasingInfoRecord. Part of development package ODATA_MM_PUR_INFOREC_API.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingInfoRecord | _PurchasingInfoRecord | inner |
| I_Text_Templates | _Text_Templates | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Purchasing Info Record General Notes | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TextObjectType | I_Text_Templates | DocumentText | |
| KEY | TextObjectKey | I_Text_Templates | ArchitecturalObjectNumber | |
| KEY | Language | I_Text_Templates | Language | |
| KEY | PurchasingInfoRecord | |||
| NoteDescription | I_Text_Templates | NoteDescription | ||
| Supplier | I_PurchasingInfoRecord | Supplier | ||
| _SupplierPurchasingOrg | I_PurchasingInfoRecord | _SupplierPurchasingOrg |
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MASTER
@VDM.viewType : #BASIC
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Purchasing Info Record General Notes'
@Metadata.ignorePropagatedAnnotations: true
define view entity I_PurchasingInfoRecordNote
as select from I_Text_Templates as _Text_Templates
inner join I_PurchasingInfoRecord as _PurchasingInfoRecord on _PurchasingInfoRecord.PurchasingInfoRecord = _Text_Templates.ArchitecturalObjectNumber
{
key _Text_Templates.DocumentText as TextObjectType,
key _Text_Templates.ArchitecturalObjectNumber as TextObjectKey,
key _Text_Templates.Language,
key cast (substring(_Text_Templates.ArchitecturalObjectNumber,1,10) as infnr ) as PurchasingInfoRecord,
_Text_Templates.NoteDescription,
//Supplier fields are used in DCL, hence exposed here.
_PurchasingInfoRecord.Supplier,
_PurchasingInfoRecord._SupplierPurchasingOrg
}
where
_Text_Templates.TechnicalObjectType = 'EINA'
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