Skip to Content
author's profile photo
Former Member

syntax

Hi Gurus,

I have a condition where I need to check if V_lowv_high < v_lowv_med then don't proceed else

write " we can proceed"

Can you please help me to write the syntax for thsi one.

Tahnks

Rajeev Gupta

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 04:07 PM

    HI,

    data : lv_value1 type i,

    lv_value2 type i.

    lv_value1 = v_low + v_high.

    lv_value2 = v_low + v_med.

    if lv_value1 < lv_value2.

    proceed.

    else.

    stop

    endif.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 04:07 PM

    Hi,

    I forget to mention that in else condition I need to stop processing, can you also tell me how to achieve this as well.

    Thanks

    Rajeev Gupta

    Add comment
    10|10000 characters needed characters exceeded