C_SlsDocFlfmtSlsDocTypeVH

DDL: C_SLSDOCFLFMTSLSDOCTYPEVH SQL: CSOFSLSDOCTYPEVH Type: view CONSUMPTION

Sales Document Type

C_SlsDocFlfmtSlsDocTypeVH is a Consumption CDS View that provides data about "Sales Document Type" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentType) and exposes 3 fields with key field SalesDocumentType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentType SalesDocumentType from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SalesDocumentTypeText _Text $projection.SalesDocumentType = _Text.SalesDocumentType

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey SalesDocumentType view
EndUserText.label Sales Document Type view
VDM.viewType #CONSUMPTION view
Search.searchable true view
Consumption.ranked true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName CSOFSLSDOCTYPEVH view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SalesDocumentType I_SalesDocumentType SalesDocumentType
SalesDocumentTypeLangDepdnt
_Text _Text
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.representativeKey: 'SalesDocumentType'
@EndUserText.label: 'Sales Document Type'
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@Consumption.ranked: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck:#NOT_REQUIRED
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'CSOFSLSDOCTYPEVH'

define view C_SlsDocFlfmtSlsDocTypeVH 

as select from I_SalesDocumentType as SalesDocumentType

association [0..*] to I_SalesDocumentTypeText  as _Text on $projection.SalesDocumentType = _Text.SalesDocumentType

{   
   @ObjectModel.text.association: '_Text'
   @Search.defaultSearchElement: true
   @Search.fuzzinessThreshold: 0.8
   @Search.ranking: #HIGH 
   key SalesDocumentType.SalesDocumentType,
   
   @Search.defaultSearchElement: true
   @Search.fuzzinessThreshold: 0.8
   @Search.ranking: #HIGH
   @UI.hidden: true
   SalesDocumentType._SalesDocumentTypeLangDepdnt[1:Language=$session.system_language].SalesDocumentTypeLangDepdnt,
  
   //Association

   _Text

}
where ( SalesDocumentType.SDDocumentCategory = 'C' or    --> Order
        SalesDocumentType.SDDocumentCategory = 'I' or    --> Order w/o charge
        SalesDocumentType.SDDocumentCategory = 'L' )     --> Debit Memo Request
 
       
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESDOCUMENTTYPE",
"I_SALESDOCUMENTTYPELANGDEPDNT"
],
"ASSOCIATED":
[
"I_SALESDOCUMENTTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/