on 01-25-2007 4:41 PM
hellow, i am writing a fixed text in sapscript, and now i have to write 35 characters less of this fixed text, but i have fixed the sapscript, so i would like to write a text of 35 blanks, i have seen that if i put &space(35)& it doesn´t works but if i put a point after space(35), it does, how can i write a 35 text space element please?
Thanks in advance
regards
Example:
True-> &space(35)& .
False->&space(35)&
Hey,
You can use the TAB, i mean in the Paragraph format, use the tab position. or lese you can give the 35 Blank spaces by pressing the SAPCE key on the keyboard.
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To solve this I create a variable in the "calling program" like
data: B(1) value space.
In the sapscript you can use this variable with &B& as a single space.
The nice thing about it is that you can use the normal space on the keyboard and end with &B& (like you used the point) and the exact number of spaces are printed.
Regards,
Monique
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Carl,
&SPACE(35)& is also works might be bcos of empty space u didn't notice it.
u can write space like..
<b>&ITAB-MATNR& &SPACE(35)& &ITAB-MAKTX&</b>
or u can use paragraph formats with tab spacing
provide tabs as..
1. 35 PT LEFT
PR &ITAB-MATNR&,,&ITAB-MAKTX&
where PR is paragraph format
Regards
CNU
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Carlson,
The functionality of <b>&SPACE(35)&</b> is to have 35 spaces only but as you placing this end of the text, you are not feel of it has spaces.
When you have <b>&SPACE(35)&.</b> , a point after space(35) has generating 35 spaces then you are getting your point.
Otherwise, Define a tab for a paragraph format with 35 spaces position and use this in your script editor.
Thanks,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Carl,
Define tabs in paragraph format & use it in script instead of &space(35)& .
Ashven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you use a tab?
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.