on 03-12-2013 1:41 PM
Hello -
I'm am trying to determine the underlying purchase order and incoterm for a material on a Sales Order. Is there a table that I can query in SE16 where the SO# is the key and incoterm and PO are outputs?
Are there other easier ways to get at this data?
The best I've come up with is a three step process. . .which given the amount of data I'm working with will result in a long process.
Thanks for your help!
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go to VBKD - BSTNK for PO number
for inco term go to VBKD - INCO1 and INCO2 here you have take the sales order number from VBAK.
Hope it answers your question.
Regards, Sai Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In VBEP there will be multiple lines again because it shows line item data so it will show line item wise data
In ALV report you can show one line if you can sum quantity in one line. We have done this with following select
SELECT SUM( fkimg ) INTO itab-fkimg
FROM vbrp CLIENT SPECIFIED
WHERE mandt = sy-mandt
AND vbeln = itab-vbeln
AND matnr = itab-matnr.
Thank$
Hi Moazzam,
Agree sir. But, i was under impression that Jason was looking for Lien Item wise data.
@Jason : Are you using any separate order type for third party or standard order but, in that order you will always have 3rd party line items?
If so, you can simply consider one order number and get the required details by using the data you have taken from VBEP to VBAK with the sales document number and use same in EKPO to get the PO number.
@Moazzam : Correct if its wrong.
Regards, Sai Krishna.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.