Skip to Content

Query for Sales Orders items Vs item unrestricted stock

Hi gurus,I am wiriting a query which gives me information on Sales Order Document number, created by, time, ordered quantity, delivery status and material stock. I could able to fetch all fields, but when I join MARD I could able to see only 3 sales order

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 24, 2013 at 02:42 PM

    Hi Vishnu,

    Can you elaborate on the requirement and what is the issue you are facing, what tables have you used to create the Query?

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Rohit,

      My requirement is to fetch

      Document number,PO Number,Item Number,Ordered Quantity,Material,Shipping Conditions, Order date, delivery status and Unrestricted stock.

      I am using VBAK, VBAP, VBEP and MARD.

      I tried with VBAK< VBAP and VBEP where I can see all sales orders.which is similar to VA05.

      But I need item stock next to order quantity.

      Thanks for response Rohit.

  • Posted on May 24, 2013 at 02:43 PM


    are you saying, you inserted storage location details and query resulting only three sales order?

    can you ensure more sales documents were created for particular storage location?



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 25, 2013 at 04:08 PM


    What is join in your sale order and MARD table. You should join with material number and storage location from your sale order. Try this and check what system is returning you.


    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.