C_DebitMemoRequestTypeVH
Debit Memo Request Type
C_DebitMemoRequestTypeVH is a Consumption CDS View that provides data about "Debit Memo Request Type" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentType) and exposes 3 fields with key field DebitMemoRequestType. Part of development package ODATA_SD_DEBITMEMOREQUEST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentType | SalesDocumentType | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | DebitMemoRequestType | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Debit Memo Request Type | view | |
| UI.headerInfo.typeName | Debit Memo Request Type | view | |
| UI.headerInfo.typeNamePlural | Debit Memo Request Types | view | |
| Search.searchable | true | view | |
| Consumption.valueHelpDefault.fetchValues | #AUTOMATICALLY_WHEN_DISPLAYED | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DebitMemoRequestType | |||
| SalesDocumentTypeLangDepdnt | ||||
| SalesDocumentTypeName |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'DebitMemoRequestType'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@EndUserText.label: 'Debit Memo Request Type'
@UI.headerInfo:{
typeName: 'Debit Memo Request Type',
typeNamePlural: 'Debit Memo Request Types'
}
@Search.searchable: true
@Consumption.valueHelpDefault.fetchValues:#AUTOMATICALLY_WHEN_DISPLAYED
define view entity C_DebitMemoRequestTypeVH
as select from I_SalesDocumentType as SalesDocumentType
{
@Search: {
defaultSearchElement: true,
ranking: #HIGH
}
@UI.lineItem: [{ position: 10, importance: #HIGH }]
@ObjectModel.text.element: ['SalesDocumentTypeName']
key cast(SalesDocumentType.SalesDocumentType as debit_memo_request_type preserving type) as DebitMemoRequestType,
//Associations
@UI.hidden: true
@Search: {
defaultSearchElement: true,
ranking: #LOW
}
@UI.textArrangement: #TEXT_SEPARATE
SalesDocumentType._SalesDocumentTypeLangDepdnt[1:Language=$session.system_language].SalesDocumentTypeLangDepdnt,
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.9
}
@UI.lineItem: [{ position: 20, importance: #HIGH }]
SalesDocumentType._Text[1:Language=$session.system_language].SalesDocumentTypeName
}
where SalesDocumentType.SDDocumentCategory = 'L'
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