WD Compoenent - Non -Interactive form- Not displaying output

Hi,
I am practicing this adobe form session [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/a3e2f018-0b01-0010-c7a8-89deb6e63e97] from SDN.Unfortunately this session was not complete so I am trying to complete it.
In brief : this WD component accepts CARRID and displays output in PDF format.
I was able to capture selection and get respective entries for that selection in my internal table but my display is blank.Here is what I coded in Search Button..
method ONACTIONSEARCH .
    data: isflight type table of sflight.
    DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
    DATA lo_el_adobe_data TYPE REF TO if_wd_context_element.
    DATA lo_nd_data_selections TYPE REF TO if_wd_context_node.
    DATA lo_el_data_selections TYPE REF TO if_wd_context_element.
    DATA ls_data_selections TYPE wd_this->element_data_selections.
* navigate from <CONTEXT> to <DATA_SELECTIONS> via lead selection
    lo_nd_data_selections = wd_context->get_child_node( name = wd_this->wdctx_data_selections ).
* get element via lead selection
    lo_el_data_selections = lo_nd_data_selections->get_element(  ).
* get all declared attributes
    lo_el_data_selections->get_static_attributes(
      IMPORTING
        static_attributes = ls_data_selections ).
* Retrieve that data from the database. Normally it is suggested to
* encapsulate the data retrieval in a separate class.
* For simplicity, the SELECT statement has been implemented here.
    clear isflight. refresh isflight.
    select * into corresponding fields of table isflight from sflight
    where carrid =  ls_data_selections.
* navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
    lo_nd_adobe_data = wd_context->get_child_node( name = `ADOBE_DATA` ).
    lo_nd_adobe_data->bind_elements( isflight ).
endmethod.
endclass.
Anything wrong with my code..I am getting my data in  isflight internal table.
FYI..I am throwing output as text field in adobe form.
rgds
vara
Edited by: Vara K on Jan 19, 2009 9:51 PM
Edited by: Vara K on Jan 19, 2009 10:02 PM

Hi Vara,
Try this:
method ONACTIONSEARCH .
    data: isflight type table of sflight.
    DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
    DATA lo_el_adobe_data TYPE REF TO if_wd_context_element.
    DATA lo_nd_data_selections TYPE REF TO if_wd_context_node.
    DATA lo_el_data_selections TYPE REF TO if_wd_context_element.
    DATA ls_data_selections TYPE wd_this->element_data_selections.
* navigate from <CONTEXT> to <DATA_SELECTIONS> via lead selection
    lo_nd_data_selections = wd_context->get_child_node( name = wd_this->wdctx_data_selections ).
* get element via lead selection
    lo_el_data_selections = lo_nd_data_selections->get_element(  ).
* get all declared attributes
    lo_el_data_selections->get_static_attributes(
      IMPORTING
        static_attributes = ls_data_selections ).
* Retrieve that data from the database. Normally it is suggested to
* encapsulate the data retrieval in a separate class.
* For simplicity, the SELECT statement has been implemented here.
*    clear isflight. refresh isflight.
    select * into corresponding fields of table isflight from sflight
    where carrid =  ls_data_selections-carrid.
* navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
    lo_nd_adobe_data = wd_context->get_child_node( name = `ADOBE_DATA` ).
    lo_nd_adobe_data->bind_elements( isflight ).
endmethod.
I hope it helps.
Regards
Arjun

