Skip to Content
author's profile photo Former Member
Former Member

Customer PO from sales Order Header

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2006 at 11:07 PM

    Hi,

    Please let me know if it works..

    Thanks,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2006 at 10:58 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 26, 2006 at 11:01 PM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.