Dynamic Text translation in Smartforms

Hi experts,
   I want to translate a smartform from EN(English) to DE(German).I achieved this through SE63 transaction.It is working fine,but I have three dynamic values passed to the smartform as (&One&,&two&,&three&). These three values are always displayed in EN(English).How to translate these dynamic values also in to DE(German).
Every thing is based on log on language.
I searched in SDN but didn't hit any result. Help me on this issue experts.
Thanks&Regards,
Karthik.

goto so10, give a name to text
give text id as 'ST'
object as 'TEXT'
and language as u want.
and create
now in ur smartform-> create a text node of type include text and provide the same details ie name, textid, object and language.
see page 46 in this pdf doc for more help on include text(sapscript texts)
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
Edited by: kartik tarla on Jan 31, 2009 1:35 PM

Similar Messages

  • How to dynamically include textelement in smartforms

    Hi Experts,
    I need to print payslip using smartform and need to take the values from pay99_result.
    I took all the values and filled in the internal table and passed to smart forms, but the requirement is when ever particular wage type is given for an employee only that wage type only printed in the smart forms output. we have 87 wage types.
    I designed the layout using table in window and created several table line, in the salray details table line rows values descripiton should come dynamically according to the particular month credited(affected) wage types.
    This is the salary details line item .
    desc amount annual semi annual deduction amount
    textelement1 textelement2 textelement3 ... . . . .. ...
    Inn single text element multiple coloumn need to come.
    using this text element respective values should come dynamically, i tried condition in the text element , but if condition failed (no values for wage types) whole coloumn is not displaying but for me only that row should not printed.
    Any one please guide me how to approach on this issue and how to pass the text element value dynamically ???
    With Regards,
    Thanesh

    HI,
    why dont you make use of Dynamic text concept in smartforms..which is fits in your requirement.. to make use of it..
    on a window. right click and choose Text.. it will take you to text window..in that choose text type as D Dynamic text...
    I hope this answer will help  you..
    Regards,
    Kiran

  • How to dynamically replace variables in SMARTFORM texts based on item data?

    Hi experts,
    I'm currently designing a confirmation of order using Adobe PDF forms. The general layout with tables, pictures and texts was not big deal.
    But one tiny bit doesn't work and I'm becoming more and more desperate about it.
    We need various free texts for our pdf form. I created the texts using smartform texts. Some of these texts need to be slightly dynamic, so I added some dynamic fields in it.
    For example:
         "The material is currently out of stock.You can expect shipping around week &num_week&."
    To replace the dynamic field &num_week& in my interface, I read that I have to name the dynamic field exactly like the corresponding field in my interface. In my case this would be now:
         "The material is currently out of stock.You can expect shipping around week &SLS_PRT_COM-ITEM_DETAIL-ZZ_EXTRAFIELDS-ZZWEEKNUM&."
    To see the text on my form, I added a text object with type 'text module' and the proper textname. Of course I'm able to insert text on my form, save and activate it without problems. But if I want to print the form, nothing happens as the print program exits with an error code.
    After some hours I found out that this problem only occurs if I'm trying to replace the dynamic field with a field from the item table. Using a field from head details or globals like sy-mandt works like a charm.
    So my question is: Is it possible to use item data to replace dynamic fields of a smartform text?
    Greetings and thanks in advance!
    André

    Hi
    Have a look at the links below:
    LiveCycle ES2 * Adobe LiveCycle Designer ES2
    Using floating field in Adobe Forms to display text paragraph with dynamic variables in between
    After adding the floating field it will apeare in the hierarchy pallet above or bellow the text field.
    Good luck
    Shai.

  • Problem related to language translation in Smartforms using Text Module.

    I have done translation of text module from English (enUS) to Spanish (esSP) using SE63. In text node I have used this translated text module. Language of the node is selected as sy-langu. So when I logged into System in English language I should be able to see the output in English but it giving output in Spnaish. While debugging sy-langu value is 'E'.

    hi,
    You have a text in english and you have maintained the translation in Spanish, mention the original text in the SmartForm. in this way when your login lang is EN you will see that text in Eng and if the lang is Spanish you will see the translation in the output.
    Thanks.

  • Language translations for dynamic texts

    Hi
    can somebody pls help me on doing the translations for dynamic texts, for eg, I am getting some values into a checkbox group and dropdowns  at runtime , these values are not stored in any .xlf files,
    pls let me the know the procedure of translating these dynamic values.
    appreciate your help
    Thanks
    RAD

    Hi poojith,
    thanks for your response,
    how can I use this message pool in my code. I know the message pool has been used for warning messages and can be called in the application as wdcomponentAPI.getmessagemanager.reportWarning (.....)..
    but in my case it is a checkbox group where fields will be fetched from a database dynamically when we run the application
    for (int i = 0; i < abcprp.length; i++) {
              ICheckboxGroupElement theElement =     wdContext.nodeCheckboxGroup().createCheckboxGroupElement();
              strName = abcprp<i>.getName().toString();
                    theElement.setFieldNames(strName);
    wdContext.nodeCheckboxGroup().addElement(theElement);
    I have got more than 50 fields which I will get from the above code..
    can somebody pls explain me in the above scenario hw can we use the translation
    Edited by: RAD on Sep 15, 2010 10:03 AM
    Edited by: RAD on Sep 15, 2010 10:21 AM

  • SE63: Smartform Text translations Issue.

    Hi,
    I am working on ECC 5.0 for the first time and having a weird issue with Smartform text translations using SE63. After saving the text translations using SE63, When I change & activate the smartform tranlations are gone.
    Can someone please throw some light on this issue?
    Thanks,
    Rajesh.

    Hi Rajesh,
    Maintain the translations.Then go to smartforms transaction in that particular language's login. Type the name of smartform and from top menu,click
    <b>Smartforms-->Generate</b>. If ur translations are correctly mentained,then it will get generated successfully.Then when u again activate ur smartform u will not lose ur translations.
    But if u change any particular window and activate ur smartform then also u will lose translations for that particular window.In that case u hav to maintain once again,the translations.
    Reward points if this answer is useful.
    Regards
    Rudra

  • Smartforms - Handle dynamic text

    Hi All,
    I have a smartform where in the "header" window is defined a "template1" which fields are: %graphic2, %text1, %text2, %text3 and %graphic3.
    I need to change the text of the "header" if the plant changes. First of all, now I have 3 text elements but I wont to replace these text by only one text.  In other words I need to set a condition for showing 3 text elents or 1 text element with a new text.
    My doubt if about the definition and use of a text module (tcode smartforms) and how to link it in my smartforms without to remove the structure "template1".
    Which is the best way to proceed?
    Thanks in advance for your help.
    Regards,
          Giovanni

    Hi,
    I have understood the way to display the text under a condition (i.e. plant) but I don't need to print a string but a complex text on many lines and with words in bold and other words in different font and size. I wish to display dynamically the right text.
    For example, is there the possibility do define a "global" text and outside the smarform? Then is it possible to set this text dynamically in this way:
    <template name/node>-<name of the text field> = Z<text element defined globally or outside the smartform>
    Should be an easy way for me.
    Any help will be well appreciated.
    Thanks.
    Regards,
          Giovanni

  • Can I put Chinese and English characters in the same dynamic text box?

    I'm translating a game into several different languages, one of which is Chinese. I've noticed that in a dynamic text box where English characters are included also, they aren't displayed when the .swf is exported. The font is embedded in the document with all characters selected. It seems like whatever language-character is first displayed in the text box, the other language cannot be. For instance, if there are Chinese characters first, then English, the English will not display, and vice-versa. Any work around on this? I am using Flash CS5 and Actionscript 2.0. Thanks!

    Kglad - I'm not sure I follow your instructions for the fix. I assume you want me to set the _visible property to false via Actionscript ( textInvisible._visible = false; ). What is the purpose of this second text field - does it need any specific content in it to function? It doesn't seem to work to fix the problem but maybe I'm misunderstanding.

  • Pls explain how to add standard text in sapscript & smartforms

    Dear friends,
    pls explain how to implement standard text into sap script and smartforms.
    in how many we can do.
    and what is diff between include text & text modules in smartforms.
    how we can translate into multiple languages.
    Regards
    Jagadeeshwar.B

    hi,
    for the include text goto tcode so10.
    for changing the smartform and scripts use there methods..
    1. goto se63>translation->abap objects->other long texts->FS Forms and Styles---> for scripts use Forms
                                           for smartforsm use SAPSmart form
                                           for styles use Styles
    2. goto se71->utilities->original language.---> source lang
    (for scripts)                                                     target lang
    to include the include text created in the tcode so10 in the smartforms go to general attributes of the text element--text type> include text...
    regards,
    venkat.
    Edited by: venkat  appikonda on Mar 22, 2008 11:56 AM

  • Language Translation in Smartforms - SE63

    Hi All. I have succesfully translated a smartform from English to Portugues, but as soon as i have done text changes to my smartform and activate it, and done the translation for the changes, the previous changes dissappers and revert to the first/original translation,,,do i need to do anything when adding text after. Let me explaine with an example:
    Example: I have translated the word 'Date' the first time to 'Data'... everything fine. Now i change the word 'Date' to 'Date from' , so i ammend the translation, for 'Date from'  to' Data ex'...evrything still fine. Now if i change anyhthing, except text,in my smartform(eg:Name of a window) and activate the smartform....the translation revert back to just 'Data'..the original translation.
    Is there something i miss.
    Thanks in advance you all.

    Hi,
    This will happen when the translation is done through SE63. After activating the transaltion, if you make any change in the original form the translation will be reverted. The only solution to this problem is that open original form and SE63 simultaneously, make the change in the original form and activate both original form and SE63. Please ensure to keep opened the translation in SE63 before you make the change in the original one.
    Regards,
    Shanly

  • Dynamic text based on page number

    Hi Everyone,
    I'm trying to place a dynamic text on an hrform. The form is displaying wage types and when there are more than 2 pages, the values on the first page need to be summerized into a variable with the text subtotal in front of it. When we are on the last page, the text total with the total of all the wagetypes needs to be displayed. I tried to use the sfsy-page and sfsy-formpages variables to know on which page i am but the strange thing is that when i use in in program lines and i use debugger to look into the variable i get this:
    First page:
    sfsy-page = 1
    sfsy-formpages = 1
    Second page:
    sfsy-page = 2
    sfsy-formpages = 2
    But when i place it into a text element to test i get 1 of 2 on page one and 2 of 2 on page two. How is this possible?
    Also i want to display a subtotal of the displayed wagetypes per page. Anyone an idea how i can do that?
    Thank you!
    Lars

    Hi,
    The reason you get 1-1 ,2-2 in debugging is because, the pages are added dynamically,depending on the length of your main window.Which doesnt get captured initially,but can be used in text element.
    As far as totalling on every page and at the last page is concerned ,try teh following link:
    link: [http://wiki.sdn.sap.com/wiki/display/ABAP/Togetsubtotalsoneachpagein+smartforms]

  • Formatting dynamic texts

    Hi,
    in SmartForms I use dynamic texts to output information in the form. It works fine but I have to format some of them for a smaller or bigger font. SAP does not give any possibility to set the paragraph and/or character formats like in the case of text elements.
    How can I format my texts ??
    Thanks.

    Hi Jorge,
    It is possible to create paragraph format and character formats in smartforms.
    Go to tcode-SMARTSTYLES and create a style and then specify ur style in smartforms
    Globalsettings->Formattributes->outputoptions->style
    if ur copying predefined smartform the copy the used style into Zstyle and make further changes like ur own formata and use it...
    Thanks&Regards,
    Rama Krishna.

  • Dynamic character format in SMARTFORMS

    Dear Gurus,
    I want to make a dynamic character format in smartforms. I did it in SAPscript and success.
    what I did in program before passing to smartform :
    d_note = '<XX> dynamic text </>'
    and pass it to SAPscript and smartforms :
    &d_note&
    in SAPscript I made new character format XX as BOLD and UNDERLINED. it works for SAPscript. the output become  = dynamic txt
    unfortunately when I do this in smartforms, it is a fail although I have set new character format XX as bold and underline in smartstyles. the output become = <XX> dynamic text </>
    any guru has a solution for this smartform?

    Hi Sendy,
    You cant use tags (eg- <XX>) in smartfomrs like you did in sap scripts. Use your style in the smartform( form attributes) with all character formats and paragraph formats which you need. When you create a new text module in the smartform you will get two drop down lists for the paragraph formats and character formats in the top of the editor. Type your text there and highlight then choose 'XX'(or any other character format) character format from the drop down list.
    Hope this would help.
    Cheers,
    Jeewana

  • Dynamic Textid Include in Smartform

    Hello Everybody,
    i want to include text in my smartform
    the text id name will be number of my billing document no which will be dynamic.
    in sapscript we can insert this way
    INCLUDE &ZTDNAME& OBJECT TEXT ID ST.
    but if in smartform i had try same but not working
    can anybody pls suggest me what will be the paragraph format for include text id in smartform
    and why my text id's text not coming..

    U might have created a text element and wrote this sapscript command.
    In smartforms this is done differently,
    First create a text.
    Now select type of text in the drop down as include text.
    Now it will ask u for text id and object language etc.
    check this smartform document
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
    see page 46 for include texts
    Edited by: Kartik Tarla on Jun 13, 2009 12:51 PM

  • About texts mantainance in smartforms

    Hi all
    I used SE63 to translate a smartform from one language to another. Now I need to modify something in my translation, but if I use SE63 again, it asks me for starting and destination language; I set destination language the one I want to modify, but when text is shown, texts is not the one I put and that can I see when printing the form in that language, but it's in english even if I did not put EN in any field (I think it's a default). The question is, how can I maintain texts already existing?
    thanks in advance to anyone will help me
    gabriel

    hi
    when u use SE63  , it will always asks u for source & destination language  and then u EDIT.
    all u r source langauge information will be available in the top box and what ever u want to change u can change in the below box by insertiing u text for that corresponding text .
    http://wiki.sdn.sap.com/wiki/display/ABAP/TranslatingTaskDescriptionusingSE63
    surya

Maybe you are looking for