Skip to Content
0
May 05, 2014 at 08:38 AM

If statement to call a badi in logic

54 Views

Hi all,

I have a badi to calculate amount(which is the multiplication of price and quantity) and want to call this badi behind the default logic.

I also have a dimension called key_figures and a member as unit_price.

What I want is to call the badi only if the user inputs value to unit_price. Otherwise default logic will work in some irrelevant screens which is not desired.For example if someone inputs due date , then calculate amount badi will be called ,too which is absurd.