‎2007 May 30 5:34 AM
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
‎2007 May 30 5:36 AM
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
‎2007 May 30 5:36 AM
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
‎2007 May 30 5:36 AM
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
‎2007 May 30 5:38 AM
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
‎2007 May 30 5:40 AM
Hi,
Use table <b>T001W</b> for plant and sales organization .
and <b>VBAK</b> for sales order
‎2007 May 30 5:40 AM
‎2007 May 30 5:43 AM
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.
‎2008 Feb 16 5:34 AM
little late, but thanks for all the replies.
regards
sadhu kishore