C_MatlPriceDocTypeVH
Material Price Document Type VH
C_MatlPriceDocTypeVH is a Consumption CDS View that provides data about "Material Price Document Type VH" in SAP S/4HANA. It reads from 1 data source (I_MatlPriceVarcDocCategoryText) and exposes 4 fields with key fields Name, Language, PurchasingDocumentType. Part of development package ODATA_MM_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlPriceVarcDocCategoryText | I_MatlPriceVarcDocCategoryText | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMATLDOCTYPEVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Material Price Document Type VH | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Name | Name | ||
| KEY | Language | Language | ||
| KEY | PurchasingDocumentType | |||
| PurchasingDocumentTypeName |
@AbapCatalog.sqlViewName: 'CMATLDOCTYPEVH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Material Price Document Type VH'
@VDM.viewType: #CONSUMPTION
//@Search.searchable: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.resultSet.sizeCategory: #XS
define view C_MatlPriceDocTypeVH
as select from I_MatlPriceVarcDocCategoryText
{
@UI.hidden: true
key Name,
@UI.hidden: true
key Language,
@ObjectModel.text: {
element: [ 'PurchasingDocumentTypeName' ]
}
key cast( DocumentCategory as mm_a_doctype ) as PurchasingDocumentType,
//@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
@UI.lineItem.position: 10
cast( PurchasingDocumentTypeName as mm_a_doctype_name ) as PurchasingDocumentTypeName
}
where
Language = $session.system_language
and Name = 'DOCUMENTTYPE'
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