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

Functionmodule "STATUS_READ"

Former Member
0 Likes
4,072

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,374

Hi,

are you talking about user status?

10 REPLIES 10
Read only

Former Member
0 Likes
3,375

Hi,

are you talking about user status?

Read only

0 Likes
3,374

Hello,

no i talking about the status if the operation from a production order is full confirmed CNF, partiall confirmed PCNF .....

kind regards,

Bernhard

Read only

0 Likes
3,374

Get the object number from AUFK .. pass it to table JEST ... you will get it

Read only

0 Likes
3,374

ok, i did this:

select * from jest where objnr = objnr and

inact = space.

Read only

0 Likes
3,374

pass jest-stat to TJ02T.

Read only

0 Likes
3,374

Whose question is this ???

Read only

0 Likes
3,374

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

Read only

0 Likes
3,374

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

Read only

0 Likes
3,374

Check function BAPI_PRODORD_GET_DETAIL ..... Check return table COMPONENT.... field SYSTEM_STATUS.

Read only

0 Likes
3,374

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.