‎2011 Sep 30 4:54 AM
Hi All,
I'm facing some problem with the if..elseif.. else statement.
Can i write the elseif condition at the another new line in sapscript as the conditions are too long.
IF &EKKO-BUKRS& = 'DE10' OR &EKKO-BUKRS& = 'DE50'
Write: 'Company name AAA'.
ELSEIF &EKKO-BUKRS& = 'PL10' OR &EKKO-BUKRS& = 'PL20
OR &EKKO-BUKRS& = 'PL50' (Can I write another condition at new line?)
Write: 'Company name BBB'.
ELSE
Write: 'Company name XXX'.
ENDIF
Thanks,
Alice
‎2011 Sep 30 7:12 AM
Hi,
Change the editor to word like editor & write your condition their as you wanted.
To change editor From menu Goto->change editor.
Regards,
S.Senthilkumar.
‎2011 Sep 30 5:14 AM
Hi Alice,
instead of going next line better you can press Shift+f8 the sapscript editor will extend their you can write the condition.
Regards,
Dhina..
‎2011 Sep 30 7:12 AM
Hi,
Change the editor to word like editor & write your condition their as you wanted.
To change editor From menu Goto->change editor.
Regards,
S.Senthilkumar.