C_SlsDocItemStorageLocationVH
Storage Location
C_SlsDocItemStorageLocationVH is a Consumption CDS View that provides data about "Storage Location" in SAP S/4HANA. It reads from 1 data source (I_ProductStorageLocation) and exposes 4 fields with key fields Product, Plant, StorageLocation.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductStorageLocation | _ProductStorageLocation | from |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSLSITMSTORLOCVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | StorageLocation | view | |
| Consumption.valueHelpDefault.fetchValues | #AUTOMATICALLY_WHEN_DISPLAYED | view | |
| EndUserText.label | Storage Location | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | |||
| KEY | Plant | I_ProductStorageLocation | Plant | |
| KEY | StorageLocation | I_ProductStorageLocation | StorageLocation | |
| StorageLocationName |
@AbapCatalog:{
sqlViewName: 'CSLSITMSTORLOCVH',
compiler.compareFilter: true,
preserveKey: true }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@Search: {
searchable: true
}
@Consumption.ranked: true
@ObjectModel:{
usageType:{
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #L},
dataCategory: #VALUE_HELP}
@ObjectModel.representativeKey: 'StorageLocation'
@Consumption.valueHelpDefault.fetchValues:#AUTOMATICALLY_WHEN_DISPLAYED
@EndUserText.label: 'Storage Location'
define view C_SlsDocItemStorageLocationVH
as select from I_ProductStorageLocation as _ProductStorageLocation
{
@UI: {
selectionField: [{ position: 30 }],
lineItem:[ {position:30, importance: #HIGH} ]
}
key cast(_ProductStorageLocation.Product as productnumber preserving type ) as Product,
@UI: {
selectionField: [{ position: 40 }],
lineItem:[ {position:40, importance: #HIGH} ]
}
key _ProductStorageLocation.Plant,
@Search: {
defaultSearchElement: true,
ranking: #HIGH,
fuzzinessThreshold: 0.8 }
@ObjectModel.text.element: [ 'StorageLocationName' ]
@UI: {
selectionField: [{ position: 10 }],
lineItem:[ {position:10, importance: #HIGH} ]
}
key _ProductStorageLocation.StorageLocation,
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8 }
@UI: {
selectionField: [{ position: 20 }],
lineItem:[ {position:20, importance: #HIGH} ]
}
_ProductStorageLocation._StorageLocation.StorageLocationName
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODUCTSTORAGELOCATION",
"I_STORAGELOCATION"
],
"ASSOCIATED":
[],
"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