C_DplSlsDocTypeVH
Type of Duplicate Sales Document
C_DplSlsDocTypeVH is a Consumption CDS View that provides data about "Type of Duplicate Sales Document" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentType) and exposes 5 fields with key fields SDDocumentCategory, SalesDocumentType. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentType | I_SalesDocumentType | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_DplSlsDocCatVH | _SalesDocumentCategory | $projection.SDDocumentCategory = _SalesDocumentCategory.SDDocumentCategory |
| [0..*] | I_SalesDocumentTypeText | _Text | $projection.SalesDocumentType = _Text.SalesDocumentType |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDPLSLSDOCTYPEVH | 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 | Type of Duplicate Sales Document | 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 | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Sales Document Type | view | |
| UI.headerInfo.typeNamePlural | Sales Document Types | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SDDocumentCategory | SDDocumentCategory | ||
| KEY | SalesDocumentType | SalesDocumentType | ||
| SalesDocumentTypeLangDepdnt | ||||
| _SalesDocumentCategory | _SalesDocumentCategory | |||
| _Text | _Text |
@AbapCatalog.sqlViewName: 'CDPLSLSDOCTYPEVH'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
@EndUserText.label: 'Type of Duplicate Sales Document'
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.representativeKey: 'SalesDocumentType'
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@UI.headerInfo:{
typeName: 'Sales Document Type',
typeNamePlural: 'Sales Document Types'
}
@UI.presentationVariant: {
sortOrder: [
{ by: 'SDDocumentCategory', direction: #ASC },
{ by: 'SalesDocumentType', direction: #ASC }
]
}
define view C_DplSlsDocTypeVH
as select from I_SalesDocumentType
association [0..1] to C_DplSlsDocCatVH as _SalesDocumentCategory on $projection.SDDocumentCategory = _SalesDocumentCategory.SDDocumentCategory
association [0..*] to I_SalesDocumentTypeText as _Text on $projection.SalesDocumentType = _Text.SalesDocumentType
{
@Consumption.filter.hidden: true
@ObjectModel.foreignKey.association: '_SalesDocumentCategory'
key SDDocumentCategory,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
@ObjectModel.text.association: '_Text'
key SalesDocumentType,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
@UI.hidden: true
_SalesDocumentTypeLangDepdnt[1:Language=$session.system_language].SalesDocumentTypeLangDepdnt,
_SalesDocumentCategory,
_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_SALESDOCUMENTTYPE",
"I_SALESDOCUMENTTYPELANGDEPDNT"
],
"ASSOCIATED":
[
"C_DPLSLSDOCCATVH",
"I_SALESDOCUMENTTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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