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

Production order creation problem through BAPI

Former Member
0 Likes
1,099

Hi,

I have a scenario in which the production order is created automatically, for this I'm using BAPI_PRODORD_CREATE

but when I go to CO03 for display it does not show the components of the order.

When I created manually and checked it automatically copies all the components from BOM and display in component overview.

Please help !!!!

Thanks in advance....

Kind regards,

Mubashir

5 REPLIES 5
Read only

Former Member
0 Likes
866

Hi,

that will happens if you not transfer the contents properly to object repositiry.i think u for got activating objects. just chk.

thanks

karthik

Read only

0 Likes
866

Dear Karthik,

Can you please tell how to activate the objects. And there are just six fields to be passed in BAPI.(As we do it manually)

1) Order No

2) Material

3) order type

4) Start date

5) Finish date

6) Yield (Quantity)

any thing else to be passed.

Read only

Former Member
0 Likes
866

Hi,

if you are using this BAPI, you must ensure the following,

o All the necessary master data has been created correctly (for

example, material master, BOM, routing or recipe, work centers or

resources).

o All the necessary Customizing settings have been made to the orders.

For more information refer the BAPI Document in SE37. it is helpful to find out the which are the parameters are obligatory.

Refer the below link.

[|]

Reward if found helpful.

Regards,

Boobalan Suburaj

Read only

0 Likes
866

Hi,

I have checked the customizing settings and configurations

I don't find any thing missing.

But one thing if there is any thing missing in customizing then it should not pick in manual creation also, but it is not the case in manual creation it is copying all the components which are in BOM

Regards,

Mubashir

Read only

Former Member
0 Likes
866

Solved

Do not use commit work after the BAPI