cancel
Showing results for 
Search instead for 
Did you mean: 

only CRTD production orders

Former Member
0 Kudos

Hi,

In COOIS if I put CRTD , I can see 25 Production orders which have status CRTD and other statuses. I want to pull all CRTD production orders. These orders I will use in some other reports. How to get CRTD production orders though some Functional module or Bapi??

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can get Production Order status details from Function Module :

BAPI_PRODORD_GET_DETAIL

From these, you need to filter Production Orders with Status CRTD & then you can display them into customized report as per your requirement.

Regards,

Tejas

Answers (2)

Answers (2)

Former Member
0 Kudos

COOIS works just fine for your need.

An order which has CRTD status active with other statuses is still CRTD only... I don't know what you mean by just CRTD, do you mean no other statuses eg: NTUP etc. must be seen along with CRTD ?

If yes, then even if you use a FM / BAPI, they will list all those statuses which exists with CRTD.

Former Member
0 Kudos

Hi,

Other statuses with CRTD is ok . All I need is created production orders to be pulled from PP order header table.Pls let me know, what parameters to pass and in which FM/Bapi??

Regards.

Former Member
0 Kudos

If you're building a custom report, then look for tables JEST & JCDS.

The status CRTD is I0001 if am right, pass that to the table & ensure field inactive is blank. This will give a list of orders, operations etc. with status CRTD. So you need to filter out only those records which begin with OR followed by the 12 digit order nos. Then you can pass this OBJNR to the order header table i.e. aufk-objnr

Anyways I am not aware of your exact need for building this custom report, but I still feel COOIS report should be quite sufficient if the need is to analyze all orders with status CRTD.

Maybe you have a justifiable need to go for a custom report.

Former Member

Hi all,

thanks to everyone for ur valuable suggestions. I did it in a different way. I passed Order type, plant, Tech.Completion= blank, Actual release= Blank, Deletion flag NOT EQUAL to X, in table CAUFV and got all AUFNR. these are production orders with status CRTD !!

Regards.

Dsk
Active Contributor
0 Kudos

Hi try this Bapi -BAPI_PRODORD_GET_LIST

reg

dsk