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 Data Migration

Former Member
0 Likes
803

Hi all,

I have to migrate the Production order data.

I have the header, item and operations data in the text file.

Now I have to create Production orders for the materials given in the file.

I checked there is a FM CO_XT_ORDER_CREATE, IDOC LOIPRO (Message type) for doing this. I want to know which will be best method of doing it.

If i create a production order in CO01, it brings in the components and operations automatically. If i want to do any validations on those , how can I do it.

Normally how the production order migration will be done.

Awaiting your reply,

Thanks,

Balaji

Edited by: Balaji on Dec 31, 2007 4:27 PM

5 REPLIES 5
Read only

Former Member
0 Likes
623

Use BAPI_PRODORD_CREATE to create

Use BAPI_PRODORD_CREATE_FROM_REF to create aprod ord with reference.

Look into Business o bject BUS2005 for more information.

Hope this helps

Vinodh Balakrishnan

Read only

0 Likes
623

Hi Vinod,

Both the BAPIs are not found in 4.6c system.

Is there any other BAPI or IDOC which I can use in LSMW?

Regards,

Balaji

Read only

0 Likes
623

The BAPIs mentioned in the answer are not available in 4.6C. Can they be added to 4.6C without alot of effort?

I have a clent that needs this functionality and is thinking about creating their own modificatrion to do the same as the BAPI.

Regards,

Rich Gagliardi

Read only

Former Member
0 Likes
623

FM (Function group COXT) + BDC was used.

Read only

0 Likes
623

Hi balaji/guys,

I need to create a production order using some BAPI or Function module...

I use BAPI_PRODORD_CREATE....But the problem is..i can just add one material..i mean one item/component..

my requirement is i will be having a main material and will add the sub components or Co products..

any information about the BAPI or function module ??

thanks,

Ashok