Application Development 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: 

Creating a production order without material number

0 Kudos
633

Hello Experts,

im trying to create a Production Order without a material number with abap coding. I only found the bapis "BAPI_PRODORD_CREATE" and "BAPI_PRODORDCONF_CREATE_TT" but these want a material number. Basically if I look in the co03 there should be no Material number. I know it is possible to create this kind of order with the co07. If you have a bapi for this and an example this would be greatly apreciated.

Thank you.

2 REPLIES 2

satya11719
Active Contributor
0 Kudos
367

Hello Nils,

I'm not sure if this is relavant for Sustainability and EHS topics, but I will try to answer your question it's not possible to create production/process order without a material number, cause these fields in the process order will cross verify with the MARA-MATNR entries for stock availability, so it's not possible with out Material number.

Best

Satya

0 Kudos
367

Hello Satyanarayana,

it acually is possible. You can do it in the CO07. I just traced the creation in the transaction with SHDB and made a function module of it. This way you can save the order without a material number.