on 04-23-2007 9:10 AM
Hi Friends,
I am getting VBELN from LIKP table and want contract number which i think is BSTKD from VBKD table.But i am can not find any link between the two tables.Plz provide me explanation or tell me any other field from LLIKP,LIPS tables which i can use as contract numbers.
find the related sales order via VBFA (link between sales order and delivery) and then get the VBKD data for the found sales order.
regards,
Hans
Please reward all helpful answers !!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can get the contracts related to a delivery (I am assuming that you are looking for sales contracts not purchasing ones) using function module RV_FLOW. Pass your delivery number to the parameter COMWA-VBELN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. VBKD-VBELN = VBAP-VBELN and
VBKD-POSNRBAP-POSNR.-----> FROM HERE
2.LIPS-VGBEL = VBAP-VBELN A and
LIPS-VGPOS = VBAP-POSNR.-->Fom Here
3.LIPS-VBELN = LIKP-VBELN.
Don't forget to reward if useful...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First fetch the sales order no for that delivery from VBFA table
or get it from LIPS table VGBEl and VGPOS fields,
Use these sales order no for getting data from VBKD table.
Hope it helps.
Regards,
Sonika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
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.