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: 

Problem on Updating Pricing Condition

biswajit_das6
Participant
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

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.

biswajit_das6
Participant
0 Kudos

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.....

Former Member
0 Kudos

Hi,

can you plz tell me for which transcation you were used this BAPI.

Please asap.

Richie.