‎2009 Feb 23 2:01 PM
I want to add text in the same line after INCLUDE in a Sapscript. Can this be done?
Currently I have
/: INCLUDE STANDARDTEXT OBJECT TEXT ID ST
* &VARIABLE&But this puts the variable on the next line and I want it on the same line. I have tried the following and it does not work. Any ideas.
/: INCLUDE STANDARDTEXT OBJECT TEXT ID ST &VARIABLE&
‎2009 Feb 23 2:06 PM
Hi Megan
Use = instead of * (go to the F4 for the paragraph format and chooose the one for continuous line it's = only i think)
Pushpraj
‎2009 Feb 23 2:06 PM
Hi Megan
Use = instead of * (go to the F4 for the paragraph format and chooose the one for continuous line it's = only i think)
Pushpraj
‎2009 Feb 23 2:11 PM
= does the job. Thanks for that
The other problem I have is that when I do INCLUDE it does not start with indentation on the left
The text should start around 5 cm from the left margin. Is that possible?
‎2009 Feb 23 2:31 PM
Hi
You may put a tab (,,) in the stabdard text in SO10. Now this tab's indentation and alignment would depend on the paragraph format specified for that line. You could create your own paragraph format here (in the script). The paragraph formats are taken from the script associated with the std text. this may be changed from Format -> Change form, but careful about that as others may be using the same std text.
Pushpraj
‎2009 Feb 23 2:37 PM
Making changes to the text in SO10 is not feasible as super users will be maintaining it and they would need to be trained to do so.
In the script itself, I always thought that to add standard text /: should precede Include, is this not true? or can I add a paragragh format instead. If I can use a paragraph format, then I think I can resolve this issue.
‎2009 Feb 23 2:48 PM
ok then
Ya /: always for the standard texts.
try however, putting a tab in front of the INCLUDE statement and see if that works.
or couldn't you just copy the standard text to another and then go for the change there?
or maybe shift the window by 5 cm.
I'm off, 8:16 IST. hope you find a way.