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

Create Production Orders Using CO01

Former Member
0 Likes
1,329

Dear Friends

I want to create production orders with t code co01 Programmatically i mean automatically.

i want to update in CO01 selection screen

Material

Production Plant

Order Type

after that

Total Qty

Scheduling type as Forwards

Scheduled start date

must be update automatically not BasicDates

i couldn't find any suitable FM or BAPI related of Scheduled start date

i hope my question is clear for you.

Thanks in Advanced

6 REPLIES 6
Read only

Former Member
0 Likes
1,023

HI,

Use BAPI BAPI_PRODORD_CREATE

Else you can use BDC for creating PO and getting the suitable values from DB tables

based on your criteria.

Hope it helps.

Regards,

Raj

Read only

GauthamV
Active Contributor
0 Likes
1,023

hi,

check this function module.

CO_ZF_PRODUCTIONORDER_CREATE.

Read only

Former Member
0 Likes
1,023

these are not suitable my dear, i tried with those FMs

Read only

Former Member
0 Likes
1,023

Try BAPI_PRODORD_SCHEDULE

Read only

Former Member
0 Likes
1,023

Can you try on BAPI_INTERNALORDER_CREATE let me know if it works

Read only

0 Likes
1,023

Dear sabyasachi

can you please give me a sample, i unable to solve it