03-10-2009 11:50 AM
Hi Expert ,
I'm using BAPI_PO_CHANGE to Update pricing Condition but it does not work though I have used
for existing Condition type in It_pocondition change_id = 'U' & for new condition type to be added - change_id = 'I' . & in change_id= 'X' in lt_poconditionx .
But it is not working anymore..
Please help me to solve this problem.
Thanks in Advance.
Regards,
Biswajit
03-10-2009 12:05 PM
03-10-2009 12:38 PM
Hi,
give change_id = 'I'. also in lt_poconditionx.
may be it works.Some times in bapi function module we have give value instead of X.
Hope it works.
03-10-2009 1:30 PM
Solved the problem myself...
need to pass cond_count according to no of condition types.
such as-->
n = 1.
loop...
wa_pocond-cond_count = n
n = n + 1.
endloop....
n= 1.
loop...
wa_pocondx-cond_count = 'X'
n = n + 1.
endloop....
similarly for it_pocondheader & it_pocondheaderx
thanks.....
05-19-2009 1:49 PM
Hi,
can you plz tell me for which transcation you were used this BAPI.
Please asap.
Richie.