09-17-2015 2:29 PM
Hi;
I'm using 'BAPI_PRODORD_CREATE_FROM_PLORD' function with this code
call function 'BAPI_PRODORD_CREATE_FROM_PLORD'
exporting
planned_order = itab-plnum
order_type = 'OSTS'
importing
production_order = lv_aufnr
return = lv_bapiret.
Function was alright After that production_order created but when i go to tcode 'CO02' with production_order this flag must be active ?
How can i do this ?
Please help;
09-17-2015 2:56 PM
Hi.
From OPJK you should check out , with plant and order type, combinations rules to release an order.
Hope to help
Bye
09-17-2015 2:56 PM
Hi.
From OPJK you should check out , with plant and order type, combinations rules to release an order.
Hope to help
Bye
09-17-2015 3:14 PM
Hi ;
First Thanks for answering.
When i go to OPJK
i see the two entry about function.
Number 1 means :Check availability during order creation
Number 2 means :Check availability during order release
Should i delete one of them or add something ?
Thanks...
Best Regards.
09-17-2015 3:44 PM
Hi.
You should see two different record with same plant and different order type or two record with different order type and same plant.
Pay attention to Business Function : (1 or 2)
1 Check availability during order creation
2 Check availability during order release
Anyway check your plant-order type' rules with a double click on plant field.
Then in 'Material availability', there's "Release Material" rule. There you can have:
1 User decides on release if parts are missing
2 Release permitted despite missing parts
3 No release if parts are missing
If 3, check CO24 transaction to see if your order number has missing parts. If yes you can't release.
Hope to help.