P_StorLocDefaultAddress
P_StorLocDefaultAddress is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_StorageLocationAddress, P_StorageLocationAddress) and exposes 3 fields with key fields Plant, StorageLocation.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_StorageLocationAddress | I_StorageLocationAddress | inner |
| P_StorageLocationAddress | P_StorageLocationAddress | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMMPUR_SLDADDR | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | P_StorageLocationAddress | Plant | |
| KEY | StorageLocation | P_StorageLocationAddress | StorageLocation | |
| AddressID | AddressID |
@AbapCatalog.sqlViewName: 'PMMPUR_SLDADDR'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_StorLocDefaultAddress
as select from P_StorageLocationAddress
inner join I_StorageLocationAddress on I_StorageLocationAddress.Plant = P_StorageLocationAddress.Plant
and I_StorageLocationAddress.StorageLocation = P_StorageLocationAddress.StorageLocation
and I_StorageLocationAddress.StorLocAddressSequenceNumber = P_StorageLocationAddress.FirstAddressSequenceNumber
{
key P_StorageLocationAddress.Plant,
key P_StorageLocationAddress.StorageLocation,
AddressID
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_STORAGELOCATIONADDRESS",
"P_STORAGELOCATIONADDRESS"
],
"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