Similar Messages

  • Interactive Form not so interactive

    Hello,
    I am trying to embed an interactive form in my WebDynpro application. I succeeded on displaying the form, but I cannot make it interactive.
    The form actually has only one interactive element, which is a URL launch button. I unfortunately cannot make without this button, so I don't have much choice.
    I can see the form is not interactive in the WebDynpro because clicking on the buttons does nothing, the cursor does not even change to the pointing finger. When I test the form from SFP (with interactive flag set) it works as expected.
    What is already done to make the form interactive:
    - Set the form layout type to ZCI.
    - Checked the "Enabled" attribute in the INTERACTIVE_FORM element of the webdynpro view.
    - Created an empty action for the on_submit event of the element.
    - Tried with both Native and activeX displayType for the element.
    Any suggestions ?
    Thanks in advance.

    Hi,
    I have just made some tests and indeed when creating the form from the webdynpro, and the only different I can see is that it generates a XML based interface instead of an ABAP Dictionary based one. But indeed the interactive elements work in that case.
    Concerning your last suggestion, I would really like to, and the actual code to launch a URL from a button is Javascript and client side, but it simply does not work, the click event seems impossible to trigger from a non-interactive form.
    If you have no further idea I will see with the customer if it is worth it to remake the whole PDF just for that.

  • Problem when generating an non-interactive form in Web Dynpro java.

    Hi,
    I'm trying to create a PDFDocument using a creation context in java. Everything works fine when the Interactive property of the creation context is set to true. When I change it to false however, the Web dynpro application hangs and eventually throws the following exception:
    java.net.SocketTimeoutException: Read timed out
       at java.net.SocketInputStream.socketRead0(Native Method)
       at java.net.SocketInputStream.read(SocketInputStream.java:129)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
       at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
    I'm wondering why this exception occurs when i'm generating a non interactive form and never appears when i'm generating a form with the Interactive property set to true.
    Any ideas?
    Edited by: Arjan Nieuwenhuizen on Feb 25, 2008 3:24 PM

    Yeah I know changing the form properties will solve my problem, but since i'm developing a training for Interactive Forms in Web Dynpro Java, I wanted to figure out why the (static / non-interactive) combination didn't work, turned out to be a template problem, which i still didn't figure out, except the fact that having flowed content on your template is not the problem.
    My ideas about your question:
    When we have the layout of an Interactive Form, its clear if it's meant to be static or dynamic, we don't know however, if it's interactive or non-interactive.
    I don't think we can judge a layout to have an Interactive or non-interactive purpose, can depend on the situation in which the same form is shown/used:
    - One moment it can be interactive, e.g. user is filling in the form, can enter data etc.
    - Next moment it can be non-interactive, e.g. form is shown to another user.
    So it's more the scenario/situation that determines if the form is interactive or non-interactive.

  • To print image in Non interactive form

    I have a requirement where image file is attached to QM02 transaction, now i want to print the attached image on QM02 print output. I am planning to use Non interactive form method to print the form output.
    Can anyone pls guide me how to insert/print image file which is attached at the transaction level.

    Otto:
    I followed the steps you have described in one of your earlier reply but I am unable to see the image on the non-interactive ADOBE form.
    Here is what I did.
    1) In the "Code Initialization" section of the form, I coded to get the SE78 stored image in to XSTRING field (by calling method cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp)
    2) I created the image field and bound it to the XSTRING field derived in step 1. And I check marked "embed image" in layout of the image field.
    I also followed some other threads on this forum and tried to create a graphic node with a global field of mime type "BMP" and bound my XSTRING data onto it but to no avail.
    Any ideas?
    Thanks.
    Jitendra Mehta

  • Forms not displaying after ATG 7 patch

    Forms not displaying after ATG 7 patch., 11i Linux OS.
    6241631

    Hi;
    AFAIK no, i also cant see this info at below doc
    About Oracle Applications Technology 11i.ATG_PF.H.delta.7 (RUP 7) [ID 783600.1]
    Please check upper note below part and be sure you have all those steps on your issue:
    -Known Issues
    -Instructions for Applying Oracle Applications Technology Update for 11i.ATG_PF.H.delta.7
    -Implementation and User Documentation
    Regard
    Helios

  • Sending the adobe interactive form as non-interactive form through email

    Hi ,
              I am trying to send the interactive adobe form as non-interactive form  through email.The interactive form size is very large because of the interactivity.
    Can anybody suggest how to do this.
    Regards,
    Debasis

    Dear Antony,
    Thanks for the reply.
           I got you but can you pls guide me how to go about it.
    I need to send the email while submiting the form.So when and how i will be mapping each data node /attibutes of the main form with the intermediate form.My interactive form is of 30 pages and it may grow upto 40 pages.My response is with the to the main form where i am showing the success message.
    Regards,
    Debasis Nayak

  • Want to generate non-interactive form

    Hi Experts,
                    I want to generate some reports from webdynpro java as pdf.i want to do
    this as non-interactive form.Please tell me how can i generate such a non interactive form , if possible with example or  as step by step procedure.
    Regards,
    Ramanan.P

    Hello,
    if you set the flag 'Readonly' for your Interactive form element it will be a non-interactive form.
    Best regards,
    Dezso

  • Bundling different (non-interactive) forms

    Hi,
    I want to bundle different non-interactive form. When I run the report FP_CHECK_BATCH_PDF_RETURN with the settings:
    Bundle Mode = X
    All Forms in One PDS = checked
    i got the error message "Call contained error(s): ASSEMBLE (FP_JOB_OPEN)"
    When I select Bundle Mode = M everything works fine. I tested the report on many different systems with different ADS versions, but the error was always the same. Can anyone tell my what the problem is?
    Thx in advance!
    Markus

    Hi Markus,
    the SAP Help explain exact your problem. I don't get into it. I tried it with release 7.31 and also with 7.02 a few weeks ago and everything worked fine. Just work through the help.
    Here is a Wikipage which provides an example-coding:
    How to assemble PDF form pages into one file - ABAP Development - SCN Wiki
    I also got this link in my pocket,but you sound very familiar to the language)
    Formulare bei der PDF-R�ckgabe b�ndeln (SAP-Bibliothek)
    You have to set fp_outputparams-getpdf = 'M', that's a must do, to use the function.
    Regards
    Florian

  • Interactive adobe form not displaying properly (urgent)

    hi,
       any one can help in this,as  it is urgent ....
        sub : arabic fonts of the pdf /word doc are not displaying
        in detail :
        i have a word document and pdf which contains data like
        enter name : -
    ( enter name in arabic language written)
        enter number ..----
    ( enter number in arabic language written)
    when i developed this in nwds, imported the dos as AIF , but when deployed and
    run...i could only see
       enter name: -
       and the arbi letters are replaced with question marks ???  ..........
       Now , i have to do ...in order to get the letters in arabic as in the pdf or word doc.
    while execution time,,,it is displaying ( if u have internet,,,,,click ok to update...
    after pressing ok,,,,,it is giving as.....no updates at this time.....and finally the output is not coming as desired )

    Hi Srinivas,
    Have a look at these  profound discussed strategies .links may  help .
    http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/frameset.htm'
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-fdb0-ec32d43b06e0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/54b8e290-0201-0010-1d87-9a747c71e717
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2009bbbf-23aa-2910-70af-882e63d147be
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5303c390-0201-0010-e0b2-bfae018377f0
    Smartforms or Adobe Interactive Forms?
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e1b5bbe-0601-0010-a28b-c8d964cd0a03
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b10c590-0201-0010-ef9e-fa21d1ba367a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0dfa32bc-0601-0010-eaba-d603154c6bed
    Cheers
    Swathi
    Do offer pts;-)

  • ADOBE Interactive Form not getting displayed in Browse

    Hi,
    Currently I am working on EhP4 project on ECC 6.0 environment. For HCM, We have interactive ADOBE forms for MSS. While testing we found that all buttons are displayed in a browser (we are are window 7 IE 8 ) but interactive form is not getting displayed in the browser (Fill out Form as part of MSS).  It only displays a line
    Checked ADS configuration as per oss note and works ok. Did HTTPWATCH - browser is getting (GET) the Adobe forms with values but not displaying it. If I copy URL from HTTPWATCH GET line in a separate browser window it displays the form.
    Thanks in advance your help.
    Regards
    Jitendra Pongurlekar

    Hey Chris (and others),
    We were having this same problem, and this Note fixed the issue (thanks!).  However, we are still experiencing another issue with HCM Processes and Forms under EhP4.  Before this Note, it took about ten minutes before "single line display" would show up.  Now after the Note, we get the full form, but it still takes ten solid minutes of waiting before it appears in the window.  We're pretty sure it's not a Portal issue, nor an ADS issue, but something with the web dynpros on the ABAP side.  However, we have not yet been able to resolve it.  Anyone else run into this performance problem with HCMP&F after upgrading to EhP4?  We don't have the problem with EhP3.
    Best regards,
    Matt

  • TemplateSource property  not set in non interactive form

    Hi ,
      I m creating non interactive PDF form. When i am inserting interactiveform elelement in the view its templateSource property is not getting bind no any value.may be because of that when click to edit interactive UI element and added some Text Field from library , but i am not able to save (save all metadata ) after doing any changes to interactive element.
    Edited by: kavita chavan on Dec 20, 2007 12:01 PM
    Edited by: kavita chavan on Dec 20, 2007 12:39 PM

    Hi Kavita,
    The templateSource's value should be created automatically as <ViewName>_<UIname>.xdp and this file could be found under the directory
    src/configuration/Components/<your_component>
    What's your version of NWDS?
    Regards,
    Dao
    PS: You'll have a better chance of getting answers to your question in the SAP NetWeaver/Interactive Form by Adobe forum

  • Error during activation of adobe non-interactive form

    Hello everyone,
    I am trying to activate a non-interactive adobe form and am getting the below error:-
    "Field p_lifnr has a conversion routine(see SAP note 796755)".
    I have made sure that this field (which is corresponding to LFA1-lifnr) has context binding, I even tried using below code in its interface:-
    GET PARAMETER ID 'LIF' FIELD p_lifnr.
    and also tried the below:-
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = p_lifnr
            IMPORTING
              output = p_lifnr.
    just in case..
    but all above in vain,can someone let me know what might be the problem....or where would I find this 'SAP note 796755' ?
    Thanks,
    Rachna.

    Hi,
    I am facing the same problem of "Error during activation" while activating the SAP interactive form.
    I am using ECC 6.0, ADL 7.1 and Adobe reader 8.0
    Could you please suggest a way out.
    Thank You
    Aser

  • Changing layout for non interactive form - lisence

    Hi Experts,
    Here is the scenario. In ESS, display travel form would show up a standard adobe form. If we changed the format hiding or adding new field would be there any additional license for that (note that this form is not interactive)? From what i understand additional license only apply to interactive form. Please advice.
    Many thanks.

    You say "non-interactive", what means "print form". Adobe forms as "print forms" replace Smartforms and are ready to be used free of charge. You should need no additional license for your "new" form.
    Cheers Otto

  • Export data to adobe non interactive form

    Hello,
    I would like to fill a non interactive adobe form with seized data in visual composer.
    How I can do that please ?

    Tony-
    I have not worked with Adobe Forms so I am not sure if this is feasible. If I had to populate a Web Dynpro form with data from a VC form I would have an action which would invoke the URL of the Web Dynpro application. This URL would have appended to it the field name and values as entered in the VC form. In the Web Dynpro component I would retrieve all the parameter values being passed through the URL and then set these values into the context. If the context is bound to a form, the data will automatically be displayed.
    Cheers-
    Atul

  • How to add table in SAP Non interactive forms in webdynpro java

    Hi Experts,
    I have a requirement in webdynpro java.I have a print button.On clicking print button a pdf will be opened.
    This pdf will have data from the webdynpro view.I want to know how to add table in the adobe pdf.The webdynpro view will have many rows of table(rows will keep changing as per the size of the data output).How to send this data to adobe.How do we bind the node to the table in the adobe.How to automatically
    Please suggest.
    Thanks,
    Rajani
    Edited by: Rajani Nandagiri on Dec 26, 2008 8:58 AM

    Rajani,
    Take a look at below links, it will help you.
    [Handling Dynamic Length Tables in Adobe Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669]
    [Integrate tables & Images in Adobe Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/dynamic%20non-interactive%20pdf%20form.pdf]
    [How to Handle Table Input and Output|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf]
    [How Tou2026deal with Table input and display in Interactive Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c4041d-188d-2910-6ea2-b4d5155f56e0]
    Chintan

Maybe you are looking for

  • Looking for some tips on Decoding date. TX

    HI,I still have problem with this decode. I need to count students group by their region on each month. The output should be COUNTRY OCT NOV DEC ..... USA 5 20 30 CAN 100 1 0 MEX 10 20 30 The date format is 5/19/2007 This is my code: and thanks for y

  • How to park a Asset & Vendor combination line items in tcode FV60

    Respected Members, I want to park a document which consists one line item to vendor and other line item to asset. We can use tcode F-63 but it wont give the withholding tax,so we have to use the tcode FV60 but we are not getting any field to put asse

  • In the new Numbers, can I find and replace within formulas like I used to in Numbers'09?

    I use Numbers with quite long formulas with reference to other tables. With Numbers'09, it was extremely useful to copy formulas and then use "find and replace" to change the terms within. Did they remove this option? I don't seem to be able to do th

  • SUS ASN for changed delivery date

    We are on SRM 7.0 EHP4 with MM-SUS. PO is been sent to SUS with Required on date 02/03/2011. Supplier confirms for 02/04/2011. Now the system doesn't allow the supplier to create ASN in SUS. The SUS system is waiting for a change order from Buyer to

  • What is the Best iPhone 5 Screen Protector?

    What is the Best iPhone 5 Screen Protector? Anyone have any recommendations?