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 4 order confirmation

Former Member
0 Likes
690

hi frendz........

i want to create a process order confirmation using the transaction COR6 .....for this i have done coding in the following BAPI 's(taken individually )..........

BAPI_PRODORDCONF_CREATE_ACT

BAPI_PRODORDCONF_CREATE_HDR

BAPI_PRODORDCONF_CREATE_TE

BAPI_PRODORDCONF_CREATE_TT

BAPI_PRODORDCONF_GET_HDR_PROP

after executing , the message which appears on the screen is that the order no. XYZ is wrong entry.

but the order is very much present in the afpo and afko tables in the database .

i dunno y it is giving me this message and the bapi is not getting executed .

can any body tel me the problem .

hoping 4 a quick reply .

thanx

anil

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
608

have passed the complete number - AUFNR length is 12 so u have to pass like this <b>000000000XYZ</b>.

Regards

Prabhu

3 REPLIES 3
Read only

Former Member
0 Likes
609

have passed the complete number - AUFNR length is 12 so u have to pass like this <b>000000000XYZ</b>.

Regards

Prabhu

Read only

0 Likes
608

hi prabhu,

thanks . it worked.

but now the problem is that the message returned from BAPI is saying that the confirmation cannot be posted for that particular order which is of order type xyz.

infact the confirmation is not created for any order types using the BAPI.

but i can create the confirmation manually thru the tcode COR6 for the same order and order type .

can u tel me wtz the prob........

i need to call this bapi in my module pool prog .

thanx in advance

anil

Read only

Former Member
0 Likes
608

h