on 08-13-2008 1:37 PM
hi gurus,
how to centrally alligned the variable's value in sap script. i am not geeting any idea in paragraph and character format .
Hi,
See this link
http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm
Regards,
Jagadeesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Let me give you few example how paragraph format and character format work in SAP script.
Paragraph format :
goto paragraph format and create a new paragraph for example,PR
Click on fonts button and give your desired font family and font size, if font family and font size are not specified here it will takes from the header data basic settings.
Now click on tabs and define all your tab spaces. for this example we define 2 tabs,
Tab poisition Alignment
1.2 CM Left
4.0 CM Left
Now we will use this paragraph for displaying few text symbol inside our window.
Ex:
PR &text1& ,, &text2& ,, &text3&
,, --> represents tab spaces.
Now in your form text1 will be printed from starting of your window from lefthand side and text 2 will print 1.2 CM from left handside of your window and text 3 will start printing from 4.0 CM from left handside of your window.
Note: you can have any number of tab spaces.
Now coming to charater formats.
Goto character format and create a new character format c1, goto font and if you want give your font family and on bold button select radio button under on
Now, in your form use character format like this
PR <C> &text4& </C>
Now text4 will be displayed in bold with the font family specified in character format, if no font family specified in character format it take the font family from paragraph format and display text4 in bold.
Close the thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To achieve this you can use tab stops for the paragraph fromat you are using.
Instead of aligning put the tabstop where you want to print the variable.
before printing condense the variable as well.
eg. &varname(C)&
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In your paragraph formatting set the allignment as Center..
and use the same paragraph format while displaying the values
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.