Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Can i write expression like this..

Former Member
0 Likes
505

Hi can anybody tell me

Can I write expression like

  • IF 30 GE delay LE 60.

  • wa_output-days60 = 'X'.

  • ENDIF.

Hi can anybody tell me

Can I write expression like

  • IF 30 GE delay LE 60.

  • wa_output-days60 = 'X'.

  • ENDIF.

4 REPLIES 4
Read only

Sm1tje
Active Contributor
0 Likes
487

IF 30 GE delay and delay LE 60.

  • wa_output-days60 = 'X'.

  • ENDIF.

alternative:

IF delay BETWEEN 30 AND 60.

ENDIF.

Edited by: Micky Oestreich on May 13, 2008 10:26 PM

Read only

Former Member
0 Likes
487

Hi,

This is already discussed in the thread given below... Have a look at it..

Regards,

Chithra

Read only

Former Member
0 Likes
487

Hi

You can write like that but check whether it works. Its always better to split the statements like this.

If 60 ge delay and delay le 30.

hope it works for u.

Thiru

Read only

Former Member
0 Likes
487

Instead you can use the below statement;

IF delay BETWEEN 30 AND 60.

wa_output-days60 = 'X'..

ENDIF.

And the statement you wrote is not a valid "Logical Expression" in ABAP....