I_SDDocumentItemRelatedObject
SD Document Item Related Object
I_SDDocumentItemRelatedObject is a Basic CDS View that provides data about "SD Document Item Related Object" in SAP S/4HANA. It reads from 1 data source (I_SDDocCompleteRelatedObject) and exposes 9 fields with key fields SDDocumentCategory, SalesDocument, SalesDocumentItem, SDDocRelatedObjectSequenceNmbr. Part of development package VDM_SD_BF_ROBJ.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SDDocCompleteRelatedObject | I_SDDocCompleteRelatedObject | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | SD Document Item Related Object | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SDDocumentCategory | SDDocumentCategory | ||
| KEY | SalesDocument | SalesDocument | ||
| KEY | SalesDocumentItem | SalesDocumentItem | ||
| KEY | SDDocRelatedObjectSequenceNmbr | SDDocRelatedObjectSequenceNmbr | ||
| SDDocumentRelatedObjectType | SDDocumentRelatedObjectType | |||
| SDDocRelatedObjectSystem | SDDocRelatedObjectSystem | |||
| SDDocRelatedObjectReference1 | SDDocRelatedObjectReference1 | |||
| SDDocRelatedObjectReference2 | SDDocRelatedObjectReference2 | |||
| _SDDocumentRelatedObjectType | _SDDocumentRelatedObjectType |
//@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'SD Document Item Related Object'
@VDM.viewType: #BASIC
@AccessControl: {
authorizationCheck: #PRIVILEGED_ONLY,
personalData.blocking: #REQUIRED
}
//@AbapCatalog: {
// sqlViewName: 'ISDDOCITEMRO',
// compiler.compareFilter: true,
// preserveKey: true
//}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #A,
sizeCategory: #XL
}
}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET ]
define view entity I_SDDocumentItemRelatedObject as select from I_SDDocCompleteRelatedObject {
key SDDocumentCategory,
key SalesDocument,
key SalesDocumentItem,
// @ObjectModel.readOnly: true
key SDDocRelatedObjectSequenceNmbr,
@ObjectModel.foreignKey.association: '_SDDocumentRelatedObjectType'
SDDocumentRelatedObjectType,
SDDocRelatedObjectSystem,
SDDocRelatedObjectReference1,
SDDocRelatedObjectReference2,
//expose associations
_SDDocumentRelatedObjectType
}
where SalesDocumentItem != '000000';
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