cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for creation of Production Order with Ref to sales order

Former Member
0 Kudos

Hi all,

we are using BAPI_PRODORD_CREATE for creating Production Order with ref to sales order.

As per the Business Scenario, we are not creating any masters like BOM and Routing, instead

we are creating Routing directly into the Production Order under operation overview screen.

during creation of routing system is generating a default operation.

the following is the error results after running the Bapi.

"No routing selected"

Best Regards.

GTNRNR.

Accepted Solutions (0)

Answers (2)

Answers (2)

sjeevan
Active Contributor
0 Kudos

The things you need to check:

In OPL8 : Routing selection = 0

In OPJG : You maintained a default operation for Plant/Order Type combination.

In BAPI_PRODORD_CREATE, make sure you're giving order type.

Former Member
0 Kudos

Hi GTNRNR,

with out creation of BOM you created routing and in routing for the operations which components did you allocated so that can be used to manufacture the final product. Can you be please specific?

Regards,

Madhu.G