2009 Mar 31 5:52 AM
Hi
I have a IF condition like this.
/: IF bwart = '301' and bwart = '303' and bwart = '304' and bwart = '305' and bwart = '306'
----
----
/: endif
Like this , I have many AND conditions in the IF.
But , In Script Editor , It is allowing only 72 characters.
I extended this SHIFT-F8 to get more characters.
Even, My IF condition is not fitting in one line.
How to write this IF in Script
Thanks
2009 Mar 31 5:55 AM
2009 Mar 31 6:21 AM
Hi,
to overcome this, better to call external subroutine from script editor and mention ur conditions in the external program and check it with flag or any other option...
regards,
Naveen
2009 Mar 31 6:26 AM
Hi,
Chage the Script editor into document editor by clicking Goto--->change Editor and type as you like. I was also faced same problem like this.
2009 Mar 31 6:32 AM
Hi,
Instead of this you can write you if statment like this..
/: IF bwart = '301' and bwart = '303' and bwart = '304' and bwart = '305' and bwart = '306'
* ----
* ----
/: endif
Write this way ..
/: IF '301,303,304,305,306' CS bwart.
* ----
* ----
/: endif
Or you can change the script editor to document editor and write your code.