2009 Feb 12 4:30 PM
Hi!
I was modifying one of the sapscript from the editor and I found the below
code :
/* IF &PAGE& EQ '1 '
/* INCLUDE ®UD-TXTAB& OBJECT TEXT ID ADRS
/* ENDIF
what is significance or the meaning of the second line of code .
would you please help me to know it .
thanks
Amit
2009 Feb 12 4:32 PM
hi,
The statement inside the IF block , shall be executed only for the 1st page and skipped to all pages in the form printing other than the first page.
&page& refers to current page in SAPSCRIPT form
Thanks
Sharath
Hi Amit
The second line refers to the insertion of standard text which you can see in the transaction SO10.
Now activate the debugger and find the value of REGUD-TXTAB and put it into text name ADRS in text id of SO10 and display; you'd see the standard text.
Pushpraj
2009 Feb 12 4:32 PM
hi,
The statement inside the IF block , shall be executed only for the 1st page and skipped to all pages in the form printing other than the first page.
&page& refers to current page in SAPSCRIPT form
Thanks
Sharath
2009 Feb 12 4:43 PM
Hi Amit
The second line refers to the insertion of standard text which you can see in the transaction SO10.
Now activate the debugger and find the value of REGUD-TXTAB and put it into text name ADRS in text id of SO10 and display; you'd see the standard text.
Pushpraj
2009 Feb 12 4:58 PM
Hi dude,
He want to print the address( text - created in so10 ) only in first page.. not all the pages..
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |