2007 Sep 24 5:42 PM
Hi All,
we have a requirement, where we need to delete the inactive pricing types from the sales order.
we have configured a pricing routine (902) with the pricing condition.
when we create/change a sales order, the control comes to the routine, but the table xkomv[] is not populated with value for the field KINAK. This field determines, whether the pricing type is active or not. if its not blank, then its inactive.
But when the control comes to any of the user exit ( MV45AFZB - check_vbap using us_dialog), the table xkomv[] is populated with the field KINAK.
Now i need to delete those entries which have been marked, and recalculate the pricing conditoon.
Can any one, tell me how to do that? where to implement the logic?
how to invoke the recalualtion of pricing condtion manually?
FInd the code which i have wriiten in pricing routine 902. * this is for ur refrence. this is not working
loop at xkomv where not kinak is initial.
delete xkomv index sy-tabix
endloop
Regards,
Niyaz
Hi All,
we have a requirement, where we need to delete the inactive pricing types from the sales order.
we have configured a pricing routine (902) with the pricing condition.
when we create/change a sales order, the control comes to the routine, but the table xkomv[] is not populated with value for the field KINAK. This field determines, whether the pricing type is active or not. if its not blank, then its inactive.
But when the control comes to any of the user exit ( MV45AFZB - check_vbap using us_dialog), the table xkomv[] is populated with the field KINAK.
Now i need to delete those entries which have been marked, and recalculate the pricing conditoon.
Can any one, tell me how to do that? where to implement the logic?
how to invoke the recalualtion of pricing condtion manually?
FInd the code which i have wriiten in pricing routine 902. * this is for ur refrence. this is not working
loop at xkomv where not kinak is initial.
delete xkomv index sy-tabix
endloop
Regards,
Niyaz
2007 Sep 25 12:04 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |