Skip to Content
0
Former Member
Jul 11, 2012 at 05:00 AM

Pricing routine to multiply two condition type

214 Views

Hi Gurus,

I have come across a scenario where i have to multiply value of two condtion to reach final price.

I have think of a solution just want to confirm if it will work or not:

Store the value of 1st condtion in subtotal XWORKF

Store the value of 2nd condtion in subtotal XWORKG

Multiply XWORKF with XWORKG which will give total cost.

if xworkf ne 0.

xkwert = XWORKF * XWORKG

else.

xkwert = 0.

endif.

endform.

Please tell me can i use it or not ?

Any suggestion are welcomed.