on 03-14-2008 10:55 AM
Hi,
in my sapscript i have to use an IF statement with many OR conditions
/: IF cond1 OR cond2 OR cond3 OR cond4 OR cond5 ........
But i can't write it on one line. Even with SHIFT-F8 to go to the right the line lenght is too short.
How can i solve this one ?
regards,
Hans
hi,
Write on next line with column tag as space or =.
Reward if helpful.
Regards.
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is not a solution, more a workaround but should avoid the line length problem.
Define a flag in your form (/: DEFINE &IF_FLAG&), then you can call an ABAP subroutine to set the value of this flag (take a look at the online help for SAPscript PERFORM if you're not familiar with it). The subroutine will contain your long IF statement and the SAPscript will just contain
/: IF &IF_FLAG& = 'X'.
Regards,
Nick
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.