Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Find link between company code and warehouse number

mikael_kilaker
Explorer
0 Kudos

Hi Gurus,

I need to find a table containing the link between company code and warehouse number (both in ECC and EWM), does anybody know where this link can be found?

Thank you in advance,

Mikael

1 ACCEPTED SOLUTION

meenakshi-btp
Explorer
0 Kudos

Hi,

Here is the ECC Flow.

You can get the Plant for a particular Company Code in Table TVKO and based on that plant, Warehouse Number can be fetched from Table T320.

3 REPLIES 3

meenakshi-btp
Explorer
0 Kudos

Hi,

Here is the ECC Flow.

You can get the Plant for a particular Company Code in Table TVKO and based on that plant, Warehouse Number can be fetched from Table T320.

asik_shameem
Active Contributor
0 Kudos

1. Get Plant(WERKS) using Warehouse(LGNUM) from table T320

2. Get Valuation Class(BWKEY) using Plant(WERKS) from table T001W

3. Get Company code(BUKRS) using Valuation Class(BWKEY) from table T001K

0 Kudos

Hi,

This should be possible to use for ECC warehouses. Does anybody have any idea on how to do the same for EWM (these same tables does not exist in EWM)?

Thank you in advance,

Mikael