01-30-2009 9:25 AM
Hi !! Please tell me is there any way to link the sales order number VBELN of VBAK and Handling unit number EXIDV of VEKP? Suggest me any method to link those two fields.
01-30-2009 9:28 AM
01-30-2009 9:28 AM
01-30-2009 9:34 AM
Hello ,
Check this , Hope it will solve u r problem .
SELECT SINGLE * FROM vekp
INTO l_vekp
WHERE exidv = l_hunr. -->Handling Unit number
SELECT SINGLE * FROM vepo WHERE venum = l_vekp-venum.
then
SELECT SINGLE * FROM likp WHERE vbeln = v_vbeln.
Regards,
01-30-2009 9:32 AM
Hi,
In addition to Goutham's help..,
Check this table:
VBELN field in VEPO -- Is Delivery where is has links with LIKP, It also contains VENUM
VENUM -- Internal Number , You can have this in VEKP(Handling unit table Also)
(Ask for your Functional guy once)
--Naveen Inuganti.
01-30-2009 9:32 AM
You can find the linking at handling unit item level VEPO (VBELN/POSNR) - these link the handling unit to the delivery item.
VEKP is handling unit header and is linked to VEPO via VENUM