Translate the harcoded text written inside Script Editor in Adobe forms

Hi Experts,
In Adobe form, I have hardcoded a text inside the Script Editor.
Now i need to maintain translation for it in another language.  Is it possible?
I have checked option Goto -> Translation. But that text is not available there.
Kindly give me some suggestions!

I know what you are trying to do and that is NOT the way to handle it. haha This is EXACTLY why I never put texts to display within my script (Javascript). The better way to do it is this.....have a hidden text element on your form. Then show/hide it using your script. Since it is PART of the actual form, you can then translate it like you do anything else on the form. Works great!
If you absolutely HAVE to do the text as a pop-up or something "off form", then there are ways to do it very similarly but takes a little more thought/work (ie. have your script read the text element's text and use that in your pop-up...again, since the text element is ON the form, you will get the correct translation.)
Hope this helps!

Similar Messages

  • How to display the Standard Text (SO10) based on condition in adobe forms

    Hi,
    I have created the Standard texts (through SO10 tr.code) of 4 plant addresses. In the Layout of adobe form, i want to display any one plant address based on the plant number (as a input) and the rest 3 standard text need to be hide. i tried in Form clac to hide, but i unable to succeed. could you please help me, in this regard. 
    Thank you.
    Regards,
    Mallikarjuna

    Hi,
    You can add all the 4 text in your context menu and create an condition for text.
    Example: (LS_HEADER is a structure only for example, you need to decide based on your own form interface)
    Text_1000                                Condition -> LS_HEADER-WERKS = 1000
    Text_2000                                Condition -> LS_HEADER-WERKS = 2000
    Text_3000                                Condition -> LS_HEADER-WERKS = 3000
    Text_4000                                Condition -> LS_HEADER-WERKS = 4000
    The text satisfyling your condition will only be printed and you can assign these text to the same block in PDF form.

  • Problem in long text in SAP script editor

    Hi ,
    i am maintaining long text in SAP script editor , when i am trying to change the long text in SAP script that changes are not reflected in print preview ,for example when i am giving tabs in the script then in print preview of the PO these tabs are displayed as , , ( comma) , and underlines are not appearing in print preview.please help me on this.
    Thanks and regards.
    Rajeshwar.

    hi
    you have to install the correct printer which supports the displaying the drawings and objects/

  • HOW TO translate the address text in smartforms ?

    hi!
       I want to translate the address text  from english description to Chinese description in smartforms, could you tell me the detail process about it,  I need your help .
       thanks in advance!
      regards
      yi zhu

    To translate text from English to chinese  use http://babelfish.altavista.com/
    Then after translation go to SE63
    on the top menu - click on translation - ABAP objects - Other long texts - Forms - SSF Form and styles - SAP Smartforms.
    Open your address module and paste the chinese translation and activate.

  • Functionality to Translate the Table Texts??

    Hello Gurus.
    Iam translating Payment advice form from EN to FR language USING se63.
    But in the source text i found one Table Text. Here i have to translate Payment advice into French.
    But this Payment advice text they are getting it from Table .Can any one explain how to translate the Table texts.
    Regards,
    Shiva.

    Hi
    If it is a dictionary field and then dictionary will take care of the translations.
    Regards
    Neha

  • Problem in opening layout editor in adobe forms

    Hi,
    There is a problem in opening the layout editor in adobe forms(T.code SFP).
    Eventhough I  have installed Adobe livecycle designer 8.0 and adobe acrobat reader 9.0.
    It is showing the error as " The forms design tool for developing the form layout could not be started; either it is not installed or there are errors in the installation".
    Suggest Me.
    Moderator message: please have a look in the dedicated forum for Adobe forms.
    Edited by: Thomas Zloch on Jan 15, 2011 9:49 PM

    HI Jaydeep,
    Thanks for reporting the issue. Is it possible for you to share the pdf , it is possible that the document is corrupt.  You may share the pdf at [email protected]
    Thanks,
    -vaibhav

  • Text Field value display twice in Adobe Form.

    Hi Experts,
    I want to display a text field value twice in a ADOBE FORM but it only display at first occurance of the text field.
    Please suggest me possible solution.
    Regards,
    Abdul

    Why don't you have two different text fields in the interface and bind them separately at the two different places in the form. In the driver program you can control the value being passed to be same for both the fields.
    Regards
    Ranganath

  • Problem with resource bundle messages written inside script of jsf included

    Hi,
    I have a main jsf page with the name Details.jsp.In this page I included Contacts jsf page.I am using resouce bundle for my application.I written all the output text tags with this resouce bundle keys.And I written the Details main page javascript alerts with this resource bundle correctly.But the problem is,I am having script alrts in my included jsf apge i.e. in Contacts page.When I write the script alerts with the resource bundle keys,it is not displaying properly.
    ---------------------------------------------------------------------Details.jsp--------------------------------------
    <f:loadBundle basename="Details_en" var="msg"/>
    <f:view>
    <head>
    <script>
    function saveFn()
    var d=document.getElementById('dform:dinputtext').value;
    if(d=='')
    alert('<h:outputText value="#{msg.requiredValidationMsgkey}"/>');
    return false;
    if(emailValidation()==false)
    return false;
    </script>
    </head>
    <body>
    <h:form id="dform">
    <h:outputText value="#{msg.nameHeader}"/>
    <h:inputText value="#{Bean.name}" id="dinputtext"/>
    <jsp:include page="/Contacts.jsp"/>
    <h:commandButton value="Save" onclick="if(saveFn()==false) return false;" action="#{Bean.saveAction}"/>
    </h:form>
    </body>
    </f:view>
    -------------------------------------------------Contacts.jsp----------------------------------------
    <script>
    function emailValidation()
    var em= document.getElementById('dform:cSubView:cemailtext').value;
    if(em=='')
    alert('<h:outputText value="#{msg.emailValidationMsgKey}"/>');
    return false;
    </script>
    <f:subview id="cSubView">
    <h:inputText value="#{CBean.email}" id="cemailtext" />
    </f:subview>
    The alert message in SaveFn is getting appeared coorectly.But in the function emailValidation is not geting dispalyed correctly.It is appearing as normat output text in the page,but not as an alert.

    Thanks for the reply.
    But I want to do some validations using javascript not only the required validation.
    In my application 5 text fields and one command button are there .Depending upon combination of 2 or 3 text field values, I have to get the values when I pressed command button.
    If I use the h:messages for validators,the conversion error is occurring when the text field takes wrong data.So it is going to give incorrect results when I press the command button.Thats why I am using javascript.
    When user enters wrong data,I want to do validation using javascript and I want to display the alert message using resource bundle.

  • Unable to depoly Web Serivce for the source code written in other editors

    Hi all,
    I am planning to implement webservice with the following code. But I am facing few problems with this can some body help me with this.
    The code looks like this AND IS NOT WRITTEN IN Jdeveloper BUT EDITPLUS
    package package1;
    public class Sum
    public int getSum(int a, int b)
              return a+b;
    package package2;
    public class Sub
    public int getSub(int a, int b)
              return a-b;
    package package3;
    import package1.*;
    import package2.*;
    public class Mul implements TestInterface
         Sum sm = new Sum();
         Sub sb = new Sub();
    public int getMul(int a, int b)
              return sm.getSum(a,b)*sb.getSub(a,b);
    public static void main(String [] args)
              Mul ml = new Mul();
              System.out.println(“The result of (3+6)*(3-6) is “+ ml.getMul(3,6));
    package package3;
    interface TestInterface extends java.rmi.Remote;
         public int getMul(int a, int b) throws java.rmi.RemoteException;
    I have written this in editplus. Not in Jdeveloper.
    Now I want publish getMul() as web service using Jdeveloper.
    I have created a new application work space. And from File--&gt;New
    I have choose project from existing source and imported “package3”.
    At this stage it was unable to find the class files Sum and Sub so I placed Sum.class and Sub.class in Appliction1-Project1-classes-
    Now the Mul class did not have any errors and it compiled fine. When run it gave the correct output.
    Using the web service wizard I was able to generate wsdl file , deployment descriptors etc.
    The problem I was facing was form this stage when I am trying to deploy it on to a standalone oc4j server it is not able generate the WebServices.war file and hence is not deployed on to the server.
    With the same code written in Jdeveloper everything is working fine.
    My doubts are
    1)     why is it not able to generate WebService.war file?
    2)     It is giving some ClassNotFound exception during the deployment. But when compiled and run its giving the correct output.
    3)     Even when everything was written from within the Jdevelper it did not include Sum.calss and Sub.class in WebSevice.war. Is there any way we could mention during its (WebService.war) generation , the class files to be Included.
    The other issue is how to add an existing source code to already existing project. In my case Once I have imported package3 I also want to import package2 and package1 in different steps.
    I thank in advance for helping me.
    Raja Vamshi k Gopu

    Can you tell us what you mean by correct type of project?
    You can start with an empty project. Then, you have to create an "EAR file" deployment profile (New Gallery / General / Deployment Profiles).
    So when I deploy a J2SE module onto oc4j server should I specify the class path? If so where ? How can I solve this problem?
    Once you deploy your code into oc4j, it becomes a J2EE application. You don't need to deal with the classpath - just make sure that all the required code is included in your .war file. To do so, check the list of classes packaged under the deployement properties dialog.
    Can you send me the links of few articles where I can learn more about these kind of stuff?
    If you want to assemble applications without to use JDeveloper wizard, you have another option: using the WebServiceAssembler tool that is par of the oc4j bits will help you to do this from a command line promt, and will handle the J2EE packaging aspect for you.
    See online documentation (10.1.2): http://download-west.oracle.com/docs/cd/B14099_04/web.htm
    In the "Developer's Guide", chapter 9 is about "Web Services Tools"
    For JDeveloper J2EE samples, you can start by looking at the OBE: http://www.oracle.com/technology/obe/obe_as_1012/j2ee/index.html
    Hope this helps,
    Eric

  • Script Editor with Adobe Interactive Forms

    Hi Everybody,
    I have an issue (i think!) with the Adobe Interactive Form Editor in my NWDS.
    I need to use some scripts in my PDF form, and i though that the script editor will be helpful, but this is disabled.
    Somebody knows how to enable it?
    If I have to validate values or calculate values in the PDF form, is this the way?
    Thank You very much for Your help.
    Regards.
    SS.

    Hi SS,
    I am not sure what do you mean by "disabled".
    But for your information script editor is enabled only for UI elements like subform, input fields, Image field etc. When you open the form the script editor is disabled. When you select some element like subform, textfield etc, its enabled for that UI element.
    If this is not your case, please let us know what all elements you have on the form.
    Regards,
    Shubham

  • Standard text having '&ULINE&' not printed in adobe form????

    I have a standard text in so10 which is to be used in my adobe form .
    The standard text uses '&ULINE&' to print a line . This when used by script was interpreted and a line is being printed.
    But when the same standard text is inluded in the adobe form , it throws a runtime
    error saying that " Field '&ULINE&' does not exist".
    Could some one help me out how to get this standard text printed in adobe form.
    Thanks and Regards
    Tejaswi Surapaneni

    Hi Tejaswi,
    Have you checked this wikilink:
    http://wiki.sdn.sap.com/wiki/display/ABAP/UsingofStandardText%28SO10%29+inAdobe+Form
    Regards,
    Vaibhav

  • Problem with text formatting within a table in Adobe Forms

    Hi all,
    I have a table on a non-interactive Adobe form (which is a copy of the standard expense form PTRV_EXPENSE_FORM.  The table in ABAP has a text field with CHAR50.  On the form, the text field has a width which allows approximately 35 characters.  Therefore the text wraps onto a second line.  My problem is that the text is not formatted and words are just split randomly.
    For example:
    The fox ran across the fields and into the woods.
    would be output as:
    The fox ran across the fields and i
    nto the woods.
    How can the text be formatted to only output complete words?
    I have tried defining the textfield as text only and rich text, but nothing changes the output.
    Interestingly, even if I change the font size from say 10 to 8, the text is output the same, even though there is enough space for at least one more word on the first line.
    Has anyone else come across this problem?
    Thanks,
    Patricia

    Hi Syed
    The table is IT_RECEIPTS_ADD_INFO, field VALUE_CHAR.  In the form it is called Receipts_addl_info.
    I have just found out that the data is being re-formatted in the interface.  That caused the problem.  Many, many thanks for your help. 
    Best regards
    Patricia

  • Command lines in text module is not working in adobe forms

    Hi,
    I have a problem, I have a text module with variables and I placed it in Adobe form its working fine, my problem is I added a command line /: NEW PAGE in the text module, it couldn't trigger a new page at that place.Can anyone help me out in this regard.
    Regards,
    Manohar.

    Hi Manohar,
    Adobe wont support text modules with commands.
    Explain your requirement.
    pavan meda

  • Variable field in Text module which is used in Adobe forms

    Hi All,
    I want to use text module in my Adobe form to display text .
    Problem is that i want to insert a variable dynamically in text module i.e.
    My text is:
    For example : "In the period from &EMPLOYEE_DETAIL-PERIOD& you have not paid your tax:"
    Now EMPLOYEE_DETAIL is a structure in context of form with period as field .
    I want that data stored in this field should come in adobe,right now instead of data this text &EMPLOYEE_DETAIL-PERIOD& comes i.e. this is considered as text
    I tried this with SO10 by clicking on the "add" icon, i am getting a pop up screen with the following option. can you please help me which option to select and how to define the variable?
    Options given in pop up screen
    1. Symbols,
    2. Command,
    3. Text Element,
    4. Comment,
    5. SAP Characters
    6. Link
    6.1 Char Format
    6.2 Key
    6.3 Text
    if suppose i am using the wrong button please tell me where i can find this "add" button.
    Thanks and Regards,
    Karunakaran

    Hi,
    Use the floating field in Adobe.
    Use a  Static Text Field  and Insert the Field EMPLOYEE_DETAIL-PERIOD from your Data View
    Thanks.
    Uma

  • Standard text / Text module not printed correctly in Adobe forms

    Hi All,
    I need to print the dunning level text which is static. I have created text module and standard text with the same static text.
    In the content I have created the text with text module tyoe and given the text module name. Similarly I created the include text as well.
    But the text is getting printed continously, eventhough I have maintained as paragraphs.
    For Example: I have maintained text as    TEST1
                                                                       TEST2
                                                                       TEST3
    Now the same format shud be printed in the output. But  TEST1 TEST2 TEST3 is printed.
    Can anyone help me out how to print the text as in the above case and what is the reason for not printing in paragraphs.
    Thanks and Rewards,
    Karthik Ganti.
    Message was edited by: Dezso Pap - Moderator

    Hi Kartik,
    1. ead standard text by FM READ_TEXT.
    2. Read text lines content Read internal table LINES into wa_lines.
    Concat wa_lines-tdline into string separated by as CL_ABAP_CHAR_UTILITIES=>CR_LF.
    Bind that String to variable to text.
    That will display text as you create.
    Santosh

Maybe you are looking for

  • Join columns of different data types

    Can i join two columns of different data types in a single statement. Is there any cast or convert statement SELECT B~PARTNER AS RESP_GROUP FROM BUT000 AS B INNER JOIN CRMV_LINKPARTNER AS C ON BPARTNER_GUID = CPARTNER_NO. Here PARTNER_GUID is Raw 16

  • Linking mat doc info rec to PR, ensuring same material docs only

    Hi I have created a doc info record with object link to material master. Then I created a PR with the same material as in doc info object link. 1) First of all is there any way to automatically link the material level doc info rec to PR. If not how t

  • FF NOT restoring previous tabs. All settings confirmed correct. On Windows 7 - 64 bit

    I have three computers - side by side - all Windows 7 All set up with FF 5.01 Two computers operate on Win 7 - 32 and FF usually restores previous sessions. One PC operates on Win 7 - 64 bit and never restores previous sessions. I have confirmed the

  • What will happen if uninstall IE8?

        Hello, all:     As I posted before that IE8 is not supported for winXP, it always gives Error-Message. Now I changed the default browser to "firefox" or "chrome" the situation is much better.     If I now uninstall the IE8 in my OS, can I still u

  • IOS 7 imessage

    I have recently downloaded the iOS 7 but now my imessage will not let me send anything using my phone number. I have loggeed out of my apple ID but then my imessage wont work at all and i have un ticked my email adress but then only texts will send.