I want to get the customer PO(VBKD-bstkd) from Order header, Iam trying with the following select but it doesnt work. any suggestions, or code snippet help?
SELECT SINGLE bstkd INTO rt_outtab-bstkd
FROM vbkd WHERE vbeln = rt_outtab-vbeln
AND posnr = '000000'.
Thanks
SP
Hi,
Please check my last reply to your earlier post..It was working fine for me..
Check this link for the lastest reply of mine..
Adding Field to the output of the Report
Thanks,
Naren
Hi,
You can try with the following SELECT statement.
DATA: V_BSTKD LIKE VBKD-BSTKD.
SELECT SINGLE BSTKD INTO V_BSTKD
FROM VBKD
WHERE VBELN = ITAB-VBELN AND
POSNR IS INITIAL.
Thanks
Ramakrishna
Add a comment