Interactive Forms in Web dynpro for ABAP

Hello All,
I created an application to accept some values from Interactive pdf form and pass to xml string in WDR. But none of the values are getting in there. This is what I am doing.
  DATA:
    lr_fp          TYPE REF TO if_fp,
    lr_pdf_object  TYPE REF TO if_fp_pdf_object,
    pdf            TYPE xstring,
    xml            TYPE xstring,
    xml_str        TYPE string,
    lt_xml         TYPE string_table,
    lr_conv        TYPE REF TO cl_abap_conv_in_ce,
    l_binary_table TYPE TABLE OF t_raw,
    cont_text      TYPE soli_tab,
    cont_text_line TYPE soli,
    OUTPUT_LENGTH  TYPE  I.
  lr_fp = cl_fp=>get_reference( ).
  lr_pdf_object = lr_fp->create_pdf_object( ).
  wd_context->get_attribute(
  EXPORTING name = 'L_XSTRING' IMPORTING value = pdf ).
  IF pdf IS NOT INITIAL.
    lr_pdf_object->set_document( pdfdata = pdf ).
    lr_pdf_object->set_task_extractdata( ).
    lr_pdf_object->execute( ).
    lr_pdf_object->get_data( IMPORTING formdata = xml ).
    lr_conv = cl_abap_conv_in_ce=>create( input = pdf ).
   lr_conv->convert( EXPORTING input = xml IMPORTING data = xml_str ).
    lr_conv->read( IMPORTING data = xml_str ).
  ENDIF.
  wd_context->set_attribute( name = 'XML' value = xml_str ).
What is wrong in there?
Thanks
Prasad

Hi Nancy,
I also have similar kind of requirement . Can you update once you are done with that?
Regards,
Jayapal.

