2013 Dec 13 3:15 PM
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
2013 Dec 13 3:23 PM
Hi,
use function STATUS_TEXT_EDIT to get the status of orders.
Reagrds
Miguel
2013 Dec 13 4:26 PM
2013 Dec 13 3:24 PM
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
2013 Dec 13 3:28 PM
So you don't want to just read it directly out of the table? You get it from JEST and JCDS.
Neal