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: 

How to find out a status of a production order?

Former Member
0 Kudos

Hi,

how can I find out the status of a production order? Is there any function module or BAPI?

Or as an alternative: which tables I have to read to find this out?

Thanks you a lot.

Regards

Markus

1 ACCEPTED SOLUTION

Former Member
0 Kudos

check aufk table (like ASTNR field)

Following are the statusesfor a production order -

CRTD - when you create a prod order

REL - When you release a production order

GMPS - when you do goods movements for the order

CNF - When you confirm the order

DLV - When you credit the material

TECO - when you technically complete the order

After this CO function works on the production order.

See function module PM_ORDER_DATA_READ.

Regarding the status:

AFVC-OBJNR and use function module STATUS_READ,

9 REPLIES 9

Former Member
0 Kudos

check aufk table (like ASTNR field)

Following are the statusesfor a production order -

CRTD - when you create a prod order

REL - When you release a production order

GMPS - when you do goods movements for the order

CNF - When you confirm the order

DLV - When you credit the material

TECO - when you technically complete the order

After this CO function works on the production order.

See function module PM_ORDER_DATA_READ.

Regarding the status:

AFVC-OBJNR and use function module STATUS_READ,

0 Kudos

I took a look on the field ASTNR, but it is always initial, in every record of the database-table...

Could it be that there was another way to set the status in 4.C (this is the release I use currently)?

Thanks

Regards

Markus

0 Kudos

>

> I took a look on the field ASTNR, but it is always initial, in every record of the database-table...

>

> Could it be that there was another way to set the status in 4.C (this is the release I use currently)?

>

> Thanks

>

> Regards

> Markus

nope, was SAPLBSVA also in 4.6C ... i'm pretty sure of it.

Former Member
0 Kudos

Hi,

For Status of the prod order use table JCDS.

Regards

Raju Chitale

Former Member
0 Kudos

table JEST

Former Member
0 Kudos

it's tables JEST and JSTO

there's no BAPI active, the status maintenace is done by SAPLBSVA.

0 Kudos

How I have to select the table JEST?

There is only a object-key that I don't really know.

Thanks

0 Kudos

Get Object ID from table AFKO

0 Kudos

jizz, they are quick today ...

the object-number would be the number of the production order with prefix 'OR' and some leading zeros - like e. g. OR000100002134.