I_StorageLocationAddress

DDL: I_STORAGELOCATIONADDRESS SQL: IMM_STORLOCADDR Type: view BASIC

Assigned addresses of storage locations

I_StorageLocationAddress is a Basic CDS View that provides data about "Assigned addresses of storage locations" in SAP S/4HANA. It reads from 1 data source (twlad) and exposes 8 fields with key fields Plant, StorageLocation, StorLocAddressSequenceNumber. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
twlad twlad from

Associations (4)

CardinalityTargetAliasCondition
[1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1] I_StorageLocation _StorageLocation $projection.StorageLocation = _StorageLocation.StorageLocation and $projection.Plant = _StorageLocation.Plant
[1] I_Address _Address $projection.AddressID = _Address.AddressID
[1] I_OrganizationAddress _Address_2 $projection.AddressID = _Address_2.AddressID and _Address_2.AddressPersonID = '' and _Address_2.AddressRepresentationCode = ''

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IMM_STORLOCADDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Assigned addresses of storage locations view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey StorLocAddressSequenceNumber view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Plant werks
KEY StorageLocation lgort
KEY StorLocAddressSequenceNumber lfdnr
AddressID adrnr
_Plant _Plant
_StorageLocation _StorageLocation
_Address _Address
_Address_2 _Address_2
@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":""
}
}*/