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

OPEN Sales Orders

Dear All

How can I retrieve the OPEN Sales Order from the System? I mean from the SAP Database Tables.

I knew there is one Table VBUK which helps me.

The corresponding field is GBSTK.

But in this VBUK table for GBSTK field I can see 4 entries.

NOT RELEVANT

NOT YET PROCESSED

PARTIALLY PROCESSED

COMPLETELY PROCESSED

What Should I Pick for retrieving OPEN sales orders and also let me know whether my approach is correct or not.

Please respond.

Thanks

Sonali.

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:09 AM

    if VBUK-GBSTK is A (Not yet processed) - order has status "OPEN"

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 02:03 AM

    To get open orders, use both 'A' and 'B'

    By this way, you wont list 'rejected' orders in the list.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 31, 2008 at 03:11 AM

    Hi

    VBUK is the status table for all the sales related documents include order, delivery , and invoice

    if you want to take only sales order ( VBAK)

    then create a SQVI or ABAP query

    linking the VBAK and VBUK table

    if you want only open the you can select not equal C status

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 04:18 AM

    hi sonali,

    not sure if i understood your question, i see two things in it.

    1) A sales order can be open without reference to GBSTK( goods movement). As long as there is a delivery for the sales order its complete whatever might be the status of GBSTK.

    2) But if you want to find out whether goods movement has been completely done or not ie GBSTK status then you can check all orders where the VBUK_GBSTK status is not equal to C- completely processed.

    regards,

    Sadhu Kishore

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 04:45 AM

    Take only "NOT YET PROCESSED and PARTIALLY PROCESSED" but one tcode VA05 which is also used to see list of open orders but only for a single customer.

    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.