Skip to Content
author's profile photo Former Member
Former Member

in sap script central allingment of variable's value.

hi gurus,

how to centrally alligned the variable's value in sap script. i am not geeting any idea in paragraph and character format .

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2008 at 12:58 PM

    Hi

    hi need help in paragraph format

    Regards,

    Sravanthi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2008 at 01:16 PM

    Hi,

    In your paragraph formatting set the allignment as Center..

    and use the same paragraph format while displaying the values

    regards

    padma

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2008 at 01:39 PM

    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!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 14, 2008 at 01:29 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 05:55 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.