Calling an Interactive Form which is embedded in another WebDynpro by link

Hello guys,
I have got the following problem.
We have got a WebDynpro-Application in whihch an Adobe Interactive Form is generated.
Now, we just want to call this Interactive Form from another WebDynpro-Application by a link.
How can I do this?
Thank you for your help.
Best regards, Patrick.

Hi Patrick,
Since the interactive form is an ui element, it is not possible to refer directly to it from within another application. Nonetheless, two options come to my mind about how your problem could be solved:
(1) Link to the other application containing the interactive from ui element and provide needed data to generate the PDF by url parameters.
(2) Generate the pdf before with the other application and put the pdf somewhere (e.g. server cache, file system, etc). Then generate a link in the first application to that resource.
The second solution has a seurity hole since the data could possibly be accessed by other users as well. Personally, I would go for the first one.
Best regards,
Thomas

Similar Messages

  • Saving Adobe Interactive Form into a Server Path in Webdynpro.

    Hi Forum,
                     I have an Adobe Interactive Form as UI element in my webdynpro View. This form is available in the context attribute in Binary Format. I can read the form from this attribute as Byte Array only. I want to save this file in to a folder located in the Portal Server (ex : path :
    usr\jc00\j2ee\........\temp\myfolder).
                  I am trying  with the following code :
      IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(IPrivateTestCompView.IContextElement.PDF_SOURCE);
           IWDModifiableBinaryType binaryType =(IWDModifiableBinaryType) attributeInfo.getModifiableSimpleType();
           IPrivateTestCompView.IContextElement element =     wdContext.currentContextElement();
           binaryType.setMimeType(WDWebResourceType.PDF);
           //if a file in the 'FileResource' attribute exists
           if (element.getPDFSource() != null) {
                try {
                                         String ext=binaryType.getMimeType().getFileExtension();
                                    String fileName="PriceUpdateForm1";
                          byte[] b = wdContext.currentContextElement().getPDFSource();
                          File files = new File("C:
    usr
    sap
    EP7
    JC00
    j2ee
    temp
    HTI
    "fileName"."+ext);
                          try {
                                                           FileOutputStream out = new FileOutputStream(files);
                                                           out.write(b);
                                                           out.close();
                                                                                              } catch (FileNotFoundException e) {
                                                            //TODO Auto-generated catch block
                                                           e.printStackTrace();
                                                           wdComponentAPI.getMessageManager().reportSuccess(e.getMessage());
                                                 } catch (IOException e) {
                                                           //TODO Auto-generated catch block
                                                           e.printStackTrace();
                                                           wdComponentAPI.getMessageManager().reportSuccess(e.getMessage());
                          element.setPDFSource(null);
                      } catch (Exception e) {
                           throw new WDRuntimeException(e);
    it is giving me the error :-
    java.lang.Exception: Incorrect content-type found 'text/html'
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.ClientMimeMessage.initDeserializationMode(ClientMimeMessage.java:120)
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:951)
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1430)
        at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)
        at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99
    Can any one tell me what went wrong and how to convert the ByteArray into PDF and save it on to network path.
    Any help will be highly awarded........
    Thanks
    Ramesh.

    Hi,
    Please refer this, Page 7-8
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1bbc91c3-0401-0010-91bc-a25b2a3dff19
    Regards,
    Eric

  • How to use Adobe Interactive forms with ISR frame work in Webdynpro forJava

    Hi,
    Anybody worked on Adobe Interactive forms with ISR frame work in Webdynpro for Java in ESS/MSS development.
    We have already searched in ISR_Cookbook_2004, however we didn't anything related webdynpro for java in that.
    Any information regarding this will be of great help.
    Regards
    Satish Kumar

    There are a number of issues here. A form that you created with LiveCycle Designer (XFA) cannot be used with FormsCentral. An Acroform, the kind you can create with Acrobat, can be used with FormsCentral, with certain limitations,  one of which is skip logic. A dynamic XFA form allows for this type of thing, but as mentioned, they don't work with FormsCentral. You can set up an Acroform to show/hide or activate/inactivate fields based on selections or entries made in other fields, but you'd have to set this up in Acrobat, not FormsCentral. So you can set up something roughly equivalent to a web form's skip logic, but you'd have to learn how to do this in Acrobat using JavaScript. There is a separate Acrobat JavaScript forum here if you have any questions.

  • Calling Adobe Interactive Form from a selection screen

    Hi,
    I have to design an interactive adobe form online scenario,it goes like this :
    A certain tcode will call a selection screen when we enter values in the selection screen it will open an adobe form,which will have a submit button,on clicking the button data gets saved in a z table.
    I will be designing  the form in Web Dynpro,is it possible to call such a form through a selection screen?? Can someone please provide some idea on how to implement the above scenario.
    Thanks !!

    Hello,
    for the online scenario you need a communication partner for the form. In WD, you have a partner to exchange the data with. But from a selection screen... who would be your partner? You can of course display a form, a PDF file, a new one (generated) or a uploaded/ stored one, you can even edit the fields, but you don´t have any partner to send the data to.
    To cut this... you need a webservice if you want to exchange some data immediately (online scenario).
    Regards Otto

  • Call WD Interactive Form with Values from ABAP Report

    Hallo together,
    i have a simple ABAP report with some values.
    How to call a webdynpro passing these values and using them in Select-Statements to prefill the called Interactive Form
    Thanks
    Philip

    Hi Runal,
    i tried this and i get the parameters in the defaulthandler event.
    but now i need these values in the supply function of my node to get the values which should be display.
    How to access from supply function to the defaulthandler event? I read some threads but none answered my question i think.
    METHOD handledefault .
      DATA: it_parameter TYPE tihttpnvp,
            wa_parameter LIKE LINE OF it_parameter.
      wdevent->get_data(
        EXPORTING
          name =  if_wd_application=>all_url_parameters
        IMPORTING
          value = it_parameter  ).
    ENDMETHOD.
    Thanks
    Philip

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

  • Error when calling Adobe Interactive Form

    Hi Experts,
    I Created a Adobe Form using SFP  and integrated into webdynpro abap application,and when i am testing the application its giving the error. and the errror details are.
    The following error text was processed in the system RD1 : WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
    The error occurred on the application server S0164SAPDEV2_RD1_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    And I searched in SDN and Followed the same steps and still its giving the error and Basis Team is saying that everything is working fine from there side.
    Please Provide the Requried Information with steps so that i can close this issuse.
    Waiting for Reply.
    Thanks & Regards.
    Bhushan.

    Hi Srinivas,
    i  tested the program FP_PDF_TEST_00 its working fine . but still i am getting the same error
    The following error text was processed in the system RD1 : WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
    The error occurred on the application server S0164SAPDEV2_RD1_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    can u give me steps for creating webdynpro adobe form  so that i can find out the mistake in my application.
    or can u say me how to integrate the smartform in pdf in webdynpro abap.
    Please provide me requried information.
    Waiting For Reply
    Thanks & Regards.
    Bhushan.

  • Call procedure from form which displays HTML

    I have a form based on a table with three columns. When I press the insert button, I want to insert the data into the table and then pass the data to a procedure (wihtin a package), which will call an external java procedure and get a passcode returned to it. I then need to display the passcode to the user's screen (which I am currently attempting to do via htp/htf calls within a procedure in the package).
    I tried to put the call to the package in a trigger. It succeeded in calling the external procedure, but did not display anything to the browser afterwords.
    I then tried to put the call to the PL/SQL code on my Insert button. I have tried various flavors of this call, but here is the current version:
    declare
    v_user_key_id lcams_db.user_token_link.user_key_id%TYPE;
    v_tkn_ser_no lcams_db.user_token_link.tkn_ser_no%TYPE;
    v_actv_ind lcams_db.user_token_link.utl_actv_ind%TYPE;
    blk varchar2(10):='DEFAULT';
    begin
    v_user_key_id:=p_session.get_value_as_number(
    p_block_name=>blk, p_attribute_name=>'A_USER_KEY_ID');
    v_tkn_ser_no:=p_session.get_value_as_varchar2(
    p_block_name=>blk, p_attribute_name=>'A_TKN_SER_NO');
    v_actv_ind:=p_session.get_value_as_varchar2(
    p_block_name=>blk, p_attribute_name=>'A_UTL_ACTV_IND');
    lcams_db.otp.set_otp_user_key_id(v_user_key_id);
    lcams_db.otp.set_otp_tkn_ser_no(v_tkn_ser_no);
    lcams_db.otp.set_otp_actv_ind(v_actv_ind);
    doInsert;--- This is the default handler
    lcams_db.otp.otp_utl('INSERTING');
    end;
    otp is the package. I have three variables in my package otp_user_key_id, otp_tkn_ser_no, and otp_actv_ind which I pull from session storage and put into the package variables. the otp_utl sets a variable and calls otp_add_user, which gets more data from the table and calls the pl/sql wrapper for the java routine to actually add the user into the external OTP database. The java routine returns the status and initial passcode and then I call a routine internal to the package to display the results to the user via htp and htf calls.
    The best result was getting the table to update and the external database to update, but I never got the resulting html to diplay. With the current code, the browser goes away with a message of Connecting to... and nothing gets updated and my browser eventually comes back with a 'No data...' message.
    Is there a way to do what I want? Ideally I would like to call the package, display the results, and provide a back link so the user can get back to the original form after the user has read the passcode message.
    null

    Okay. I put the following code in the 'On successful submission of the form...'
    section of the form and I tinkered with it until it works; however, it currently assumes
    the Insert button was the button clicked.
    declare
    v_user_key_id lcams_db.user_token_link.user_key_id%TYPE;
    v_tkn_ser_no lcams_db.user_token_link.tkn_ser_no%TYPE;
    v_actv_ind lcams_db.user_token_link.utl_actv_ind%TYPE;
    blk varchar2(10):='DEFAULT';
    my_url VARCHAR2(200);
    return_url VARCHAR2(200);
    begin
    v_user_key_id:=p_session.get_value_as_number(
    p_block_name=>blk, p_attribute_name=>'A_USER_KEY_ID');
    v_tkn_ser_no:=p_session.get_value_as_varchar2(
    p_block_name=>blk, p_attribute_name=>'A_TKN_SER_NO');
    v_actv_ind:=p_session.get_value_as_varchar2(
    p_block_name=>blk, p_attribute_name=>'A_UTL_ACTV_IND');
    my_url := 'lcams_db.otp.otp_utl?' | |
    'p_user_key_id=' | | TO_CHAR(v_user_key_id) | |
    '&p_tkn_ser_no=' | | v_tkn_ser_no | |
    '&p_actv_ind=' | | v_actv_ind;
    call(my_url,return_url);
    end;
    How do I determine which button was clicked for the 'On successful submission...' section so I can call the correct routine?
    null

  • Error when call a interactive form from a report.

    Hi everybody!
    When i use report SAPBC480_DEMO to call form BC480_FINAL, i have the error ADS: Request start time:.......
    I don't know how to fix that error. Can anybody help me?
    Thank!

    Hi Duo,
    i was facing similar problems. It could be solved by installing the Reader Right Credentials. If you want to use a pdf with editable fields (no read-only document) you have to install the RRC. Check this url
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/56/f2c94a069f44a785b85748e11f82a0/content.htm]
    and notes 736902 ,  1016404.
    if you start stack trace as mentioned in note 1016404 you will be able to get through.
    Regards,
    Ashish Shah

  • Submit Button doesn't response in Interactive Form

    Hi Guys,
        I'm trying to implement a simple interactive form which is embeded in a abap webdynpro program.
        I've set the interactive form properties as following:
        displayType: native
        enabled: X
        onSubmit: CLICK
        and there has been a action "CLICK" with event handler and corresponding method implemented.
        For the interactive form i have drag and drop a submit button for webdynproAciveX group, and doens't change anything for this button. I check the "*click" of this button and it is run at Client.
        When I run this webdynpro program, the button is there, if i move my mouse onto this button, the mouse will change to hand shape. But if i click this button, it doesn't look like it has been really pushed down and up, I also tried the external debug of the OnClick method, I cannot get into the debug either.
        Do you have any idea what might be the problem?
    Thanks in advance,
    Mao

    Hi,
    When you are in the transaction SFP , then in the SAP tool bar you'll find the "Utilities" Menu bar, there you will be able to find the "Insert WebDynpro Script", when you click on this you'll in the Form in Heirarchy Pallete under the Variables you can see a script Object named "ContainerFoundation_JS" is being inserted. And Other Important thing is in the Properties tab of the SFP Transaction there select the Layout type as "ZCI Layout".
    And when you insert the Submit button from the Library Pallete under "WebDynpro Native", then you'll find the below code in the Script Editor
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - SubmitToSAP.xfo
           ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    // END OF DO NOT MODIFY
    Regards
    Pradeep Goli

  • OVS implementation in Adobe Interactive Form

    Hi,
    I have to implement OVS in Adobe Interactive form, which will be part of WebDynpro component. I  have done this  in webDynpro, but i am not able to figure out how it is implemented in AIF.
    I am using NW04s SP09 , patch 2.
    Any documentation for implementing OVS in AIF is would be a great help.
    Thanks & Regards,
    Mamta

    Hi Chintan,
    Basically, I have tried to search in the forum within this two days... But I could not find the step by step how to do it. Anyway, I will try to search again. Really appreciate if you don't mind give me the link of it.
    Hi Otto,
    I have created the WD application. Unfortunately, the requirement is online processing form which is attached in the SAP transaction. So, when user open document number of one transaction, the form will be displayed and user can fill the information in this form. Then after that user will click SAVE button to submit data to SAP.
    Any advise?
    Thanks,
    Nonik

  • How to integrate Flashisland for Adobe interactive forms

    Hi Experts,
       Can you please help us in understanding how to integrate Flashisland with adobe interactive forms?
    We need to add swf file in the interactive forms, which will be used in webdynpro abap application.
    Any idea will be helpful for us.
    Thanks for the support.
    Regards
    Sathish

    Hi Sathish,
    You can not add swf file in interactive form, however you can integrate you flash island with web dynpro ABAP application.
    Adobe flash island and adobe interactive form are two different things and have different purposes.
    You can have adobe flash island and adobe interactive form in a single WD application(even as part of the same screen), but still there will be integration on the data level not on UI level. The UI elements for both will react separately from each other and there can't be any integration of adobe flash island inside adobe form.
    However you can develop a flash application using which you can view adobe interactive form similar to adobe reader and use this flash application as part of your WD ABAP application but that doesn't make any sense as without flash island we can show it in WD ABAP view.
    I hope this will clear your doubt.
    Regards,
    Vaibhav

  • Calling BRF in Adobe interactive form/Webdynpro application

    Dear Friends,
    I have a requirement that  I need to call BRF in Adobe interactive form.
    I would be great if you coud help me how to call  BRF Event in Adobe interactive form?
    Is it happening through webdynpro application?
    Please share your ideas.
    Thanks.
    Regrds,
    Preethi.

    Hi,
    Can anybody provide document link for BRF/Webdynpro and adobe combination ?
    Thanks.
    Regards,
    Preethi

  • Calling RFC from Adobe Interactive Form

    Hello,
       After creating and calling Adobe Interactive form from ABAP web dynpro, within the form designer is it possible to call RFC or Business Object method from the form script to get the data back from SAP for specific Click events?

    Yes,
    this is possible, but not through pure RFC, but using webservices and webservice enabled function modules within SAP.
    Technically it is quite simple. Create a functionmodule, and create a webserve from that (all SE37 or SE80 but from WAS 6.40). Generate a WSDL (with the Java tool) and import that into the form that you are designing. From there you can bind the data from the dataset (as defined in the WSDL) to screenfields or treat the data any other way Javascript can.
    BTW. I only managed this so far by using anonymous logins, so with a password and username bound to the webservice (in SICF).
    Hope this helps, regards, Hans Gmelig Meyling

  • Standard Program for Interactive Forms

    Hi all,
    I want to see the Print Preview of any of a Standard Interactive Form.
    Please Give me Some Standard Programs which call the Interactive forms..
    Thank you.

    Hi,
    I think you need to create a custom program to check the print preview.
    Check following link to create a print program for Interactive forms:
    [SAP Help|http://help.sap.com/saphelp_nw04s/helpdata/en/60/f8123e9c6c498084f9f2bafab32671/frameset.htm]
    Also there is one report to check/update the layout of the form check FP_CHK_REPORT'. Check the documentation before using this report.
    [documnetation|http://help.sap.com/saphelp_nw04s/helpdata/en/44/e96677f1c367d6e10000000a155369/frameset.htm]
    Hope this helps,
    shrinivas

Maybe you are looking for

  • Disable an Input field with the help of a radio button selection.

    Hi Guys, I know it is a very basic question and also has many threads for the mentioned query. None of the threads gave me a real clue about the problem. It is as follows: Simply, I have an input field and there are two more radio buttons on the scre

  • Margins, Padding, no effect in "multiple columns" Fluid Grid Layout

    Mac Pro Adobe DW CS6 Testing URL:  http://0343be5.netsolhost.com/satgraphics_02/index.html First time using multiple columns in fluid grid layout---------------------------------------- <style> .newspaper           column-count: 2;           column-g

  • Make Bootable OS 8.6 HD in a G4 Machine

    A little background: A client requested a file that we had backed up long ago to a floppy disk. We had used Disk Doubler on that floppy, so the only machine that could open it was this dinosaur of a Mac, with a 15-year-old SCSI hard drive, no CD burn

  • Urgent : border in Smartforms

    hi, I hav a Output purchase order where if the line items flows to the second page the borders r not occuring for the last line item in page 1 ....if the line items ends in page 1 then all the borders r proper..y is it so???

  • How do you get URL hyperlinks to work in SWF files?

    I have exported an InDesign file to SWF and all the interactive elements work fine apart from my hyperlinks to websites. I have searched the forums and have figured out how to get this to work by changing the server setting on my machine. The problem