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

Logical expression OR

Former Member
0 Likes
561

Hi,

How can I check 2 variable with OR

IF NOT v_tab OR v_tab1 IS INITIAL.

do the required cahnges

ENDIF.

Is the above logic correct, if not how to do.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
539

Hi,

IF NOT v_tab is initial OR 
    NOT v_tab1 IS INITIAL.
do the required cahnges

ENDIF.

Best regards,

Prashant

Hi,

IF NOT v_tab is initial OR 
    NOT v_tab1 IS INITIAL.
do the required cahnges

ENDIF.

Best regards,

Prashant

3 REPLIES 3
Read only

Former Member
0 Likes
540

Hi,

IF NOT v_tab is initial OR 
    NOT v_tab1 IS INITIAL.
do the required cahnges

ENDIF.

Best regards,

Prashant

Read only

0 Likes
539

yes you can do it :

If v_tab is not intial

or v_tab1 is not initial.

do something.

endif.

Read only

Former Member
0 Likes
539

hi

Do like this

IF NOT ((v_tab IS INITIAL ) OR (v_tab1 IS INITIAL)).

do the required cahnges

ENDIF.

Regards

Madhu