Interactive form - WD java issue!!

hi all
I have an interactive form where in the user fills in a costcenter number and clicks on a button inside the form. It hits the backend and fetches the data via an RFC. I have to show the data in the same form in the same page. However when i do it i dont see the data back in the form. But I see I have brought the data to webdynpro runtime ( i added a table to the view to see the RFC return which shows the data.). Is it due to a script error? The PDF doesnt seem to refresh too. What could be the reasons that lead to such problems and what is the solution?
regards
Lakshminarayanan.V

Hi.
Do you have the Interactive Form's property 'mode'  set to'updateDataInPdf'?

Similar Messages

  • How to create table in interactive form via Java Web Dynpro

    Hi,
    How to create table in interactive form via Java Web Dynpro ?
    Any online tutorial / example ?
    Thank you.
    Regards,
    Eric

    Hi Eric,
    Just choose the UI element Table from Form Library and drag and drop it on the form. now choose the no. of rows and columns and other settings you want about table from the wizard initiated through this process. This all is what you have to do to create the table. Now to bind it to the fields of the data source bind the individual colums to individual attributes of the node in the datasource.
    Hope it will solve your query.
    Regards,
    Vaibhav Tiwari.

  • PdfSource content of interactive form in Java Web Dynpro

    Hi All,
    I am using Java web dynpro with interactive form. When I display the contents of the pdfSource of the interactive form into a text file, I see the following which is not a true binary content. Could u please let me know why the content is represented in the form other than binary?
    %PDF-1.6
    %âãÏÓ
    153 0 obj<</First 973/Length 1717/Filter/FlateDecode/N 120/Type/ObjStm>>stream
    xÚ´XɎ 7 ý C"î ` p¼ lǃ™É) „¶D˂%õ Õšxþ>¯š¤ä‰›´/9±EV½*¾zÜd gŽyÍ Â0Á™0
    0000000153 65535 f
    0000000154 65535 f
    trailer
    <</Size 156/Root 1 0 R>>
    xref
    0 0
    trailer
    <</Size 156/Prev 32208/XRefStm 2120/Root 1 0 R/Info 3 0 R/ID[<991012CC1DD111B20A00FFBFDB48FD64><991077C51DD111B20A00060100000680>]>>
    startxref
    35372
    %%EOF
    Thanks & Regards,
    Jyoti

    Hi Naidu
    I have written the contents of the pdfsource to a file in the server using the below code:
    byte b[] = wdContext.currentContextElement().getPdfSource();
    File file = new File("C:
    Severance.pdf");
    long length = file.length();
    FileOutputStream os;
    try {
         os = new FileOutputStream(file);
         os.write(b);
         os.close();                         
    catch (Exception e)
         // TODO Auto-generated catch block
         wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("Some Exception "+e);
         e.printStackTrace();
    And i have added a File Download element in the Application and have implemented the below piece of code for it:
    IWDAttributeInfo attInfo = wdContext.currentContextElement().node().getNodeInfo().getAttribute("ctx_downloadpdfsrc");
    ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
    IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
    binaryType.setMimeType(WDWebResourceType.TXT);
    String fileName ="C:
    Severance.pdf";
    // path to the source file
    /* converts the binary file to a byte array and moves it to the text element */
    try
          File file = new File(fileName);
          FileInputStream in = new FileInputStream(file);
         ByteArrayOutputStream out = new ByteArrayOutputStream();
         int length;
         byte[] part = new byte [10 * 1024];
         while ((length = in.read(part)) != -1)
               out.write(part, 0, length);
          in.close();
                              wdContext.currentContextElement().setCtx_downloadpdfsrc(out.toByteArray());
    catch(Exception e)
                              wdComponentAPI.getMessageManager().reportSuccess(" !!!!!!!!!!!!! "+e);
                              throw new WDRuntimeException(e);
    Other than this, if we simply write this line in the code it will display the entire content of the pdfSource on the screen when deployed:
    wdComponentAPI.getMessageManager().reportSuccess(wdContext.currentContextElement().getPdfSource().toString());
    Regards,
    Jyoti

  • Internationalize Interactive Forms WebDynpro Java

    Hi all,
    I follow all the instructions in the How To Internationalize Interactive Forms by Adobe for WebDynpro Java.pdf guide and I got the Internationalize in my Development Environment, but when I transport my Web Dynpro App trough NWDI, the Internationalize does not seems to work.
    I already check this path in my production environment
    /usr/sap/sys ID/INSTANCE NUMBER/j2ee/cluster/server0/temp/webdynpro/public/wd project/webdynpro/Components/com.mycomponent
    and I got to see all the xdp files version (_en,_es,etc) for the Internationalize. Also the ADS configuration is set on the same server for my dev and prd environment.
    Also if we forced the Adobe Form to take the xx_en.xdp the form is displayed in English.
    Any Ideas for what could be the problem. 
    Regards,

    We Open an SSO note to SAP and they told as to set xx_EN.xdp, xx_ES.xdp, xx_DE.xdp, etc using the Locale in uppercase

  • I have to create an interactive form with java. How can i do it?

    I have to create an application that allows to create an interactive form like the option "Create Form" on google docs!
    What do you suggest me to create it?
    1) I think that I can use a DB to store the structure and then I can restore it with particular queries.
    Thank you for answers, I hope you can help me
    Best Regards,
    Silvio

    Savio85 wrote:
    Ah ok, I'm sorry.
    I also can use swing.
    For "requirements", I wrote an example to show a sample of "Interactive Form" (Google Doc -> Create Form).
    I'm sorry for my bad requirement,
    Best Regard
    Silvio
    Edited by: Savio85 on Jun 10, 2010 4:07 AMSo you expect people to sign up to Google so that they can see Google docs? Why should anyone make any effort to help you if you make this little effort to create any sort of problem description?
    Anyway, if you want to create an "interactive form" using Swing, there is only one thing to do: learn the Swing API. Lucky for you there is a great online resource for that:
    [the swing tutorial|http://java.sun.com/docs/books/tutorial/uiswing/]
    Good luck!

  • Populating Drop-down List in Interactive Forms for Java

    Hi,all
    I need to populate a drop-down list in Interactive Form.
    I tried to do it by using Dynamic Properties of the drop-down
    list,but didn't give nothing.At the same time I have successfully
    populated a simple drop-down list(on webdynpro view),which I
    replaced near my InteractiveForm.
    What may be the problem?
    Regards,
    Michael

    Use the DDL from the Web Dynpro pallette. Bind the same/ similar attribute of the DDL you used in the web Dynpro view in the interactive form also... this should work..
    Thanks and Regards,
    Anto.

  • Adobe Interactive Forms in Java WebDynpro opens as separate app

    Hi,
    I created a WebDynpro component where I embedded an interactive form.
    It works in that sense that the form is populated.
    But the form opens as a separate window. It is not shown in place.
    Is there a known problem or do I have to install an additional component for the inplace display?
    Thanks,
    Michael

    Hello Michael,
    When you say Embedded the form, I hope you have used the Interactive Form UI Element. This UI element has to be used inside a view. Whether it will open in new window or same window depends on how you call the View.
    Regards,
    Virag

  • Showing linebreaks in Adobe interactive forms webdynpro java

    Hey
    Im using interactive form from Adobe to show the content of my context, but the linebreaks gets converted into spaces. Heres my scenario:
    I have create a context:
    Person (node)
    - Name (value attribute)
    - Lastname (value attribute)
    I have create a view (view1) with 2 TextEdit to enter som text. This two TextEdit fields is binded to the contextnode.
    I have created another view (view2) with interactive form. The interactive forms consist of 2 InputFields that is also binded to the context.
    When i run the application i insert som text in the first view (view1). Then i go to the second view(view2) to display the content as a PDF. This works, but my problem is that the linebreaks I have created in the view1 gets converted into spaces in view2. I have allowd multiple lines.
    My question is that:
    does Adobe interactive form support linebreaks from the context? It is possible to enter linebreaks if I edit the interactive form at runtime, but I want it to display the linebreaks automaticly from the context.
    Are there any way around this? Please help me out. I cant find any sap note about this issue

    I know a little more about the problem now. After viewing the XML source I change the property of the inputfield.
    It was like this:
                <field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="ReadOnly">
    but i changed the access to be nonInteractive
                <field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="nonInteractive">
    now view2 shows the linebreak as in view1... Buut! when im going back to view1 from view2, the linebreaks gets converted into spaces
    thats pretty wierd, aint it?

  • Unable to test Adobe interactive form from webdynpro

    This is the out put i get when i test run the report 'FP_TEST_IA_01'.As suggested in SAP NOTE : 999998
    ADS: com.adobe.ProcessingException: Could not retrieve a password for credential: ReaderRights(200.101).
    Actually i was trying my first Adobe interactive form with webdynpro and when i tested it i got this message.
    The following error text was processed in the system NED : WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
    Does Adobe interactive form requires Java stack to be active??
    Or is it only a configuration issue in ADS???
    What all should i take care in order to successfully run an adobe interactive form???
    Regards,
    Venkar Raghavan

    Dear Abhishake,
    Thanks for your reply.
    I had gone through the link you had mentioned detailly.what i understand that is ZCI needs to be installed thats comming with Support pack SAP NetWeaver SPS 10 .
    Will this also take care of ADS configuration.Where can i find a guide to ADS configuration and ZCI installation.
    When i ran a report check FP_CHK_REPORT below is the output i got.can you please throw more light on this.
    ISR      Prepare ISR templates for ZCI migration             ISR-001   Prepare ISR templates for ZCI migration
    ZCI      SAPForms API to Zero-client template migration ZCI-002   Update enumerated DDL XFO bindItems node reference
    ZCI      SAPForms API to Zero-client template migration ZCI-003   Copy enumerated DDL XFO form:ready non-Adobe scripts to the layout::ready ev
    ZCI      SAPForms API to Zero-client template migration ZCI-004   Add an XFO name to each of the embedded P1 Enumerated DDL XFO event handlers
    ZCI      SAPForms API to Zero-client template migration ZCI-001   SAPForm API to Zero-Client template migrator
    Regards,
    Venkat

  • DYNAMIC TABLE IN WEBDYNPRO INTERACTIVE FORM

    Hi,
      I am using dynamic table in interactive form(webdynpro java).  In that form i bind node for to populate the details for the table. The details should be come from RFC.
    The RFC contains more than one record. While i tried to populate all the records to the dynamic table i cant able to got all the datas. I got only one record to the table.
        Interactive Form table node structure is:
                Node                                          Cardinality                             Singleton
    vnPDFDataSource                                    1..1                                         true
            chnTableList                                     1..1                                         true
                           chnTableRow                     0..n                                         true
                                   chnRowData              1..n                                        false
                                             attr-1
                                               attr-2
                                                attr-n
    o   The nodes bound to table and row in Adobe form are:
    chnTableList u2013 bound to Table
    chnTableRow u2013 bound to Row   
    If anybody know means let me tell how to solve the problem.
    Thanks,
    Senthil prabhu

    Hi,
    To add a row in dynamic table in interactive form How to create dynamic table in the interactive form
    also check page 11-13 in this docuemnt https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613
    after adding it you can send the table data to rfc asusal Problems while setting Multiple Rows of data as Table Parameter to the RFC
    give a lot at this too want to save data
    regards,
    Pradeep

  • Value Help in online Adobe Interactive Form

    Hi All,
    One of our clients needs value help in Adobe Interactive form for Java Webdynpro.
    But I got a problem in value help. For the first time when I click the button its working fine but the next time itu2019s not working.
    The whole screen is locked and no event is triggered for the next time.
    I am using Adobe Lifecycle Designer 8.0, Netweaver Studio 7.13  and the display type is ZCI(native).

    Hi Syed,
    I am using Adobe Lifecycle Designer 8.0, Netweaver Studio 7.0  and the display type is ZCI(native), but i am getting dump on click on valuehelp button. Can please provide me steps to resolve this? What are things need to be done.

  • Adobe Interactive Form Shows Blank (WD JAVA ZCI)

    Hi Expert,
    I have the following problem.
    I developed an Adobe interactive Form embebed in WD java app with success in DEV environment, but i have an issue in QA environment.
    When i run the Adobe Form logged in portal, the application runs fine, but, when i do unlogged, WD app run fine but Adobe Form shows blank
    Any idea?

    Hi Sean
    In the Visual Admin of the server that runs the ADS check under server->services->destinations click on http folder. There should be something under that called FP_ICF_DATA_<sid of backend>. If there is not then create one in there.
    Regards
    Thashin
    Edited by: Thoshin Naicker on Jan 12, 2009 7:09 AM
    Edited by: Thoshin Naicker on Jan 12, 2009 7:10 AM

  • Date Format Issue with Interactive Form

    Hi, here is the scenario:
    -We just upgraded to SP17 from SP15
    -I'm using Livecycle Designer 8.0
    When we were on SP15, this was not an issue.  I was wondering if anyone encountered this problem and if so, if there is a workaround?
    I create an interactive form to start a guided procedure process.  Im passing the data from my desktop Interactive form to another callable object in GP to send an email with the PDF attached.  This all works correclty. 
    My date/time fields are set to type DATE with a display pattern of YYYY-MM-DD.  When I create the form in the GP administrator to my desktop and open the PDF, the date format is correct. However, when I submit the form to start the process, the incomming date fields to be mapped to my second Callable Object have change in format from "2009-02-18" to  "Wed Feb 18 00:00:00 EST 2009".
    This is true in the new form I receive via email, and also in NWA->monitoring->guided procedures when I check the instances.  The input mapping is already set to the false formatting.
    When I open the form from the second callable object with the incorrect date format (in designer), the date's display patterns are set to YYYY-MM-DD but are not being displayed as such.
    New discovery....I tried to create a Business Logic callable object and format the date.  I created a string input and date output and mapped them accordingly.  When I perform a "TEST" from the design time and use the input "Wed Feb 18 00:00:00 EST 2009", the string is automatically converted to 18/02/2009 in the output, which is what I want to occur.  The only problem is when I run the actual process, the same "Wed Feb 18 00:00:00 EST 2009" is being output instead of the 18/02/2009 in the TEST.
    Anyone have any ideas?
    Thanks.
    Edited by: Warren Clements on Feb 26, 2009 2:20 AM

    This test program might help...
    import java.util.*;
    import java.text.*;
    public class ExpandYear
        public static void main(String[] args) throws ParseException
         SimpleDateFormat sdf_2dyear = new SimpleDateFormat("MM/dd/yy");
         SimpleDateFormat sdf_4dyear = new SimpleDateFormat("MM/dd/yyyy");
         String test1 = "3/21/00";
         System.out.println("test1: " + test1 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test1)));
         String test2 = "4/9/99";
         System.out.println("test2: " + test2 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test2)));

  • Issues in creating Interactive Form UI element at runtime.

    Hi Experts,
    I have a requirement according to which i need to create multiple PDF forms at runtime.This i need to do using webdynpro Java.
    The approach that i would be using is creating interactive form U I element at runtime.
    So in a test application in  views wdDoModifyView i added the below code i.e.
    In the do modify view i have added the below piece of code
    if (!firstTime)
                   IWDNodeInfo l_sel_nodeInfo =
                        wdContext.nodeCtx_vn_binary().getNodeInfo();
                   IWDAttributeInfo l_attrInfo =
                        l_sel_nodeInfo.getAttribute(
                             IPrivateAdobeView1.ICtx_vn_binaryElement.CTX__VA__BINARY);
                   if (view.getElement("adobeFrm") == null) {
                        IWDTransparentContainer container =
                             (IWDTransparentContainer) view.getElement(
                                  "RootUIElementContainer");
                        IWDInteractiveForm adobeFrm =
                             (IWDInteractiveForm) view.createElement(
                                  IWDInteractiveForm.class,
                                  "adobeFrm");
                        adobeFrm.bindDataSource(
                             wdContext.nodeCtx_vn_adobe().getNodeInfo());
                        adobeFrm.setMode(WDInteractiveFormMode.UPDATE_DATA_IN_PDF);
                        adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
                        adobeFrm.setDisplayType(WDInteractiveFormDisplayType.NATIVE);
                        adobeFrm.bindPdfSource(l_attrInfo);
                        adobeFrm.setVisible(WDVisibility.VISIBLE);
                        container.addChild(adobeFrm);
                        adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
    But now i am stuck at this point as its giving me null pointer exception on execution.
    Could some one provide me links to the tutorials which contains dynamic creation of Interactive form UI element.
    I do have links which show creation of input fields at run time  but couldn't get any on creation of Interactive Form UI element at runtime (dynamically).
    Thanks in advance!!!

    Hello Dan,
    About the license issue, take a look at the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms">Adobe Interactive forms section on SDN</a> on the right side there is a FAQ. In the FAQ there is something mentioned about license.
    When you are using NWDS04s the Adobe Document Service (ADS) is already installed. You only need to configure the ADS. Take a look at <a href="http://service.sap.com/adobe">http://service.sap.com/adobe</a> on the left click on "Media Library" --> "Documentation".
    When you want to make use of Adobe Interactive forms you need a Adobe Reader 7.x.x or higher.
    Hope it helps.
    Kind regards,
    Maarten.

  • Web Dynpro Java and Adobe Interactive forms Which Tool Should I Use?

    Hello Experts,
    Can anyone help me with deciding the right technology to use among WDJ and Interactive form by adobe. I want to prepare a presentation to showcase the strong and weak points in order to decide the final technology.
    Thanks in advance for the help.

    I personally prefer Web Dynpro Java without Interactive forms in most cases.
        Interactive forms are developed on top of Web Dynpro, so you are including an extra tier with the complexity it adds.
        PDF files tend to go big and performance tends to go down. In average, my forms weight between 1 - 5 Mb so network traffic is a bottleneck.
        The scripting environment is very poor.
        On the other hand PDFs interfaces are nicer than WDJ, but I think navigation is worst in part because of the performance issues. Considering this, reporting could be a good use of Interactive Forms.
        The best scenario for using Interactive Forms is for off-line applications, which can't be done with WDJ. For example, if you want your customer to fill an order list, you can send automatically an offline pdf file wich he can fill and submit to your company, initiating a bpm.
    Best regards, Aldo.

Maybe you are looking for

  • Unable to print barcode in xml publisher

    Hi All, I tried to print the barcode using xml publisher but i am not able to do so. Will you please guide me on this ! I follow the below steps, please correct me if i am wrong. Step1: I downloaded the IDAutomationSC128L.ttf and paste in c:\Windows\

  • Using iPod as Disk in OS 9

    Hello, Just wondering if there is a fix/hack to enable the 5th Gen iPod to work as a USB drive on OS 9 Computers? I don't expect/want it to run iTunes in OS 9, just make use of it as a simple external drive. I tried reformatting it and making sure th

  • Instant client  on windows 2008 r2

    Hi, I've downloaded the zip files and followed the instructions here http://arswiki.org/wiki/Oracle_Instant_Client_-_Installing For some reason I can't launch sqlplus.exe as it keeps crashing. I just get Oracle SQL*PLUs has stopped working, check onl

  • Mini Bridge: how to clear recent files/folders?

    Hi all, I am a new user of Photoshop CS5.1 Extended and have a question about Mini Bridge. My OS is Windows 7 Ultimate 64-bit, and I'm using the 64-bit version of Photoshop. My question is: how do I clear the Recent Files and Recent Folders lists fro

  • IPhone adapter wall socket blew up!

    My grandson gave me his old iPhone 4S to use plus adapter which, he bought from amazon as a genuine product (I know what you are thinking!) he told me it needed fully charging up.  This I did when I got home plugging it into a wall socket low on the