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

transaction co03

Former Member
0 Likes
3,713

Hi, i would like to verify the status of a production order (if it is released or not).

To do that i have to enter the number of PO in a field and when i click the button  i would like to call transaction CO03 to do the job.

Now the problem is how can i enter this number like input to the transaction to verify the status.

thank you.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,747

Hi Meriem,

I suppose your are writing a custom program. Please refer below:

*you user input field is P_VALUE

SET PARAMETER ID: 'ANR' FIELD P_VALUE.

CALL TRANSACTION 'CO03' AND SKIP FIRST SCREEN.

hope this helps.

Regards,

DN.

Hi, i would like to verify the status of a production order (if it is released or not).

To do that i have to enter the number of PO in a field and when i click the button  i would like to call transaction CO03 to do the job.

Now the problem is how can i enter this number like input to the transaction to verify the status.

thank you.

7 REPLIES 7
Read only

Former Member
0 Likes
2,748

Hi Meriem,

I suppose your are writing a custom program. Please refer below:

*you user input field is P_VALUE

SET PARAMETER ID: 'ANR' FIELD P_VALUE.

CALL TRANSACTION 'CO03' AND SKIP FIRST SCREEN.

hope this helps.

Regards,

DN.

Read only

0 Likes
2,744

Hi Deepak,

thank you for your response, it works.

Read only

Former Member
0 Likes
2,744

Hi,

I did not get your requirment clearly. If you want to know the status why do you want to call CO03?

You can add a code in program and check the status. And if you want to call the CO03 through program :-

parameter : p_AUFNR like CAUFVD-aufnr.

SET PARAMETER ID: 'ANR' FIELD p_aufnr.

CALL TRANSACTION 'CO03' AND SKIP FIRST SCREEN.

Thanks-

Makarand

Read only

Former Member
0 Likes
2,744

Hi,

You can retrieve the status using the FM 'STATUS_READ'.

Steps:

1. Fetch OBJNR from table AUFK by inputting the production order number(AUFNR)

2. Pass this OBJNR to 'STATUS_READ'  in the object number parameter.

3.Also, pass X to  the parameter 'only_active'  to get the active status of production order.

Hope this helps.

Regards,

Peri

Read only

former_member217544
Active Contributor
0 Likes
2,744

Hi,

To know the status why do you want to call CO03. I think there will be some function modules to get the current status.

Thanks & Regards,

Swarna

Read only

0 Likes
2,744

Hello,

Please check the table JEST where in all the status of production order is maintained. The process of fetching the data is to concatenate the production number with OR I.E. OR000060003265 and it has got multiple status. Please check by this method.

Regards

Suresh Nair

Read only

Former Member
0 Likes
2,744

Hi Meriem

Status information is held in table JEST.

u can try

the following function module.

STATUS_TEXT_EDIT

give object no and language

u can get the status text...

Hope it helps u.........

Regards

Suganya