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_PRODORDCONF_CREATE_HDR - Error RU051 (Orders of the order type YGD1)

Former Member
0 Kudos

URGENT

Hi there.

I need to confirm orders thru a BAPI.

I think I can confirm orders with BAPI_PRODORDCONF_CREATE_HDR, however when I test on transaction BAPI (Tab --> Tools Single Test), and I enter the following data:

Orderid> 1000080 postg_data> 18.03.2008 yield-->2

I'm getting always the same error:

RU051 - Orders of the order type YGD1 cannot be confirmed.

If I use transaction CORK to check/confirm orders on my controlling area, the order types available are YB02 and YGD1 and if I use the above mentioned BAPI for any of these order types (YB02/YGD1) I always get the same error message (RU051). Can you please inform what I'm doing wrong?

Kind Regards

ASantos

Edited by: Armando Santos on Mar 19, 2008 10:13 AM

Edited by: Armando Santos on Mar 19, 2008 3:29 PM

1 REPLY 1

Former Member
0 Kudos

Hello Armando,

I am getting the same error while executing the BAPI. Could you please let me know how you resolved this error.