Skip to Content
0
Former Member
Aug 27, 2009 at 05:42 AM

If Statement in SAP Scripts

238 Views

Hi All,

I have written the below If statement in SAP scripts but when i execute the same the controll doent check the second line entries. If firtst line doesnot satisfy it goes to the else part. Kindly suggest what is wrong in this..

/: IF &T156T-BWART& = '321' OR &T156T-BWART& = '322' OR

/: &T156T-BWART& = '349' OR &T156T-BWART& = '350' OR

/: &T156T-BWART& = '312' OR &T156T-BWART& = '326' OR

/: &T156T-BWART& = '343' OR &T156T-BWART& = '344'.

/: ELSE

/: ENDIF.