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: 

Reg order status

Former Member
0 Kudos
87

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

former_member203305
Active Contributor
0 Kudos
48

Hi,

use function STATUS_TEXT_EDIT to get the status of orders.

Reagrds

Miguel

0 Kudos
48

Thanks I go  required result through this FM.

venkateswaran_k
Active Contributor
0 Kudos
48

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

Former Member
0 Kudos
48

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

Neal