2009 Mar 30 1:31 PM
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
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 30 1:34 PM
You have to do two times, otherwise write a perform and do all the necessary coding in that and send back the required value to script editor. This is better to understand and for future changes.
2009 Mar 30 1:34 PM
Hi:
Its advisable to make entire calculation in se38 under subrountine, which should be called in Script.
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
......
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
......
/: ENDPERFORM
Coding of the calling ABAP program:
REPORT XXXXX.
FORM <XXXX> TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
endform.
Regards
Shashi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |