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 - TOP URGENT

Former Member
0 Kudos

Hi.

I need some help with 'BAPI_PRODORDCONF_CREATE_HDR'.

I have code is the following:

data: l_wa_athrdlevels like BAPI_PP_HDRLEVEL occurs 0 WITH HEADER LINE.

l_wa_athrdlevels-orderid = '1000120'. "Nº ordem

l_wa_athrdlevels-yield = '15'. "Qtd.boa a ser confirmada atualmente

APPEND l_wa_athrdlevels.

CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_HDR'

EXPORTING

POST_WRONG_ENTRIES = ''

TESTRUN = ''

IMPORTING

RETURN = l_wa_return

TABLES

ATHDRLEVELS = l_wa_athrdlevels

* GOODSMOVEMENTS =

* LINK_CONF_GOODSMOV =

DETAIL_RETURN = l_wa_detail_return

.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

and I'm getting the following error:

Program ZPPACK

E Order 1000120 not found, check entry

and I don't know what is happen because this order appears on CORK correctely.

Can you please inform what I' am doing wrong?

Regards

Armando Santos

Edited by: Armando Santos on Mar 12, 2008 3:20 PM

1 REPLY 1

Former Member
0 Kudos

Respondido pelo Guru.