Skip to Content

Fetch USER STATUS for multiple sales orders


To get the user status for a sales order there is a standard fm STATUS_TEXT_EDIT.

But this works for 1 sales order per run.

Now, I have an internal table with list of sales orders and I need to get the user status for each sales order. I think using the above mentioned function wont be a good idea as it will hit database for each order number thus increasing the database hit to great extent.

So I wanted to know if there is any alternate way to fetch user statuses in mass.

Thank You,

Ashish Rawat

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 23, 2013 at 07:42 AM

    There is a FM : STATUS_READ_MULTI, easily found in same function group that shares same buffer, so you will then execute STATUS_TEXT_EDIT in a loop.

    But don't worry too much, if you don't set BYPASS_BUFFER by inadvertency most tables will be buffered, and for most orders only JSTO and JEST tables will usually be read if you don't use the STATUS_READ_MULTI FM.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 23, 2013 at 07:32 AM


    You can try like this with the help of SELECT query.

    Get object number of sales order from VBAK.

    Then pass OBJNR to JEST table.

    You will get mass user status.

    Hope it will help 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.