on 05-16-2007 4:25 PM
Hi,
I want to update the conditions in the conditions tab, when a partner is changed in business partner tab.
I have put the code
if vbpa-kunnr NE *vbpa-kunnr
NEW_PRICING = 'C'
endif. in USEREXIT_NEW_PRICING_VBKD.
But vbpa and *vbpa are always empty, so i replaced that with code
when XVBPA-UPDKZ = 'U', new_pricing = 'C',
but still no success as this routine does not get called when you go to conditions tab.
It gets called when i manualy click the "update" button on bottom of conditions tab. I want this to be automatically triggered and not by clicking the button.
Any idea if this is possible ?? thanks in advance
OK. I thought 'B' might server the purpose, as it refers to carry out new pricing.
As you have already tried that, I can understand the trail & errors you might be going through.
Hope I could have answered, which met your requirement.
Regards,
Rajesh Banka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>NEW_PRICING = 'C'</b>. I suppose, this should be the error point. For New Pricing, Pricing Type is 'B'. Ask the Abaper to modify the code & test the scenario.
Regards,
Rajesh Banka
reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
9 | |
8 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.