C_DebitMemoRequestTypeVH

DDL: C_DEBITMEMOREQUESTTYPEVH Type: view_entity CONSUMPTION Package: ODATA_SD_DEBITMEMOREQUEST

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)

SourceAliasJoin Type
I_SalesDocumentType SalesDocumentType from

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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'