07-31-2009 3:05 PM
Hi all,
I want to give the space between lines in script layout.
Ex:
After printing 3 lines i want to give one line space and again the remaining lines nee to be print..
So is there any statement..?
07-31-2009 3:15 PM
After 3 lines, give "/" in one line. It will feed a new line into script output.
07-31-2009 3:15 PM
After 3 lines, give "/" in one line. It will feed a new line into script output.
07-31-2009 3:17 PM
HI veera,
'/' is for next line. i think it wont give the line space between lines..
and one more thing how to use the paragraph formats and use of it..can any body tell me..
Edited by: Mahaboob on Jul 31, 2009 4:21 PM
11-26-2009 10:15 AM
11-26-2009 2:50 PM
For space between lines, do this. Example u are printing the following text and u want space after 3 lines :
/ &ITCFX-SCTITLE& &ITCFX-SCLNAME&
/ <K>Phone < / >
/ &ITCFX-SCPHONENR1&
/
/ &ITCFX-SCTITLE& &ITCFX-SCLNAME&
/ <K>Phone< / >
/ &ITCFX-SCPHONENR1&
Hope u got my point. Line feed '/' with a blank line will result in 1 blank line in the output.
Now to use paragraph formats:
1. Click on paragraph format button.
2. In menu - Edit -> Create element -> give a name to ur para format and a description.
3. Click the tab button on the bottom right side of the page.
4. Here u can enter values to set the tabs. For example, if first value u set is 2 and next 4, then 6 and so on. So in the script when u use ur para format. Double comma between words would mean 2 spaces.
Remember the space which u give between ur words by putting double comma - ,, considers the value which u have entered in ur para format.
Example :
P1 - I created para format P1 with spaces 2, 5, 9, 15. and i use it in my editor as:
P1 <W>Phone < / > ,, <W>Name < / > ,, <W>Grade < / > ,, <W>Marks < / >
These words will be printed at 2nd, 5th, 9th and 15th cursor positions from left in the output.
I may be wrong in the accuracy of position. U'll have to play with it, and find out how double comma, 4 commas are behaving for ur script.
To have more clarity on this u can go through the following :
http://it.toolbox.com/wiki/index.php/Sap_script#2.2.3.09Tabs_in_Paragraph_Formats
Edited by: Navita Gujral on Nov 26, 2009 3:55 PM
Edited by: Navita Gujral on Nov 26, 2009 3:56 PM