C_DplSlsDocCatVH

DDL: C_DPLSLSDOCCATVH SQL: CDPLSLSDOCCATVH Type: view CONSUMPTION

Category of Duplicate Sales Document

C_DplSlsDocCatVH is a Consumption CDS View that provides data about "Category of Duplicate Sales Document" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentCategory) and exposes 3 fields with key field SDDocumentCategory. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentCategory I_SDDocumentCategory from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SDDocumentCategoryText _Text $projection.SDDocumentCategory = _Text.SDDocumentCategory

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CDPLSLSDOCCATVH view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
EndUserText.label Category of Duplicate Sales Document view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.representativeKey SDDocumentCategory view
VDM.viewType #CONSUMPTION view
Search.searchable true view
UI.headerInfo.typeName Sales Document Category view
UI.headerInfo.typeNamePlural Sales Document Categories view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SDDocumentCategory SDDocumentCategory
DomainValue DomainValue
_Text _Text
@AbapCatalog.sqlViewName: 'CDPLSLSDOCCATVH'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
@EndUserText.label: 'Category of Duplicate Sales Document'
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.resultSet.sizeCategory: #XS
@ObjectModel.representativeKey: 'SDDocumentCategory'
@VDM.viewType: #CONSUMPTION

@Search.searchable: true

@UI.headerInfo: {
  typeName:       'Sales Document Category',
  typeNamePlural: 'Sales Document Categories'
}
define view C_DplSlsDocCatVH
  as select from I_SDDocumentCategory

  association [0..*] to I_SDDocumentCategoryText as _Text on $projection.SDDocumentCategory = _Text.SDDocumentCategory
{

      @ObjectModel.text.association: '_Text'
  key SDDocumentCategory,

      @Consumption.hidden: true
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      DomainValue,

      _Text
}
where
     SDDocumentCategory = 'A' // Inquiry

  or SDDocumentCategory = 'B' // Quotation

  or SDDocumentCategory = 'C' // Order

  or SDDocumentCategory = 'G' // Contract

  or SDDocumentCategory = 'H' // Returns

  or SDDocumentCategory = 'I' // Order w/o charge

  or SDDocumentCategory = 'K' // Credit memo request

  or SDDocumentCategory = 'L' // Debit memo request 

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SDDOCUMENTCATEGORY"
],
"ASSOCIATED":
[
"I_SDDOCUMENTCATEGORYTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/