Application Development and Automation 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: 
Read only

Reg order status

Former Member
0 Likes
891

Hi,

I am searching function module  to get status  based on Aufnr.

Created  work order through tran IW31 .

I need  to pas aufnr as input t function module to get current status of Aufnr.

Thanks,

Rana

Hi,

I am searching function module  to get status  based on Aufnr.

Created  work order through tran IW31 .

I need  to pas aufnr as input t function module to get current status of Aufnr.

Thanks,

Rana

4 REPLIES 4
Read only

Former Member
0 Likes
852

Hi,

use function STATUS_TEXT_EDIT to get the status of orders.

Reagrds

Miguel

Read only

0 Likes
852

Thanks I go  required result through this FM.

Read only

venkateswaran_k
Active Contributor
0 Likes
852

Hi Rana

You can use the following FM.

  CALL FUNCTION  'STATUS_READ'    

    exporting

      OBJNR            = L_AUFNR

      ONLY_ACTIVE      = 'X'

    tables

      STATUS           = IT_JEST

    exceptions

      OBJECT_NOT_FOUND = 1

      others           = 2.

Then loop through IT_JEST and get the description from from TJ02T table.

Regards,

Venkat

Read only

Former Member
0 Likes
852

So you don't want to just read it directly out of the table?  You get it from JEST and JCDS.

Neal