‎2011 Feb 10 1:38 PM
Hello,
how can i get the status from a produciton order?
I can get the status for the production order header with the function modul "STATUS_READ" but who can i get
the status from a confirmation. Or which object must i put in the function moduel that it shows me the correct value.
For the production order header i use the objectnumber from the table "AUFK".
But which object is used for the confirmation status?
kind regards,
Bernhard
‎2011 Feb 10 2:07 PM
‎2011 Feb 10 2:07 PM
‎2011 Feb 10 3:04 PM
Hello,
no i talking about the status if the operation from a production order is full confirmed CNF, partiall confirmed PCNF .....
kind regards,
Bernhard
‎2011 Feb 10 3:12 PM
Get the object number from AUFK .. pass it to table JEST ... you will get it
‎2011 Feb 10 3:14 PM
ok, i did this:
select * from jest where objnr = objnr and
inact = space.
‎2011 Feb 10 3:18 PM
‎2011 Feb 10 3:19 PM
‎2011 Feb 10 3:22 PM
Hello,
but if i take the objecnumber from AUFK i get only the Status from the order header, but i want it from the operation.
For example my routing have two operation A and B. If i confirm operation A full than i see in the confirmation status for this operation CNF but on the order header i see PCNF.
So i would like to read the Status for the confirmation.
kind regards,
Bernhard
‎2011 Feb 10 3:29 PM
Then get the objectnumber from the position: AFPO.
Might as well check some other AF* tables as well.
Edited by: Maen Anachronos on Feb 10, 2011 4:30 PM
‎2011 Feb 10 3:32 PM
Check function BAPI_PRODORD_GET_DETAIL ..... Check return table COMPONENT.... field SYSTEM_STATUS.
‎2011 Feb 10 3:35 PM
If you want statuses of an order operation:
1. Find the "Routing number of operations in the order"(AUFPL) of the order at table AFKO, using order number.
2. Find the Operation counter number of the operation at table AFVC, And get the Object number of the operation (OBJNR).
3. Go to table JEST with the Operation object number.