Paragraph format problem

Hi All,
I am facing one small problem regarding allignment of paragraph.
I have some hardcoded text in my form which i have to allign as follows.
where  text purchase has to be come just below text This and not below (a)
output 1
(a)   This is the test form for printing the.
         purchase order.
actually when I do paragraph format as justify i get following output
output 2
(a)   This is the test form for printing the
purchase order.
but  I want that text as output one
how can I get that?
please suggest.
Thanks
vinod.
Edited by: VINODP on Sep 4, 2009 1:06 PM

but is it a script or smarform:
if it's a script:
You define a paragraph format with a single tab
eg:
Paragarph format   tab1 
    P1                         5   char
define the text like below:
P1 (a),,This is the test form for printing the
P1 ,,purchase order.
If its a Smartform:
create a template with 2 nodes & 2 rows:
in 1st node of 1st row, create a text element| and place (a).
in 2nd node of 1st row, create a text element| with 'This is the test form for printing the'.
in 2nd node of 2nd row, create a text element|  with 'purchase order'.
Hope it works!!
Rgds,
Pavan

Similar Messages

  • Problem in creating new/changing paragraph format in sapscript

    hi,
    i am developing new sapscript form
    based on standard sapscript : SD_PICK_SINGLE .
    The problem is that I neither can't create new paragraph format in se71
    for this form nor change an exist paragrapf format .
    does anyone encountered such a problem
    and can help me solve it ?
    ami

    Hi,
         You have copied the Standard Sapscript, but i think you have not converted the Original Language "DE", as the standard one will be in "DE", so it is not allowing you to create new paragraph format or any changes.
          Open the copied Zform in DE language, Click on Menu> Utilities> Convert original language,
          Give From = DE
                  To    = EN
    Save and Open the Same Zform in EN language and do any modification.
    Regards
    Bala Krishna

  • Convert Web Page to PDF formatting problem - 1st line of each paragraph outdented

    Hi Folks,
    I get a formatting problem when I convert any web page to PDF using the 'Convert Web Page to PDF' option - the 1st line of each paragraph is outdented.
    eg if i convert http://helpx.adobe.com/acrobat/using/whats-new-acrobat-xi.html I get this:
    I get the same problem using IE 9, Chrome (latest) or Firefox 30.0. I don't get it converting a Word doc to PDF.
    I'm using Adobe Acrobat XI Pro on a PC running Windows 7.
    Is there a simple setting somewhere I am missing?
    Any help much appreciated!

    Are you using "Adobe PDF" or "PDF or XPS?" I sounds like "Adobe PDF," but trying to be sure. Have you updated your Acrobat to the latest version? If not, try that.

  • Script Paragraph Format-TAB position Problem....

    In Script- Medruck , There is a line:
    IM   ,,,,,,Qty. ,,Unit   ,,Deliv. date ,,,,&ETUHRTXT&
    where IM is a paragraph format with TAB positions at:2,3,23,24,34,40,51,57.
    what is the meaning of ,,,,,,Qty ????
    what is the difference in writing :
    IM ,,Qty,,Unit,,Deliv. date,,&ETUHRTXT&                                 AND
    IM   ,,,,,,Qty. ,,Unit   ,,Deliv. date ,,,,&ETUHRTXT&
    How would the Display look like??

    Hi Srikar again,
    If you are putting one tab position after every field, in this case count tab position from the starting i.e. from first variable and go on countin till end . This will take you adding position one after other and it will not overlap.
    e.g. Mat,,qty,,price
    and tab position as 1 : 5  2: 10 3: 15 4:20
    then mat will start at 1 to 5 and qty will from 10 onward.
    Regards,
    Vijay

  • For SAPscript INCLUDE TEXT, how to align as Paragraph format

    Hi experts and ABAP colleagues!
    Need your help on this sapscript problem:
    How to align texts taken from "INCLUDE TEXT" in SAPscript, according to tab defined in Paragraph Format?
    For example, I defined BG to have tabstop at the 2nd column (or equivalent to 1st tab position) where I need to print the text, and then declared it in SE71 like below:
    However the text prints at the leftmost instead of at the 2nd col position - (8th char tab defined in par. format BG).  Hence it is not aligned to its proper heading.  Line Number instead of Description - which is not okay for client view that needs these Thai texts. 
    The technical details I included below.  Kindly examine:
    1.)  Window >Main > Text Element > Include Text command
    /E   ITEM_TEXT
    BG   ,,&TTXIT-TDTEXT&
    /:   INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID&
    /:   NEW-PARAGRAPH BG
    Note:  I used command "NEW-PARAGRAPH" and had exactly the above code in se71.  Anything missed here?  Pls. help.  Thanks.
    #2.) Paragraph Format > Tab
    No. -
      Tab Position -
    Alignment
    1            8,00 CH            LEFT
    2            28,00 CH          CENTER
    etc.
    Note:   and then i put in  ",,&TTXIT-TDTEXT&" (see above) with the 2 comma's beforehand to say that its on the 1st tab or at the 8th character where it should be printed, but does not give intended result... pls help.
    #3.) Paragraph Formats > Standard Attributes
    Left Margin - 0 cm
    Alignment - Left
    no blank lines checkbox - ticked
    Note:  Is there any more attribute i can manipulate from here to force display at the right position?
    Thank you so much in advance for all your help.  Our project team will really appreciate it.  May the Lord bless you as we go through our SAP work!
    Sincerely,
    Celeste

    Here's a thought, instead of using tabs, try writing a method that takes a string that is the starting string, a pad character, and a length and returns a string padded to that length with the specified character.
    public String padR(String src, String padChar, int len)
        // ... You get to fill in the rest suggestion try to do it without a loop
    }Have fun,
    PS.

  • Paragraph Format being lost

    Hi there
    I'm working on an FAPI client to translate text in Frame Documents. One of the first things we do is store the formatting for each paragraph,
    and then write it back out to the translated document.
    However, in one document I'm working on, when my client attempts to get a handle
    for one particular paragraph format, it gets a null a handle instead and that formatting is not applied. Instead, formatting from the previous paragraph (namely an obnoxious green font colour!) is being applied.
    In order to set the translated text into the document, we delete the content that was originally there. Could that have a role to play?
    I notice that before and after translation, the paragraph format in question is not contained in the paragraph format catalogue.
    When I click on the paragraph which has this formatting applied to it, it has an asterisk before the name. Is this significant?
    Any answers would be appreciated
    Thanks
    Eric

    Eric,
    I think the answer you are looking for is yes, there can be "formats" in the document that are not in the catalog. However, they aren't really formats at all, because if they were, they would be in the catalog. From an API perspective, all they are is a string property assigned to a paragraph.
    With the FDK, format usage can be confusing. You might think that you can just set the FP_Name property for an FO_Pgf object to apply a format, but that is really nothing more than a string that is used for reference later, either by you (the programmer) or the interface (the GUI). To apply a format, you have to find the format object (FO_PgfFmt) itself, capture its settings, then apply them to the FO_Pgf (I gather you know this already). It's important to remember, though, that you aren't really creating any kind of link between the format object and the paragraph; rather, you are just transfering the settings from one to another. Incidentally, both types of objects have an FP_Name property, so when you transfer the properties from the format to the pgf, that name gets transferred as well. This presents the illusion that there is some intrinsic link between the two afterwards, but it really was nothing but a string property transfer.
    The problem you are having is that this FP_Name property was somehow set with a value that doesn't reflect an actual format in the catalog. This could have been done with the FDK, of course, but there are a number of ways to do it in the interface as well. One of the simplest ways is to open the paragraph designer, "create" a new format, but deselect the option to add it to the catalog. The paragraph will then maintain the assignment of this "format," but it doesn't really exist. It's just the FP_Name property amidst the zillions of other paragraph-related properties.
    Others have suggested that format overrides might be the cause, but I don't think that is quite applicable in your case. You should still be able to retrieve an FO_PgfFmt object by name, if it existed. Your problem is that the format doesn't exist. Note that in the interface, both a non-existent format and an paragraph with format overrides will show with an asterisk in the toolbar, adding to the possible confusion here.
    Solution?  I think you'll need to clean up your docs   You can do this with the FDK by seeking out any paragraph with an imaginary formats, then creating a new FO_PgfFmt object with the respective properties. Or, better yet, do it once manually and be done with it.
    Russ

  • Not able to create new paragraph format for copied layout of WESCHEINVERS3

    hi all,
    Iam facing one of the pecular problem I copied WESCHEINVERS3 into Zlayout from client 000.
    when i tried to create new paragraph format I found the create element greyed out I have never seen this issue earlier.
    May I know why the menu path paragraph->EDIT->create element is greyed out.
    thanks

    Hi,
    U can create new paragraph formats, windows, character formats etc., only in original language of the FORM.. I guess u were trying to create a new paragraph format in 'EN' but the original language of form 'WESCHEINVERS3' is 'DE', so u can create the new paragaraph format in the copied Z form only in DE language.
    Try to open the Z FORM in DE and create the Paragraph format...
    Hope it helps!!
    Rgds,
    Pavan

  • Paragraph Formatting in XML Data Sets

    Got a client I'm currently doing a Spry page for and he's got
    a lot of copy he wants to inject in his tooltips. I'm using the XML
    Datasets and they're working pretty good but one problem is he's
    got all this copy in paragraphs. So I stick it all in my
    <copy> tag in my .xml file but I can't accept paragraph or
    line breaks. If I add a <p> or anything like it, the XML is
    no longer valid and is screwed up. So how can I add paragraph
    formatting to these large chunks of XML?

    I have an online example:
    http://www.pearlmanpr.com/perspective_test.html
    The spBlog.xml file contains test junk.  If I put the <[[CDATA....]]> inside the BlogEntry/BlogText tag it doesn't work at all.
    http://www.pearlmanpr.com/perspective_test_2.html
    If I use it without the <[[CDATA..]] it doesnt work either.
    http://www.pearlmanpr.com/perspective_test_3.html
    If I use it without any <> within the tag it sort of works (still needs to be aligned).

  • Unknown Paragraph format in Upgrade Project

    Hi All,
    I am getting 2 different warning messages in SAPScript.
    1. <b>Unknown Paragraph format <PF_Name></b> even though the paragraph format is defined properly in the Script.
    2. <b>Include expansion not possible, as at least one parameter is a symbol</b>, even though the Standard test exists.
    Can anyone please help?
    Full reward points will be awarded for helpful answers.
    Thanks,
    Naba

    Hi Sairam,
    I have deleted and re-created the Paragraph format with the same name and credentials, but the problem is still occuring.
    Could you please suggest some other alternative?
    And also regarding the "Include....." warning?
    Thanks,
    Naba

  • Script to add markers to text by paragraph format

    With previous versions of Framemaker, I had a FrameScript which would loop through my document and add a marker to text based on the paragraph format applied. The marker text would be the selected paragraph.
     I am now trying to recreate this in Extendscript for use in Framemaker 10 and am completely stumped. 
    I have no doubt that my script (copied below) is completely off-track, but I wondered if anybody would be able to help point me in the direction of my many mistakes.
    Basically, I want the script to find all paragraphs with the "*Part no." format applied, make that text the text range and then apply a marker to that range. A bit of research has shown that I probably need to create a list of paragraph formats, but I believe that I have far more problems than just that.
    var pgfFmt1 = flow.GetNamedPgfFmt (*Part no.);
    while (pgfFmt1.ObjectValid())  
        function createMarker (doc, pgf, offset, type, text)    {
            var tRange, marker;
            tRange = pgfFmt1.TextRange;
            marker = doc.NewAnchoredObject(Constants.FO_Marker, tRange);
            marker.MarkerType = type;
            marker.MarkerText = text;
            return 1;
    createMarker (doc, pgf, 0, "Index", 0);
    Many thanks in advance to anyone who is able to offer me some pointers!

    Well, it seems that my script is only 95% there. While my script finds the target paragraphs and adds a marker, only the first word of each paragraph is selected as the marker text. I really need the script to select the whole paragraph as the marker text. I have tried many combinations, but cannot seem to get the right outcome. Could anybody please point me in the right direction? Script is copied below. Many thanks!
    var doc = app.ActiveDoc;
    var flow = doc.MainFlowInDoc;
    var tframe = flow.FirstTextFrameInFlow;
    var pgf = tframe.FirstPgf;
    var target1 = doc.GetNamedObject(Constants.FO_PgfFmt, "*Part no.");
    var target2 = doc.GetNamedObject(Constants.FO_PgfFmt, "*Parent Bold");
    var target3 = doc.GetNamedObject(Constants.FO_PgfFmt, "*Child");
    var target4 = doc.GetNamedObject(Constants.FO_PgfFmt, "*Child indent");
    var target5 = doc.GetNamedObject(Constants.FO_PgfFmt, "*Child indent 2");
    while (pgf.ObjectValid())   {
    if (pgf.Name == target1.Name)   {
        createMarker (doc, pgf, 0, "Index", "");
    else if (pgf.Name == target2.Name)  {
        createMarker (doc, pgf, 0, "Subject", "");
    else if (pgf.Name == target3.Name)  {
        createMarker (doc, pgf, 0, "Subject", "");
    else if (pgf.Name == target4.Name)  {
        createMarker (doc, pgf, 0, "Subject", "");
    else if (pgf.Name == target5.Name)  {
        createMarker (doc, pgf, 0, "Subject", "");
    pgf = pgf.NextPgfInDoc;
    function createMarker(doc, pgf, offset, type, text) {
        var tLoc = new TextLoc(pgf, offset);
        var marker = doc.NewAnchoredObject(Constants.FO_Marker, tLoc);
        var markerType = doc.GetNamedObject(Constants.FO_MarkerType, type);
        marker.MarkerTypeId = markerType;
        marker.MarkerText = text;
        return 1;

  • Paragraph format in scripts

    hi experts,
    in scripts, in paragraph formats we have a tan called "outline".
    can any one help me to know abt that. plz give me what is the purpose of it, n how to implement that one. i mean how to use it.
    thanks in advance for ur responce.

    hi
    good
    The paragraph numbering and marking attributes are used to structure texts into chapters, subchapters, and sections. Numbering is carried out automatically by SAPscript.
    You can create an outline with the entry options available:
    Outline
    Enter the name of the highest-level paragraph in an outline hierarchy here. The outline hierarchy is created by assigning this paragraph to all outline paragraphs.
    Outline level
    Enter the level in the outline hierarchy. The outline levels of the paragraphs are numbered upwards from 1; the highest outline level therefore has the outline number 1.
    Number margin
    Specify the space between numbering and window border. Note that your numbering may extend into the text area of the paragraph if the difference between the left margin and the number margin is not great enough to hold the numbering characters.
    Left/right delimiter
    Specify the character that precedes or follows the numbering.
    Number chaining
    Specify whether you want the paragraph numbering of the paragraph to be preceded by the numbering of all higher paragraphs in the hierarchy.
    Example for number chaining
    with   without
    3.     3.
    3.1     1.
    3.2     2.
    3.2.1     1.
    Character string
    Specify the numbering format. The numbering can be assigned a different font or character format to the rest of the paragraph.
    Numbering type
    ARABIC
    Arabic numerals: 1, 2, 3.
    CHAR Fixed character: letter or numeral, entered in the field
    LETTER Letters: A-Z
    ROMAN Roman numerals: I, II, III, IV
    Depending upon the numbering type that you select, the following attributes may also apply:
    Fixed character
    Define the fixed character to be used for numbering. You should only make an entry in the field Fixed character if you have specified CHAR as the numbering type. Fixed characters include + - and o .
    Output length
    Enter the number of characters for Arabic numerals.
    Upper case
    Specify for letters or Roman numerals.
    check this link hope this will help you to solve your problem.
    http://abapprogramming.blogspot.com/2007/11/sap-script-controls-2.html
    thanks
    mrutyun^

  • How to set paragraph format in Pages?

    I'm a novelist.  I have had trouble setting and maintaining a paragraph format in Pages.  I've manually created a format then copied and pasted that format, but it doesn't maintain the indentations and spacing I want. 
    I've completely left Word, although it's quite easy to set paragraph format and indentation there.
    I want to write my new novel exclusively in Pages.  Can anyone help?
    Tom

    See Chapter 6 of the Pages User Guide PDF. You can download it from the Help menu.
    Once you have mastered Styles, you should be on top of this problem. You may have some specific questions on formatting along the way, and there are lots of experts here to help you.
    Jerry

  • Table where Sap-Script Paragraph formats are stored

    hey ABAP,
    does anyone know the table where the Paragraph formats are stored?
    Problem: we have a Form with 740 Paragraph formats, they all are of font-type courier, and now need to be either blank or Helve.
    and well i simply dont want to change 740 paragraph formats manually.
    thx for any ideas, hints

    arrrgh ok i´m trying to clarify my situation.
    I already know how to create and edit paragraph formats in SE71.
    Those 740 Paragraph formats have been created by myself.
    But now i need to make a change of the Font type to all of them.
    you sureley can imagine that i dont want to edit 740 paragraph formats manually piece by piece.
    thats why i was asking for a table where they are stored, so i can write a small report which changes that one field for me in ALL my pareagraph formats.

  • Smartform Style paragraph formats - Number Chaining not working

    Hi
    I have created two paragraph formats L1 (level 1) and L2 (level 2). L1 is the top outline paragraph and L2 is its child. They both have a list numbering type of 1, 2, 3, ...  I have tried ticking the Number Chaining radio button on L1 & L2, and on just L2, but can't get the L2 to output with L1's number.
    I.e.
    Should be:
    1  TESTL1
    1.1 TESTL2
    Outputs as:
    1  TESTL1
    .1 TESTL2
    Also after an L2 occurs the numbering is restarted, for example.
    Should be:
    1  TESTL1
    1.1 TESTL2
    1.2 TESTL2
    2. TESTL1
    2.1 TESTL2
    Outputs as:
    1  TESTL1
    .1 TESTL2
    .2 TESTL2
    1 TESTL1
    Any ideas, I have tried various ways but no success.
    Thanks in advance for your help.
    Daniel

    Hi
    Solved. The problem is just a visual one. When you look at the output in the Text tab of the Text Module the output is incorrect. When you output through print preview etc, it is output correctly.
    Bug for SAP to fix.
    Thanks
    Dan

  • Unknown Paragraph format HT

    Hi Friends,
    I have a problem in the smartforms... we created the smartforms for the schedule lines when we release the scheduline from MM side the system is generate the smartforms in the processing log one warning msg is coming saying "Unknown Paragraph format HT". But in the style or in the smartform we dont have the format HT.
    Kindly suggest on this.
    Thanks and regards,
    Satish

    .

Maybe you are looking for

  • Web services in OBIEE 11g

    Hello, I have few Questions on webservices usage in OBIEE 11g(11.1.1.7.0). Can we use/invoke the web service in OBIEE 11g?If yes,please provide me details. If we install OBIEE 11g ,can we get the BI publisher as free product or do i need to configure

  • How to access(connect) BI Data in webdynpro for java applications

    Hi , is there any way to access and display the BI data in portal using webdynpro for java applications like we did in Visual composer. if not how to integrate the BI data in webdynpro applications ? Regards, Govindu

  • Image files email and upload problem

    Emails I send through mail are arriving very compressed. However when I try to upload them onto my webspace they are expanding. For example a jpeg 600 x 600px, at a resolution of 72ppi and a file size of 308kb: When emailed through Mail it arrives as

  • When I use a third party charger, my iPhone beeps

    I bought a third party charger for my iPhone 5.  Within 5 minutes of attaching, the charging icon oscillates between its regular size and a larger size.  When the  icon is in its enlarged state it beeps.  Any ideas?

  • Where are Adobe Reader and Firefox ??

    Maybe I lack understanding in Mac environment, but I downloaded (and tought I had installed) Adobe Reader and Firefox, but can<t find anything else than rhw .dmg files (instead of the normal icons for the installed programs) on the desktop. How ca I