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: 

transaction co03

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

7 REPLIES 7

Former Member
0 Kudos

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.

0 Kudos

Hi Deepak,

thank you for your response, it works.

former_member458055
Participant
0 Kudos

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

0 Kudos

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

former_member217544
Active Contributor
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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