Skip to Content
avatar image
Former Member

Pricing routine to multiply two condition type

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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 11, 2012 at 05:41 AM

    Hello Jalaj,

    Yes. It can work. Require you to create a Sales Order & check.

    Thanks,

    Jignesh Mehta

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi,

      jignesh, where we come across this scinario in real time...and explain why and how?

      jagadeesh

  • Jul 11, 2012 at 05:55 AM

    hi

    its right code , first test your sand box, then you will conform

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 11, 2012 at 05:58 AM

    It will work. please check and confirm.

    Add comment
    10|10000 characters needed characters exceeded