I_STORAGELOCATIONADDRESS

CDS View

Assigned addresses of storage locations

I_STORAGELOCATIONADDRESS is a CDS View in S/4HANA. Assigned addresses of storage locations. It contains 3 fields. 4 CDS views read from this table.

CDS Views using this table (4)

ViewTypeJoinVDMDescription
P_StorageLocationAddress view from COMPOSITE First Address of storage location
P_StorLocDefaultAddress view inner COMPOSITE First Address of storage location
P_SustStorLocAddrMinSqnc view_entity from CONSUMPTION Storage Location Address with min. Sequence
P_SustStorLocAddrMinSqncDetn view_entity from CONSUMPTION Determination of Storage Location Address with min. Sequence

Fields (3)

KeyField CDS FieldsUsed in Views
KEY Plant Plant 1
KEY StorageLocation StorageLocation 1
AddressID AddressID 1
@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'
      @Consumption.valueHelpDefinition: [{ entity: { name: 'I_PlantStdVH', element: 'Plant' }, useAsTemplate: true }]       //CustomUI

  key werks as Plant,
      @ObjectModel.foreignKey.association: '_StorageLocation'
      @Consumption.valueHelpDefinition: [{ entity: { name: 'I_StorageLocationStdVH', element: 'StorageLocation' }, useAsTemplate: true }]       //CustomUI

  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
}