SAPscript paragraph format question

I have a paragraph format called 'ZX' in first sapscript. I am able to enter into graphical PC editor in this sapscript. I am using this paragraph format while defining a address in one window.
I also have the same paragraph format 'ZX' in a second sapscript and using it for defining a address. When I tried entering into graphical PC editor for this second sapscript, it says 'Unknown paragraph format ZX' !
Is there any place where we have to assign paragraph format to the sapscripts? I am confused why this error is coming for the second sapscript.
Thanks in advance for your input,
Krishen

I Guess You have to define the paragraph format for the second script in the second script only..I dont think you can use the pragraph format of one script in the other.
- Guru
Reward points for helpful answers

Similar Messages

  • What table stores the SAPscript paragraph formats for a form.

    Does anyone know where the paragraph formats are stored for a SAPscript form.  I can view them using SE71, but what I am looking for is the table where all this information is stored.
    Thanks.
    Bill Lomeli

    Hi Bill,
    Check table "DOKHL" .
    ID = 'DE' (Paragraph ID)
    LANGU = SY-LANGU
    OBJECT = 'TDPARAGRAPH'.
    TYP = 'E'.
    *------Sample code -
          SELECT SINGLE *                       
            FROM  DOKHL                         
            WHERE LANGU      = LANGU            
            AND   ID         = ID    "Paragraph ID"             
            AND   OBJECT     = OBJECT      "value :TDPARAGRAPH"     
            AND   TYP        = TYP        'value :E'.       
    Lanka
    Message was edited by: Lanka Murthy

  • Sapscript - Paragraph Format - Tab space Issue

    Hello Experts,
    I'm facing issue with the Tab Space Alignment in the Paragraph Format.
    I'm giving these values for a Paragraph Format Tabs:
    Tab  Position:
    1: 0,10 CH
    2 :3,50CH
    3: 6,50CH
    12: 76,00CH
    Inspite of reducing the TAB position for 5th Tab; it is still aligning a bit far.
    And whenever the Description (Field 3) is longer; all the Values are pushing towards right.
    Alignment is not getting adjusted. How can I make this as Fixed?
    Here's the screenshot:
    Please advise.
    Thanks & Regards,
    Sowmya

    Hi,
    For Standard Text, Paragraph format will be applicable from Standard Styles which will be creating in Transaction code SE72 and apply that Paragraph Format to Text in Standard Text transaction code SO10 then the Paragraph format will be applicable. And transport the Created Style in SE72 to Quality and Production Systems.
    Apply the Created Paragraph format created in SE72 to text by below steps:
    So10>Provide text>Click on CHANGE>Click on MENU FORMAT>Change Style->Double click on STYLE created in SE72-->Apply the newly created Paragraph Format to text in So10
    Edited by: Venkatmani29 on May 2, 2011 12:43 PM

  • Migrating from Sapscript Paragraph Format to Smartforms Style

    There are some tool to export paragraph formats?
    Thank you

    Hi,
    Goto SMARTSTYLES Tcode..in Menu..
    Utilities--->Convert SAP Script Style..
    and Give...
    From (SAP Script Style)----
    To(SMART Style)----
    Message was edited by:
            Vishnu Reddy

  • Character/Paragraph formatting question

    I have looked through the specs for CharacterFormat and
    ParagrahFormat and I cannot find the concept of changing the
    background color of a FlowElement.
    I have gone through the adornment code samples and understand
    that I can create grahic objects at specific locations, but I
    consider this a very poor replacement for actual styling.
    If anyone has some thoughts or suggestions I would appreciate
    it.
    Thanks,
    Tim

    We recently added support for backgroundColor,
    backgroundAlpha. It is currently only implemented for spans in
    build 370. Here’s a TLF markup snippet showing usage.
    <?xml version="1.0" encoding="utf-8"?>
    <TextFlow lineBreak="inherit" paddingBottom="inherit"
    paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit"
    verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="
    http://ns.adobe.com/textLayout/2008">
    <p>
    <span backgroundColor="16777011" fontSize="48">Testing
    </span><span backgroundColor="16777011" fontSize="48"
    backgroundAlpha="0.4">background</span><span
    backgroundColor="16777011" fontSize="48"> color.</span>
    </p>
    </TextFlow>

  • 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.

  • 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

  • Paragraph Format / Character Format for Variable address in SAPSCRIPT

    Dear All,
       I am trying to print variable address for ship-to-party. But the address is variable address for different vendors.
    The contents like
    /:  ADDRESS PARAGRAPH AS
    /:  TITLE    &LFA1-ANRED&
    /:  NAME     &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&
    /:  STREET   &LFA1-STRAS&
    /:  POBOX    &LFA1-PFACH&  CODE &LFA1-PSTL2&
    /:  CITY     &LFA1-ORT01&, &LFA1-ORT02&
    /:  POSTCODE &LFA1-PSTLZ&
    /:  COUNTRY  &LFA1-LAND1&
    /:  REGION   &LFA1-REGIO&
    /:  FROMCOUNTRY &T001-LAND1&
    /:  ENDADDRESS
    My question is, How to assign Paragragh format or character format to the above code?
    Your reply will help alot..
    Thanks and waiting
    Regards
    Anukul

    hi,
    in ur code u already gave
    /: ADDRESS PARAGRAPH AS goto paragraph formats n define or make the required changes for the paragraph format AS.
    click on character formats n define/change the character formats as breakpoint has mentioned.

  • Simple question in Paragraph format / Chracter format of FORMS?

    Hello
    I am enhancing a existing custom SAP Script by appending an additional line to a my_static_text (its not a standard text, it kept inside the SAP Script as a static text).
    The current text looks like below, 
    existing    text   1
    existing    text   1
    After adding my addiitonal line, the text looks like below,
    existing    text   1
    existing    text   1
    my           additonal    line
    My requirement is, REDUCE the SPACE between the WORDS of a line, it should look like below
    existing text 1
    existing text 1
    my additonal line
    I checked paragraph format's FONT, but, not getting any clue that What & Wher i should make change to either paragraph format or character format? is it OUTLINE or is it LINE SPACING?
    Thank you

    Hi
    The spaces can be set by pressing the keyboard for the space of course, but if you need the texts of the lines are stacked it's better to use the TAB.
    The TAB are insert by a double commas ,,
    So
    existing    text   1
    existing    text   1
    If the tabs are used here, you can see them in the sapscript:
    existing,,text,,1
    existing,,text,,1
    So how the text is written?
    Max
    Edited by: max bianchi on Oct 5, 2011 5:08 PM

  • Unknown Paragraph format warning in SAPSCRIPT

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

    The second warning is probably due to a statement something like,
    /: INCLUDE &TEXTNAME&
    As the SAPscript checker cannot find the name of standard text it cannot be certain it will exist.  Provided the variable is populated with a valid name at runtime there will be no problem.
    The message can be ignored.
    Regards,
    Nick

  • How to create paragraph format in smartforms

    Hi All,
    Let me know how to create paragraph format in smartforms?
    Thanks&Regards
    Mahesh

    Hi
    When we create a smartform we can see in <b>global settings</b> , <b>form attributes</b>.
    In <b>form attributes</b> we set the over all style of the smartform. Goto <b>form attributes</b> and open the tab <b>output options</b>. Here you can see the <b>Style box</b>. In this style box we enter the smartstyle created in transaction code <b>smartstyles</b>.
    Open transaction <b>smartstyles</b>.
    Create a new style.
    Upon creating a new style you will see 3 folder structures under style name.
    1. Header data
    2. Paragraph format
    3. Character format
    To create paragraph format right click on the paragraph format node and click Create Node. Give it name. Now you will get a screen with 4 tabs.
    Indents and spacing
    Fonts
    Tabs
    Numbering and outline
    Here you can provide the look you want.
    Now add this smartstyle in your smartform's form attribute.
    You can also provide individual smartstyles to each text element you create by giving the name of smartstyle in its output options tab. Each text element has a individual output option tab here you can give any smartstyle.
    Click on the general attribute tab of any text element and give the paragraph format directly or by going to SAPScript editor mode.
    Any more questions you can ask me directly mailing me.
    Please do reward points if satisfied.

  • TAB in paragraph format for Script

    hi,
    i am doubt with the tabs for paragraph format in the script. how actually it work? i try to make change on the tab, but some time even i put a larger value, the space in the output will become smaller, can anyone explain to me how the tab actually work?
    thanks

    Thanks you very much.
    but one more question, let say, if i have 3 tabs for an output.
    HARLO,,MY,,WORLD,,!
    any i configure the tabs as, 20, 30,15 all in CH
    so after the "HARLO, it will have 20 CH of spacing, follow by "MY", 30 spacing, and 'MY" 15 spacing, end with "!"?
    it this the way it works?
    or it works in accumulate way, which include the text display as well?
    i found in the forum, say that, it will fix the length of a field( if i display a field), even there is no any value in that field. so how does it work on this?
    alot of question very thansk for the temper.

  • Multiple character formats in a paragraph format

    Hi. I've searched the general discussion and did not find this issue.
    I have one paragraph format called Bomb that consists of a Wingding character (M) in the Numbering tab that prints a little black bomb in a side head. I combine with format with two other paragraph formats called Caution and Warning. These formats are in column and use a red, bold autonumber (CAUTION, WARNING) followed by a couple of spaces--the text goes immediately after the spaces.
    My bosses now want the bomb symbol and the CAUTION/WARNING word in the side head, with the text in column. I can't see how to combine that Wingding character with the regular Verdana word. I had to do something similar with my Note format, except that I put the word "note" by itself as a side head and created a format to follow it called NoteAft for the text.This way, I have a line with the Note format, followed by a paragraph return, then the NoteAft format for the text.
    I'd rather not have to use three formats to replace the existing two for Caution/Warning, so I hope y'all can help me figure out how to handle this thing.
    I appreciate your suggestions! BTW, I'm using FM 7.2 but will want to switch over to 9.0 when my bosses agree.
    Dimi Everette

    OK, I managed to answer my own question!
    Bomb para format: tab at 0.2 cm (not sure that's required...), Next Para tag is CAUTION; default font is Verdana; Run-In Head with no default punctuation; Numbering tab has Autonumber format checked, M in text field with Wingdings char format; defaults for Advanced and Table Cell tabs.
    I press Return and CAUTION appears.
    CAUTION para format: no tabs, Next Para is NoteAft; default font is Verdana; Side Head--Alignment: First Baseline; Numbering tab has Autonumber format checked, CAUTION in text field with RedBold char format; defaults for Advanced and Table Cell tabs.
    I press Return and type the text of the CAUTION in the NoteAft style.
    I'm going to change that Para tag to BombCaution and create another para tag with for BombWarning and be set! Of course this won't work unless your master page uses a column with room for side heads.
    If you know of something more elegant, please pass it along.
    Dimi

  • Paragraph format drop-down not opening automatically with F9

    Hello,
    I use FrameMaker 9.0p237 on Windows 7. When I am exiting a document and press the F9 key, the paragraph format drop-down appears in the bottom left of the window. However, the drop-down does not open automatically. I must manually open it or type in the name of a paragraph format. When I used Windows XP, it opened automatically and I could easily see what options I could choose when typing, or just click one. This is slowing my process at editing because it is tedious to manually open the drop-down. I can't easily type the formats' names because I do not yet remember them by heart. Please see attached screenshot of area of window in question.
    Is there a way I can get this drop-down to open automatically like it used to? I sure hope so. Thank you.

    Thanks to everyone to responded to my question... In summary, I would categorize this as a bug in the product.  It really slows down my ability to edit quickly.  I'll work more toward memorizing the paragraph format names so I can simply type them.  Thanks again.

  • 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

Maybe you are looking for

  • Where can I purchase a replacement key?

    My 'O' key has a broken. One of the plastic hinges in the back of the key is broken. Where can I purchase just the 'O' key for an iBook G4?

  • IPhone 3G WiFi Dropping, Signal Stength Still High, Extreme and DHCP?

    I've been having problems with my iPhone 3G WiFi (I had the same with my First Gen iPhone too), where it lost the ability to connect to the Internet, although the WiFi connection was still active and showing full signal. A reset of the Extreme and a

  • MacBook Pro Charger Issue

    My MacBook Pro died and when I plugged it in the light was green as if fully charged rather than orange. I can't get it to turn on but when you plug it in it makes a brief noise as if it's trying to charge and then stops again. It did actually turn o

  • Interlaced DVD on (Progressive) HDTV....

    I recently (finally) upgraded to an HDTV, and maybe I'm just looking for things, or things are simply more noticable, but...... You know how if you export to DV-AVI, and then watch it in Windows Media Player, it looks all horrible because the file is

  • Please Help with ORA-01031 - try to connect as sysdba

    The log of the error is as follows: D:\oracle\product\10.1.0\Db_ra>set oracle_sid Environment variable oracle_sid not defined D:\oracle\product\10.1.0\Db_ra>set oracle_sid=ra D:\oracle\product\10.1.0\Db_ra>connect "/ as sysdba" 'connect' is not recog