Similar Messages

  • DM152 - Creating Interactive Forms in Web Dynpro for Java

    Hi,
    I'm looking for the "initial" Web Dynpro project used in "DM152 - Creating Interactive Forms in Web Dynpro for Java". Does anyone know where I can get this zip file?
    Thanks in advance,
    Geraldo.
    [email protected]

    Hi Geraldo,
    Refer the forum and ask Abdul or Ken to send the code
    /thread/24464 [original link is broken]
    Regards,
    Santhosh.C

  • Part II: Adobe Print Forms with Web Dynpro for ABAP. -Practice issue

    Hi,
    I am practicing Thomas jung Tutorial on Adobe forms [Part II: Adobe Print Forms with Web Dynpro for ABAP|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/a3e2f018-0b01-0010-c7a8-89deb6e63e97].
    I am trying to complete this and looks like this tutorial in not complete.Anybody can help me in completing this until we get a preview of adobe form?
    FYI.. Ic ompleted evevrything in tutorial and I am waiting to complete and test.
    Rgds
    Vara

    Thomas,
    Here is where I am stuck.
    Wrote this code in ONACTIONSEARCH.I am getting my entries in internal table ISFLIGHT.
    but unable to bind it to adobe form and show in the form.
    *  SELECT statement
        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 = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <SFLIGHT> via lead selection
      lo_nd_sflight = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_sflight ).
      lo_nd_sflight->bind_table( new_items = isflight set_initial_elements = abap_true ).
    Error is Access via 'NULL' object reference not possible.
    FYI.. I just dragged and dropped 2 elements from DATA to Adobe form.what are the other changes do i need to do in form gui elements so that it shows the internal table contents?
    this would really help me..
    Rgds
    vara
    Edited by: Vara K on Jan 21, 2009 5:51 PM

  • Interactive forms in web Dynpro 4 ABAP

    Hi,
    where can i get the step by step procedure to use INTERACTIVE form in Web Dynpro4 ABAP
    Thanks
    SAI

    Hi,
    see http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm
    and also have a look at the e-learning tutorials by Thomas Jung in SDN.
    Regards, Heidi

  • Web Dynpro For ABAP Question

    Hi all,
    I'm creating Adobe Interactive forms in Web Dynpro for ABAP.
    <b>Problem:</b>
    <b>Context defined in the created "View" is not displayed in the 'templates' (Adobe Interactive Form in the "Data View" tab.</b>
    I'm following the exact steps used in the following e-learning class:
    <b>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3</b>
    Except I'm creating 'string' fields instead of numeric fields like in the above e-learning class and creating my forms in Adobe Livecycle designer first then importing them to the web dynpro for abap - 'templates'.
    The 1st form I created went well and works fine.
    <b>Question:</b>
    For my second and third form I'm unable to map my context fields they are not displayed in the "Data View" anyone know why this is not possible?
    Cheers,
    Dharm

    Hello,
    are you creating the form via forward navigation from webdynpro abap?
    When you do that the context of the form should be created automaticaly.
    What Basis SP level are you using?
    Best regards,
    Dezso

  • Interactive form in web dynpro abap

    hi experts,
                   i am beginner to adobe interactive form in web dynpro using abap.
    my scenario:
                        To  use  interactive form ui element  and place all fields of lfa1 in view.
         my context look like
                       context:
                                    adobe(node 1, 1:n, singleton = true)
                                       lfa1(node2,1:n,singleton =true) with its fields.
                                       pdf_source(attribute)
                       layout type : zci layout and xml interface.
        my view look like:
                                    all fileds of lfa1.
                                    button-add.(to add to below table)
                                    table.
                                    button-submit to sap.
    i want to place all fields in view and get values from the user online and need to display the same in an table in same view and
    when the user click ok entered values should be displayed  in table  and after clicking submit to sap it should hit the database table.
    as i am beginner dont know how to do.pls i need ur help in finishing it.thanks in advance.
    cheers,
    vinoth.

    hi all,
             expecting reply from u all. pls help me and give some sugesstion.
    regards,
    vinoth.

  • Offline Interactive Forms (Web Dynpro for ABAP)

    Hi Everyone.
    Please help me!!!
    Upload Offline PDF file to xstring context attribute by file upload in Web Dynpro parts.
    Set Offline PDF file uploaded via xstring context attribute in 'pdfSource' property of interactive form.
    I wish to view Offline PDF file and get data to context in 'dataSource' property of interactive form.
    Below restriction.
    - Web Dynpro for ABAP
    - Offline Interactive Forms
    - Zero Client Installation
    - ABAP Dictionary-Based Interface
    NetWeaver 7.0 (NW 7.0) SPS16

    Hi Daisuke,
    As per your requirement, to get done your work you need to create two Adobe Forms , one is for Offline Interactive Form and other is Online Interactive Form.
    In offline Interactive you design your form and define the Layout type as zci layout and Abap Dictionary Based interface. And by executing the form you can save the form to your desktop.
    Now in online Interactive Form you create the context similar to the one which has been created in the Offline Interactive Form. Now in one view you define the file upload functionality and in other view you define the adobe interactive form, for this the interface is automatically as it asks for the context and its of type XML based interface, also do maintain the context variable something like "PDFDATASTRING" with type XSTRING in the Component Controller and now in adobe view you give the property pdfstring as "PDFDATASTRING" and dont forget to provide the navigation of these two view, and set the File Upload View as default view.
    The above functionality can help you in some way or the other.
    Regards
    Pradeep Goli

  • Are ZCI interactive forms available via Web Dynpro for ABAP?

    Note 955795 talks about ZCI forms available via Web Dynpro for Java. Is this kind of forms also available via Web Dynpro for ABAP?.
    Do ZCI interactive forms work via Web Dynpro for ABAP without the need of ACF?
    If available, which support package levels are required?
    Regards

    Hi Mahamed,
    I got your problem. You have not done anything wrong.
    It is WebAS version which is not supported for this functionality.
    But there is solution to this problem
    Please refer to the SAP Note number - 1055738.
    I think you will get the answer and the scenario described there will match your requirement.
    This is a know issues with WebDypro ABAP but this works fine for Java Web Dynpro.
    I have also tried for 2 months but finally came to know about it.
    Regards
    Satya

  • Search Help on Adobe Interactive Form with Web Dynpro ABAP

    Hi All,
    I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
    I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
    Added Native WD UI element 'Value Help' to form to search for users and changed script
    *var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
    The problem is that when I click on the value help button, nothing happens.
    Is any more additional steps required ?
    Thanks
    Karu

    Hello
    Check this
    F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    Thanks
    Anirudh

  • Web Dynpro for ABAP Adobe Forms

    We have created a table with fields.
    How can we create a Web Dynpro for ABAP applicaton to populate these fields into an Adobe Form?

    hi,
    Refer this: /people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal
    If you have created Fields or Table in Adobe form then you can populate those fields in Adobe form.
    When you give the name of Adobe form in the Template Source Property of Interactive UI then screen will pop up asking to make contexts for the fields in adobe form.
    If you click on yes, then you will have automatically created context corresponding to Fields or Table in your WD application.
    Write the suitable logic to populate the Contexts in Wd Do init or using supply funciton
    This way your Adobe form will be populated with values.
    I hope it helps.
    Thanx.
    Saurav.

  • Web Dynpro for ABAP functionaility for HCM Proceseses & Forms in EhP4

    Dear Gurus,
    I read in one of the threads that HCM Processes & Forms are now Web Dynpro for ABAP based from EhP4 onwards. Can sameone provide me with any SAP link which corroborates this? Thanks.
    Regards,
    sameer Kadam

    Hi Divya,
    Thank you for your reply. I do have an S user id. However, the document that you specified is not readily accessible. Apparently, one needs to buy it online. Isn't there any other such related documentation- which is freely accessible?
    Thanks & regards,
    Sameer Kadam

  • HCM Processes & Forms : Migrating from JSPs to Web Dynpro for ABAP

    We are pretty well invested in HCM Processes and Forms.  We currently use JSP based forms as the UI for our notifications.   We do not, use Adobe Forms.
    For a number of reasons, we want to transition to forms based in Web Dynpro for ABAP.
    We want to bring a new scenario online using WD4A.  Down the road, weu2019ll very likely transition our old JSPs over to the new methodology as well.  
    I would expect that this is pretty well doable.  As part of a proof of concept, we did launch notifications from the web dynpro environment, had them initiate workflow, etc .  Weu2019ve also pulled up our web dynpro app from the UWL and portal.
    Has anyone gone through this specific exercise u2013 moving from JSPs to WD4A?  We are particularly interested in where the integration points will be, working with ISR_PROCESS_EVENT, etc.
    Your comments, suggestions, references, etc. are welcomed, as well as any discussion you may offer.
    Thanksu2026
    ...Mike

    And along the same lines, any thoughts around which of the following QISRDPROCESS_TYPEs might be a better choice?
    Entry Using ITS Service
    Entry Using Adobe PDF
    We currently use the ITS Service type.  I think this may be our first direction, replacing url links with links to our webdynpro application which woulds need to integrate calls through ISR_PROCESS_EVENT
    The Adobe Type seems interesting - Again, we do not, nor will, have Adobe Forms in place for this development.  But, I've read some discussion that folks have enhanced out of actual Adobe Form rendering.
    Again, the thoughts of the community are welcomed here.
    Thanks...
    ...Mike

  • How to debug Adobe form attached to Web Dynpro for ABAP

    Hi,
    My developer has created an adobe form and rendered inside a Web Dynpro page in the SAP Portal. It communicates with the Web Dynpro framework in the backend SAP system (Web Dynpro for ABAP).
    My question is, how would I know what infotype access this form requires, in the form of backend authorization role? Is there any way (not trace, ST01) to debug Abobe form on Portal or in backend SAP system?
    Thanks,
    Karan.

    Julius Bussche wrote:
    > I am not sure whether this will work in this case, but principally if your trace is recording a * value for a field in an authorization check, then it must be defined somewhere, and there is an option in the trace file to jump from the check to the source code location where it occurred.
    Yes, that's possible since the trace also records the information on the ABAP source code location where the AUTHORITY-CHECK statement (or other ABAP statements which internally trigger authorization checks) is executed. If I'm not wrong then there is a button (in ST05) which allows a direct source code navigation. Alternatively you might just click on the ABAP source code information displayed in the ST05 trace results (for recorded authorization checks).
    Cheers, Wolfgang

  • Adobe interactive forms in web Dynpro java

    Hi Everyone,
    I am new to webDynpro development and as I am working on Interactive forms, I need pdf's and related materials for the same.
    I mean pdf's for how to create Adobe interactive forms in web Dynpro java.
    Thanks in advance.

    Go Through the following document.
    It will give you good overview.
    Interactive Forms-->Functionality
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
    Cheers
    Satya

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

Maybe you are looking for

  • Wireless VoIP roaming - getting an 802.11g phone to roam with CCX / CCKM

    Hello, Our group is facing a pretty difficult issue at the moment, we are trying to deploy a wireless Avaya VoIP phone at one of our sites in Australia. The site in question is located in Western Australia, which is on the other side of the continent

  • Problem with outer join

    Tables Normal EMP TABLE and dept TABLE query SELECT e.deptno,d.dname FROM emp e , dept d WHERE E.DEPTNO(+)=D.DEPTNO AND (e.deptno=20 or e.job='CLERK') question When i use the above query i cannot get the extra records from dept table( 40 , OPERATIONS

  • View Options Still Broken

    View options was broken in Lion (some carried over, others became a white background with greyed out options). I was hoping against hope that this would get fixed in mountain Lion, but my User folder's View Options, for example, is still broken. What

  • OSX 10.7 Lion (client) on Mac Mini Server?

    So you think OS 10.7 Lion client is going to work on a new Mac Mini Server? With all the problems with 10.6.3 Client not working with a Mac Mini server I'm wondering if 10.7 will have all the correct drivers (the SD card drive, and ethernet, and issu

  • Transferring music from iphone to another iphone

    Hi i just want to copy my entire music from my library of iphone 4s to another iphone 4. what is the esiest way to do that? i want them in both iphones...