Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

include text in sapscript

Former Member
0 Likes
801

Hi!

I was modifying one of the sapscript from the editor and I found the below

code :

/* IF &PAGE& EQ '1 '

/* INCLUDE &REGUD-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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
694

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

3 REPLIES 3
Read only

Former Member
0 Likes
695

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

Read only

Former Member
0 Likes
694

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

Read only

former_member632729
Contributor
0 Likes
694

Hi dude,

He want to print the address( text - created in so10 ) only in first page.. not all the pages..