Application Development and Automation 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: 
Read only

sd table

Former Member
0 Likes
820

hi friends,

I am giving country code in the selection screen.

Based on the country i want to fetch plant and sales organization .

which table i want to use for this.

After getting sales organization i want to fetch the sales order

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
797

Hi

you can fetch the sales order from the table VBAK - header table and corresponding lineitems from the table VBAP.In VBAK we can find plant and sales organizzation.

Reward points if it is helpful.

Regards,

Sangeetha.a

7 REPLIES 7
Read only

Former Member
0 Likes
798

Hi

you can fetch the sales order from the table VBAK - header table and corresponding lineitems from the table VBAP.In VBAK we can find plant and sales organizzation.

Reward points if it is helpful.

Regards,

Sangeetha.a

Read only

Former Member
0 Likes
797

HI,

use table vbak and kna1

VBAK-VKORG-sales organization

VBAK-VBELN-sales docc or sales order.

KNA1-WERKS-plant

KNA1-land1-country code

rgds,

bharat.

Message was edited by:

Bharat Kalagara

Read only

Former Member
0 Likes
797

Hi,

You can use T001 to get the company codes for the given country...t001-land1.

Then You can use table T001K, TVKO to get the plants and sales organization for the given company codes..

Thanks,

Naren

Read only

santhosh_patil
Contributor
0 Likes
797

Hi,

Use table <b>T001W</b> for plant and sales organization .

and <b>VBAK</b> for sales order

Read only

Former Member
0 Likes
797

Hi,

Check the table T001W

Regards

Shiva

Read only

Former Member
0 Likes
797

Hi Sadhu,

Based on Country Code, you can select Plant and Sales Organization from MVKE table ( Material Master : Sales Data - contains matnr for further selection from next table) and MARC table ( contains Plant), also for sales order try tables VBAK and VBAP.

Regards,

Samson Rodrigues.

Read only

Former Member
0 Likes
797

little late, but thanks for all the replies.

regards

sadhu kishore