I_STORAGELOCATIONADDRESS
Assigned addresses of storage locations
I_STORAGELOCATIONADDRESS is a CDS View in S/4HANA. Assigned addresses of storage locations. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_StorageLocationAddress | view | from | COMPOSITE | |
| P_StorLocDefaultAddress | view | inner | COMPOSITE |
@AbapCatalog.sqlViewName: 'IMM_STORLOCADDR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Assigned addresses of storage locations'
@ObjectModel.usageType: {
sizeCategory: #S,
serviceQuality: #A,
dataClass:#CUSTOMIZING
}
@ObjectModel.representativeKey: 'StorLocAddressSequenceNumber'
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@Metadata.ignorePropagatedAnnotations: true
define view I_StorageLocationAddress
as select from twlad
association [1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [1] to I_StorageLocation as _StorageLocation on $projection.StorageLocation = _StorageLocation.StorageLocation
and $projection.Plant = _StorageLocation.Plant
association [1] to I_Address as _Address on $projection.AddressID = _Address.AddressID
association [1] to I_OrganizationAddress as _Address_2 on $projection.AddressID = _Address_2.AddressID
and _Address_2.AddressPersonID = ''
and _Address_2.AddressRepresentationCode = ''
{
@ObjectModel.foreignKey.association: '_Plant'
key werks as Plant,
@ObjectModel.foreignKey.association: '_StorageLocation'
key lgort as StorageLocation,
key lfdnr as StorLocAddressSequenceNumber,
@ObjectModel.foreignKey.association: '_Address_2'
adrnr as AddressID,
_Plant,
_StorageLocation,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_Address_2'
_Address,
_Address_2
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TWLAD"
],
"ASSOCIATED":
[
"I_ADDRESS",
"I_ORGANIZATIONADDRESS",
"I_PLANT",
"I_STORAGELOCATION"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/