Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to display User Status from Sales Order in report

Former Member
0 Kudos

Hi ABAP Experts,

I create a status profile and assign it to Standard Sales Order.  It is captured in the field User Status (NEW DT02) in Text tab (Header Data).

I would be grateful if you can advise solutions how to show it in the report ?

Best regards,

Danny

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Once you get VBAK-OBJNR, call the FM STATUS_TEXT_EDIT.


Regards,
Raymond

6 REPLIES 6

Hvshal4u
Active Participant
0 Kudos

Hi can find the user status in JEST and JSTO table. In VBAK u will find the OBJNR filed grab this objnr and pass it to JEST/JSTO table you will the the user status.

You can the table TJ30/TJ30T to get the text.

Regards,

Vishal

Former Member
0 Kudos

Hi Vishal,

Thank you and I will try your tips.  I go to Technical Information but SAP does not provide the table.  It shows a structure.

Regards,

Danny

ec1
Active Participant
0 Kudos

Hi Danny,

How are you doing?

I found a blog which can help you out in building your report.

Stev

Former Member
0 Kudos

Hi Stev,

Thank you for sharing the blog.  I will read it through .

Regards,


Danny

raymond_giuseppi
Active Contributor
0 Kudos

Once you get VBAK-OBJNR, call the FM STATUS_TEXT_EDIT.


Regards,
Raymond

Jelena
Active Contributor
0 Kudos

There is not always a table provided in the technical information. Many times we can use ST05 (SQL trace) to find the table names. The statuses are stored the same way (JEST table & Co) for the sales orders, production orders and a bunch of other documents.

This question has already been asked on SCN before, kindly do some research before posting.