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

Tables VBAK and VBAP

Hi there!

When i want to extract data ,partly related to header and partly related to item , what i do is, i give the conditions(header conditions like sales org.) for which i need data in VBAK and when i get the sales order numbers i exceute VBAP for these sales order to get item data....is this the correct way or is there a way to get the header as well as item data from the same table....Please suggest....

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 11:50 AM

    Dear swetha,

    There is a one table generated view ,

    VBAP_VAPMA

    you will get VBAK + VBAP + VBKD

    saravanan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 09:57 AM

    Hi,

    You approach is correct.

    If you want to see the header and item data together then you can create a simple query using transaction SQVI.

    Regards

    Karan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 10:08 AM

    Hi,

    You can use the other table VAPMA with header and item fields in keys.

    Of course, create a report with the link between VBAK and VBAP.

    Regards,

    Lionel

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 23, 2008 at 11:39 AM

    Dear Swetha,

    If you want to pull data from a single table use T-code: SE16N.

    If you want to join multiple Tables then create a Query thrrough SQ00. You can select the required feild in this Query & generate a report based on required selection criteria..

    Hope this Helps..

    Thanks,

    Jignesh Mehta

    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.