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

bapi to create production order

Former Member
0 Likes
1,386

Hi budy,

i am trying to create a producation order through bapi,

BAPI_PRODORD_CREATE.

i want to do auto realese of that created production order within the bapi, is this can be done, plz help me out.

i tried by setting auto release form material master screen for perticular material, but while creatning its throwing as error,

START/ENDFORM IS MISSING,

help me for solving this,

Thanks.

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
554

I would try BAPI_INTERNALORDER_CREATE. Production Order is a subset of internal orders and it depends on order type (AUFART field).

Read only

0 Likes
554

i didn't get u da,

i have created the production order by bapi, now i want release as well as creating PO.

Read only

Former Member
0 Likes
554

Hi,

The Production order should be saved first ie commit in ur language so that it gets number as per internal number range. Further pass this internal no. to BAPI_PRODORD_RELEASE.

Regards