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: 

how to get all the plants for a particular company code

Former Member
0 Kudos

Hi,

Can any one please suggest which table to query to gat all the plants(WERKS)

for a given company code?

Thanks and Regards,

Smriti Singh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

t001w is the master table for plants, u can see all plants in this table.

regads:

rajesh.k

7 REPLIES 7

former_member555112
Active Contributor
0 Kudos

Hi,

Select from T001W table matcing the BUKRS field with BWKEY (Valuation area).

Regards,

Ankur Parab

former_member585865
Contributor
0 Kudos

Hi Smriti,

you can check t001k where bwkey is plant and bukrs is company code.

Pawan_Kesari
Active Contributor
0 Kudos

1) Get Purchasing Orgs (T024E-EKORG) in Company Code

T001-BUKRS = T024E-BUKRS

2) Get all the plant for all Purchasing Orgs you got from step 1

T024E-EKORG = T001W-EKORG

Former Member
0 Kudos

Hi,

T001W is the table where you can find all the plants.

Former Member
0 Kudos

Hi,

Try EKPO.

Former Member
0 Kudos

Hi,

It is T001W table where we can find the all plants for a company code.

Thanks,

Jayasree.

Former Member
0 Kudos

hi

t001w is the master table for plants, u can see all plants in this table.

regads:

rajesh.k