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: 

BAPI for confirming a production order ( CO1F )

Aliaksandr
Active Participant
0 Kudos

Hi gurus, Is there any bapi for confirming production orders like in Tx. CO1F ?

Thanks a lot!

9 REPLIES 9

Former Member
0 Kudos

Hi AZHDANOVICH

Use 'BAPI_PRODORDCONF_CREATE_HDR' it suits your requirement.

Regards

Abhii

kesavadas_thekkillath
Active Contributor
0 Kudos

search in se37 with pattern

BAPI_PRODORDCONF*

Aliaksandr
Active Participant
0 Kudos

I need to confirm the order via CO1F on certain operation, having set Yeild, Scrap, Reason for Var.

0 Kudos

Hi,

Use the BAPI, I have given.

Regards

Abhii

0 Kudos

Thanks, Abhii.

But BAPI_PRODORDCONF_CREATE_HDR uses structure BAPI_PP_HDRLEVEL, but there anywhere there is no Vorn

0 Kudos

Hi AZHDANOVICH ,

Its there in one of the table parameters VORNR.

PARAMETERS

0 Kudos

Hi AZHDANOVICH ,

Its there in one of the table parameters VORNR.

PARAMETERS TYPE REFERENCE TYPE

GOODSMOVEMENTS LIKE BAPI2017_GM_ITEM_CREATE

Double click on BAPI2017_GM_ITEM_CREATE, you will find your field VORNR

Regards

Abhii

0 Kudos

Abhi,i it is possible, I not absolutely understand you.

In my task it is written:

It is necessary to come into transaction CO1F with Order 20000000863 and Oper./Act. 0010, to replace Yield on 85, to remove all Activities and Good Movements, and then to confirm.

It turns out, that thetable GOODSMOVEMENTS should be empty.

Former Member
0 Kudos

Hi,

you could try BAPI_PRODORDCONF_CREATE_TT or BAPI_PRODORDCONF_CREATE_TE to confirm a single operation.

Cheers.