SapScript and Texts Formatting

Dear SDN,
please, how can I format my texts, and get them working in my SapScript?
I've created some texts, in SO10.
In my Sapscript, I call them with "INCLUDE TEXT..."
However, I have 2 problems (so far..)
1 - I'm not able to set different format (like Arial font, Bold, etc..) in SO10.
2 - Any simple formatting I do, doesn't work when I run the Sapscript (although everything else is fine, i.e, when I change some text it gets changed in the printing). The texts just come as courrier font, without any formatting, but in the SO10 I did some....
What is missing in my long journey through form printing with SapScript ??
Thank you!!
Regards,
Fabio

Hi,
if you want any specific format of text, create a STYLE with rqd paragraph & Character format using SE72.
Now when u create the Text in SO10, first call the Style which you have created using (in Text Editor of SO10, select menu FORMAT>Change Style>select the style name which u created in SE72).
after doing the above, when u try to create the text u ill see the additional paragraph formats which are created in the STYLE..
Hope it helps!!
Rgds,
Pavan

Similar Messages

  • Scaling and Text formatting / Layout - Help needed

    I am having some trouble with the way text is scaled up in
    flash. When I output and have scaling mode enabled. Objects scale
    nicely when the user resizes the window. However, text does not. If
    there is a text box with multiline enabled and text inside. The
    text will constantly readjust its formatting and layout as you
    scale the window.
    This is a huge problem for an ebook I am developing. It seems
    if I add line breaks manually at the end of each line, it fixes the
    problem, however that is an unrealistic solution as the text will
    all be dynamic.
    Has anyone experience what I am talking about, and knows of a
    solution.

    thnks for the reply ... did something like this
    <af:panelFormLayout binding="#{opportunityManagement.pfl3}"
                                                    id="pfl3" maxColumns="2"
                                                    rows="1">
                                  <af:inputText label="Lead"
                                                binding="#{opportunityManagement.it1}"
                                                id="it1" columns="5"/>
                                  <af:commandButton text="..."
                                                    binding="#{opportunityManagement.cb3}"
                                                    id="cb3"/>
                                  <af:inputText label="Opportunity"
                                                binding="#{opportunityManagement.it2}"
                                                id="it2" columns="5"/>
                                  <af:commandButton text="..."
                                                    binding="#{opportunityManagement.cb4}"
                                                    id="cb4"/>
                                </af:panelFormLayout>but all are on different lines

  • Fonts and text formatting

    could i have equivalent fonts in SAP for those in MS Word???? i require to format SAPscripts...

    Hi,
      You have many formats available in Sap scripts.. Go the the paragraph formats and you will see many under family option for texts... 
    Create a paragraph format for your output and give to the text
    DP  'Hello World'.
    Here DP is the name of the paragraph format. and Hello world will be printed on the window with that size and format of the DP.
    Thanks
    Mahesh

  • Copy, Paste and Text Formatting

    If I copy text from another application, then paste it into a
    Fireworks textbox, it replaces the Fireworks formatting with the
    formatting from the previous application. I'm looking for something
    along the lines of the "paste and match style" function found in
    most Apple programs. Also, if I copy text *from* Fireworks, then
    paste it into another application, it shows up as an image, not
    text.
    Any way around these problems? (At least they're problems for
    me.)
    I've been using FW since it was originally released, and I
    don't recall these problems in previous versions. I don't have any
    earlier versions installed, however, so I can't be sure.

    cault wrote:
    > Also, if I copy text
    > *from* Fireworks, then paste it into another
    application, it shows up as an
    > image, not text.
    Open the text in the text editor (Text > Editor) and copy
    and paste it
    from there. You can also paste text into the text editor to
    remove
    formatting from other software.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • CSS and text formats

    hello in dreamweaver there is basically paragraph , h1, h2,
    and preformatted. I was wondering what people do if they want to
    use more than those titles do they manual code uptop new names or
    can I add my custom tags in the format box.
    I am a newbie at css and I am just learning today. I mean to
    use one css file and running out quick of things to call text to
    get different size an dcolor effects etc.
    Just any little tips on whats the norm as I teach myself
    msessing around

    <h#> tags go up to <h6> in HTML. DW does HTML.
    > Also you can apply classes to the tages such as <p
    class="bluefont"></p>
    This would be a last resort, and usually leads to
    unmanageable bloat of your
    CSS files, as they become loaded with custom classes. Learn
    how to use
    descendent selectors and let CSS's cascade do the heavy
    lifting for you.
    And, frankly, if you are running out of things to style your
    text, I'd say
    you are using too many styles on the page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "andy_forbes" <[email protected]> wrote in
    message
    news:e5mhi0$qqr$[email protected]..
    >I think H tags go up to H5 in DW don't they? Also you can
    apply classes to
    >the tages such as <p class="bluefont"></p>
    > then have a style sheet:
    > .bluefont { styles }
    >
    > Andy

  • DrawString and text formatting

    Hi guys,
    My problem is the following: I have an editor where the user can add simple shapes. Now I want to allow the user to add some text under the drawings, to explain what they represent. I'm using a key listener to capture the text and then g.drawString() to make the text appear on the canvas. The problem is that I would like to allow the user to do some fancier stuff with the text, have a cursor, go back to insert text in the middle of the existing text, select text etc. I also want to keep the appearance as he/she is typing directly onto the canvas and not in some separate widget (hence I can't use a JTextPane etc).
    I have some idea about how to do all this, but drawing the cursor myself and continously refreshing the whole canvas after each action looks live a very expensive computational choice.
    Is there any way in which I can make use of the existing text methods to solve my problem?
    Any help will be appreciated.
    Andra

    write a JComponent which extends JTextArea(or textpane) and remove border. or override paintBorder(Graphics g) method and leave it blank. you cant see the border so, it doesnt appear on the canvas. easiest way. i my self am writing one of such application, and i used this way to do that it looks pretty good.

  • Flash and Text formatting

    Hi,
    I have a dynamic TextField with very wide letter spacing in my .fla. However, whenever I change the text in the TextField using actionscript, the letter spacing resets. Is there a way to keep that from happening? And why does it happen in the first place? Thank you so much for all your help,
    --Saib
    P.S. If it's any help, I'm using Flash CS4.

    If you are setting this up in the Properties panel, It is not assigning the property to the textfield however (unfortunately), just the text that happens to be in the textfield when you create the instance on stage, if any.  What you should be able to do is assign a TextFormat to the textfield so that it retains what you define for it.
    var tFormat:TextFormat = new TextFormat();
    tFormat.letterSpacing = 60;
    tField.defaultTextFormat = tFormat;
    Having done that, any text you assign to the textfield (tField) afterwards should have the letterSpacing property you defined.

  • Having trouble Output streams and text formatting???

    Salutaions!
    I'm trying to write a peice of code that takes input from a file and outputs it in the following way: (1)Any string of two or more blank space is replaced by a single space. (2)All sentences start with an uppercase letter. Define a sentence as beginning after a ".", "?","!"
    This is what I got: Please help!
    import java.io.*;
    import java.util.*;
    public class Empty
    private static boolean cap;
    private static DataInputStream input;
    private static DataOutputStream output;
    private static String inputFile, outputFile;
    public static void main(String[] args) throws Exception
         input = new DataInputStream(new FileInputStream("a://in.txt"));
         output = new DataOutputStream(new FileOutputStream("a://out.txt"));
         char thisChar, lastChar = ' ';
         while(input.read() != -1)
         thisChar = ((char)input.read());
         if(lastChar != ' ' && thisChar != ' ')
              if(thisChar == '.' || thisChar == '?' || thisChar == '!')
              {    cap = true;
              output.writeChar(thisChar);
              lastChar = thisChar;
              else
              cap = false;
              output.writeChar(thisChar);
              lastChar = thisChar;
         output.close();
         input.close();

    one clear mistake i can see in this method is that you r calling input.read() twice every time. once in the if(input.read()..) statement and then in the statement
    thisChar = ((char)input.read());
    the byte read the first time is not captured anywhere.
    do you have some specific motive behind doing this?
    luck!
    y

  • How to view my email in HTML format instead of Plain Text format?

    I receive plenty of HTML format emails everyday.
    but when I check those emails on iPhone, all emails were automatically converted to Plain Text format.
    I wish to view my emails in HTML format (just as it shown in Outlook)
    with graphic (jpep loaded, instead of attachment), and Text formatting.
    Can anyone suggest me any solution?
    or do Mail apps in iPhone does not support HTML format?
    Pls guide.
    Thx.

    To get a source code for jsp mail visit http://www.jspinsider.com/tutorials/jsp/javamail.view

  • Reg: problem in displaying as key and text

    Hi Friends,
    I have a problem while displaying values for 0profit_ctr.
    In Development box report working fine. In production it giving problem.
    ISSUE:
    I want to display the 0Profit_ctr as key and text format. In development box it showing correct. I cross verified the properties of 0proft_ctr charcaterstic in report of  development and production box. In both it is defined as dispaly key and text.
    Also cross verified the infoobject (0Profit_ctr) details, In both Business Explorer general settings defined as Display as Key and Text.
    Everything is same in production and development box for this. Even though in production it showing as text and key. we need to display it as key and text.
    any suggestion on this.
    Regards
    Mrk.

    It could be that the infoObject has been disturbed, have you tried just re-activating the object in Production.
    Also check the following link :
    I am able to search only by text and not by Key in filter.

  • Convert SAPScript text linse to normal stream text format

    Hi Gurus.
    We have a custom popup FM that displays text lines from a file provided by SAPScript text format.. (after u2018call function u2018READ_TEXTu2019).
    However, for example, the Tab indent markers in this text u2013 represented by two commas u2018,,u2019 are printing  instead of spaces representing the indent in our popup.
    We are searching a FM that takes the SAPScript text format and converts it to plain text format (before our Z_popup is called) where the Tab markers are replaced by spaces (in our case this is four spaces for each Tab mark).
    We have already tried FMu2019s: CONVERT_text; CONVERT_ITF_TO_STREAM_TEXT; CONVERT_ITF_TO_STREAM_TEXT. But none of them seem to fulfill the requirements stated above.
    Can anyone please advice?

    Hi Arnie,
    Instead of searching for FM you can manually code which is flexible.
    "after gettting text from READ_TEXT in lt_tline.
    Data: lt_string type table of string,
             lv_string type string.
    CONSTANTS: c_par  TYPE char2 VALUE ',,'. " Sign for tabs
      LOOP AT  lt_tline INTO  wa_tline.
           CONCATENATE lv_string  wa_tline-tdline INTO lv_string SEPARATED BY ' '.
           REPLACE ALL OCCURRENCES OF c_par   IN lv_string WITH ' '.
            Append lv_string to lt_string.  "if needed in string table
      ENDLOOP.
    Regards,
    Kiruba

  • How can I show only text edits and not text formatting when using print comments summary?

    Acrobat 9.3.0 for Mac.
    Here is the scenario: I used the Compare command to see the changes between 2 PDFs. The resulting file some edits are inserts and some are deletions. I want to print a comments summary only showing the text edits. In the Compare Option pane, I select Text and deselect Images, Annotations, Formatting, Headers/Footers, and Backgrounds. Now on the screen I see inserts are highlighted in blue and deletions are marked with sort of a caret and vertical bar symbol. So all looks good at this point. However, when I show the Comments List, I see addtional comments that indicate "Replace - The following text attributes were changed: fill color." Those comments do not appear in the page view unless I check the Formatting check box to show them. With Formatting unchecked, I print a comments summary and all of the "Replace - Fill Color" comments" appear on the resulting comments summary.
    I only want to show text edits, not text formatting changes. So questions are:
    1. Why, when the Formatting checkbox is unchecked, do the text formatting comments still appear in the comments list when they do not appear on the page display.
    2. How can I print only the text content edits and not show the text formatting changes when using Print Comments Summary.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exact

    Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exactly same word file on exporting it from its pdf counterpart?

    I was testing the preciseness & efficiency of Adobe acrobat x professional's doc conversion capabilities. As i have to take a document editing project in future which is going to need lot of pdf to word and vice versa conversions . What I did was I created a test word document converted into a pdf using a pdf maker in my word 2007 , Acrobat did convert the document from word to pdf keeping everything in the source file intact , However when i tried the other way round and attempted to convert the same pdf to word 2007 file format I lost my formatting ?So the font that I used to create the pdf are the ones taken from word 2007 which i believe is using the fonts that are installed in my computer. Any suggestions on how to preserve the formatting of the document after converting it from pdf to word file format?
    Regards
    Mike

  • Sapscript and Standard Text - Polish Characters not printing

    Hi,
    I have created an English Sapscript and translated it to Polish via transaction SE76.
    Changing my PC Region and Language settings to Polish allowed me to enter Polish Characters into Hardcoded text in the Sapscript and Standard Text via s010.
    I have two problems:
    1) With my PC Region and Language settings set to Polish, when I create my sapscript output some of the polish characters that I have entered via SE76 and SO10 do not appear and are replaced by others e.g.
    ę is dispalyed as ê
    ć is displayed as æ
    ń is displazed as #
    2) I have a business requirement to be in England Logged with PC Region and Language set to English but to print a sapscript output in Polish. Is this possible.
    We are currently on non unicode SAP system.
    Please can anyone advise.
    Regards

    Hello,
    SAP discourages mixed code page or MDMP systems and with good reason. If there is any possibility of you upgrading to a Unicode system in the near future you should try to wait for it. Supporting multiple languages in Unicode is easy, in MDMP it can be quite tricky. And MDMP makes the move to Unicode more difficult.
    That said, your BASIS team can enable Polish and you can print in Polish while your PC is set for English. The SAPScript/Form must be in Polish or using an INCLUDE that is LANGUAGE 'PL' to let SAP know which code page to use when printing.
    Seriously, look at moving to Unicode, you need to do it eventually anyways.
    Michael

  • Can't see HTML and Custom text format under data format tab in obiee.

    Hi,
    I want to add a java script to my report but I can't see HTML/Custom text format option under Data Format Tab--->"Treat Text as" menu.
    My report is a union report.
    For data column and numeric columns i can see custom option available but for text columns it is not visisble.
    Any idea why it is not showing and what should be done here.
    Any pointers are welcome.
    Please help,it is really urgent.
    Thank in advance!
    Edited by: 810008 on May 18, 2011 10:03 PM

    Hi,
    Select text column (varchar column) -> Treat Text as -> custom text format ->Remove @ (default) -> add [html]<script>sometext(‘@’)</script> followed by your javascript
    for eg:
    [html]<script>buildGoogleChart(‘@’)</script> <head> <script type="text/javascript"> function show_alert() { alert("Hello! I am an alert box!"); } </script> </head> <body> <input type="button" onclick="show_alert()" value="Show alert box" /> </body> </html>
    hope helps u.........
    cheers,
    Aravind

Maybe you are looking for

  • Importing UDF data through DTW

    Hi Experts, I am using SAP Business One 2007B PL00. I have created 2 UDF's on row level in marketing documents. These fields i have defined to track the legacy PO/SO number and the other UDF to track the date in yyyymm format which is present in lega

  • Mac pro not booting up

    Help my mac pro will not boot up gray screen with apple logo and the loading icon keeps going round and round but nothing else happening. Iam running Lion OS X (10.7) Help please

  • Image Capture creating zip files instead of regular files

    I've been using Image Capture for many years. For some reason, all of a sudden, all my scans are being put into a zip file instead of as a regular file. I'd like to have Image Capture make regular files again such as pdf etc.  What do I do? Does this

  • Where to find 'Exempt' indicator for reporting using ad-hoc query?

    I want to run report for a count of exempt and non-exempt employees using ad-hoc query with logical database PNPCE. We maintain the exempt/non-exempt flag on the job. Thanks Manish

  • Application error java.lang.NoClassDefFoundError

    Hi , I am working on weblogic server and getting some error from application. When application tries to connect to database, it uses sqljdbc.jar file, which has been kept on above mentioned path(i.e. /Oracle/Middleware/user_projects/domains/base_doma