on 05-28-2009 7:40 AM
Hi all,
In sapscript, I understand that if I want to extract the data from standard text, I can do like this: -
INCLUDE ZXX_SAMPLE_TEXT OBJECT TEXT ID ST LANGUAGE EN
This will display the standard text ZXX_SAMPLE_TEXT
standard text 1
What if I need to display few standard texts in vertical line or in row?
standard text 1 another standard text 2 another standard text 3
Can I use INCLUDE?
Hi,
At this time you can call the standard text using READ_TEXT in Driver program and transfer the text into string type variables then you can display as you like in script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well, this is quite a tricky thing to achieve.
normaly text cannot be written next to each others but just under each others.
Why is this?
Texts are defined with a width of maximim 132 characters. So how do you want to print 3 texts next to each others (max width then 396 characters on a sheet of paper which makes 80 characters per line.
So if each of your texts has a width of max 25 characters, this can work, like proposed somewhere above.
you could as well read all your three texts in driver program, and make a new 4th text out of them, and printing this text then.
but if you happen to have dynamic texts which you dont know of how wide they are, i wouldnt propose to go for your desired solution.
Or you need a real good scenario of "what should happen when".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If the content is a static text then please follow as in my earlier reply.
Otherwise if the contents are in variables then use offsets and put it in script line by line.
Regards,
Ram
Edited by: Ramakrishna Peri on May 28, 2009 12:42 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why not combine the contents of the three standard texts in a single standard text and use it in the script.
You can align the texts as desired inside that single standard text.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.