on 03-10-2010 10:47 AM
Hi
In SAPSCRIPT I'm trying to code (crude I know)
IF &V55ENAFT-KUNAG& EQ 'M002699' OR &V55ENAFT-KUNAG& EQ 'M002699CUR'
OR &V55ENAFT-KUNAG& EQ 'M002699RDE' OR &V55ENAFT-KUNAG& EQ 'M002699CUR'
OR &V55ENAFT-KUNAG& EQ 'M002699SEA'
blah blah blah my text
ENDIF
The problem is that the IF statement needs to fit onto three lines. The first line declared with the /: Command Line works ok, but I can't get the SAPSCRIPT to treat the next two lines as part of the statement. I've tried / and leaving it blank, but it just treats the lines as text.
Is there a way of chaining the lines together, or do I have to split the IF into three separate statements?
Hi ,
Please keep the tag column as blank from second line of if statement. once you exit for the editor, it will treats as a single line.
Regards,
Chandra kavali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a way to extend command lines beyond the 72 characters...they're difficult to edit, of course, and I'm trying to remember how to do this...I'll edit this if I find the how-to.
in the interim, you could pass the value in a perform.... in program .... using the value, changing a flag....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The equals sign = is the continuation character, which should treat all parts as a single line. That said, when I entered this in the text editor and switched back to the windows editor it still displayed the second line as text. It might still work though when the form is processed.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.