C_SCChkSalesDocTypeVH
Consumption VH for Sales Document Type
C_SCChkSalesDocTypeVH is a Consumption CDS View that provides data about "Consumption VH for Sales Document Type" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentType) and exposes 4 fields with key field SalesDocumentType. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentType | I_SalesDocumentType | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SalesDocumentTypeText | _Text | $projection.SalesDocumentType = _Text.SalesDocumentType |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSCCSALESTYPEVH | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | SalesDocumentType | view | |
| Search.searchable | true | view | |
| EndUserText.label | Consumption VH for Sales Document Type | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocumentType | SalesDocumentType | Sales Document Type | |
| SalesDocumentTypeName | Description | |||
| SDDocumentCategory | SDDocumentCategory | |||
| _Text | _Text |
@AbapCatalog.sqlViewName:'CSCCSALESTYPEVH'
@VDM.viewType: #CONSUMPTION
@ClientHandling.algorithm:#SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'SalesDocumentType'
@Search.searchable: true
@EndUserText.label: 'Consumption VH for Sales Document Type'
define view C_SCChkSalesDocTypeVH
as select from I_SalesDocumentType
association [0..*] to I_SalesDocumentTypeText as _Text
on $projection.SalesDocumentType = _Text.SalesDocumentType
{
@EndUserText.label : 'Sales Document Type'
@ObjectModel.text.association: '_Text'
@UI.hidden: true
@Search: { defaultSearchElement: true, ranking: #HIGH }
key SalesDocumentType,
@EndUserText.label: 'Description'
cast(_Text[1: Language=$session.system_language].SalesDocumentTypeName as tvakt_bezei) as SalesDocumentTypeName,
@Search: { defaultSearchElement: true, ranking: #HIGH }
SDDocumentCategory,
_Text
}
where SDDocumentCategory = 'G'
or SDDocumentCategory = 'C'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESDOCUMENTTYPE",
"I_SALESDOCUMENTTYPETEXT"
],
"ASSOCIATED":
[
"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