07-30-2010 11:19 AM
Hi
now I want to get the production order of status of TECO, how can i reach it?
thank you
07-30-2010 3:42 PM
TECO is, if I remember correctly, a system status code, which are found in table JEST... JEST is read with OBJNR value for the document, the status code deisred, and always check the INACT status. The status code for TECO is I0045 in my system...should be the same for you...check table TJ02T. In JEST, INACT = ON means the status is turned OFF for the document.
07-30-2010 4:24 PM
In the Table JEST(Object Status table) you will find the fields OBJNR(Object number) and STAT(Status) .
In the Table AUFK there is a field OBJNR(Object Number).
Compare the OBJNR of AUFK table with the OBJNR of the JEST table and find the value of STAT field for that OBJNR in JEST table.
If the value of STAT is 'I0045' then it indicates that the TECO flag is set for the production order number associated with that OBJNR.
Try this !