04-21-2008 2:45 PM
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
04-21-2008 2:56 PM
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,
04-21-2008 2:56 PM
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,
04-21-2008 3:09 PM
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
04-21-2008 3:13 PM
>
> 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.
04-21-2008 3:01 PM
Hi,
For Status of the prod order use table JCDS.
Regards
Raju Chitale
04-21-2008 3:04 PM
04-21-2008 3:08 PM
it's tables JEST and JSTO
there's no BAPI active, the status maintenace is done by SAPLBSVA.
04-21-2008 3:11 PM
How I have to select the table JEST?
There is only a object-key that I don't really know.
Thanks
04-21-2008 3:14 PM
04-21-2008 3:16 PM
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.