Skip to Content
0
Former Member
Oct 29, 2007 at 02:00 PM

what is wrong with this if sentence

19 Views

Hi all,

I am trying to control the statement with this:

if itab-bklas ne 'FER' or itab-bklas ne 'HAW'.  
    PERFORM calculate_req_data. 
else.                                           
    perform get_plan_data
endif.             

Even the itab-bklas value equals FER or HAW, it do processes the calculate req_data, however I want to process get_plan_data if itab-bklas equals FER of HAW.

What is wrong with this sentence?

Thanks.