Interactive Form in WD ABAP, Blocks WEB page Interaction.

SCENARIO:
ABAP web dynpro with UIelement for interactive form display and editing.
1- 1st Web dynpro view with IForm element, (enable option = True) so user can edit the IForm.
2- Data node for Binding has 0-n cardinality (so in IForm a dynamic table will be generated)
3- 2nd Web Dynpro View, UI FileUpload for Iform Upload.
PROBLEMS:
1 - On Upload view, I tried the the Auto-Binding combining FileUpload and UI IForm element (as sap note) but dosen't work. For now I solved the problem the old way, converted the xml from binary to string, parsed the XML and then did backward-data-binding.
2- On PDF display view, the pdf is displayed correctly and it's editable, but any other actions user tries to do on the web page don't work.
2.1 I have a (navigate back) button on the web dynpro, but once the pdf is displayed, no interaction with the web page is possible.
NOTE: when enable option = FALSE, everything works ok, but Form is no more editable.
Can't find any sap notes that solve the problem, Help needed....

One more thing:
If I put the view that contains the Iform in a popup window, I get this error when I try to close the popup, or any action on the popup window:
Short text
    The ASSERT condition was violated.
What happened?
    In the running application program, the ASSERT statement recog
    situation that should not have occurred.
    The runtime error was triggered for one of these reasons:
    - For the checkpoint group specified with the ASSERT statement
      activation mode is set to "abort".
    - Via a system variant, the activation mode is globally set to
      for checkpoint groups in this system.
    - The activation mode is set to "abort" on program level.
    - The ASSERT statement is not assigned to any checkpoint group
method create_by_view_element.
  data:
    class_registry_entry type t_class_registry,
    mappings             type standard table of wdr_elem_ap
    mapping              type wdr_elem_apt_map,
    elem_defs            type sorted table of wdy_ui_elem_d
    elem_def             type wdy_ui_elem_def,
    new_entries          type standard table of t_class_reg
    adapters             type sorted table of wdr_uiel_adap
    adapter_def          like line of adapters,
    id_gen_entity        type string.
  if view_element is not bound.
==>    assert 1 = 2.
  endif.
  read table m_class_registry into class_registry_entry
       with table key view_element_cid = view_element->_cid

Similar Messages

  • Interactive form sample code(ABAP)

    I make an ABAP program using form FP_EXAMPLE_01 folowing training document "Printing Forms with Interactive Forms Based on Adobe Software" . But it can not run.
    I am new in Interactive form. Can you help me a full code sample to run this form FP_EXAMPLE_01, please.

    Error in adobe form
    check this.
    look at the Adobe page here in SDN:
    Use the Tcode : SFP
    https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
    Check these links on Adobe forms
    http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
    It contains lots of useful information, documentation, and e-learning materials teaching you the basics.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
    follow these links.
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    http://www.sapfinug.fi/downloads/2006/seminaari/uudet/SAP_Adobe.pdf
    https://weblogs.sdn.sap.com/weblogs/topic/45?x-o=50
    Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
    When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
    However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
    You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
    go thru this links
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
    example
    To get an overview idea about Adobe forms ,
    Using SFP Tcode , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
    And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
    Create the context and layout in the form.
    The layout generated can be previewed and saved as PDF output.
    Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
    On activating and executing the form you will get a function module name just similar to smartforms.
    The driver program needs to call this FM.
    Refer to the below sample code :
    DATA : is_customer TYPE scustom.
    DATA : it_bookings TYPE ty_bookings.
    DATA : iv_image_url TYPE string.
    DATA : iv_sending_country TYPE adrc-country.
    DATA : it_sums TYPE TABLE OF flprice_t.
    DATA : docparams TYPE sfpdocparams.
    DATA : formoutput TYPE fpformoutput.
    DATA : outputparams TYPE sfpoutputparams.
    PARAMETERS : pa_cusid TYPE scustom-id.
    SELECT SINGLE * FROM scustom INTO is_customer
    WHERE id = pa_cusid.
    SELECT * FROM sbook
    INTO CORRESPONDING FIELDS OF TABLE it_bookings
    WHERE customid = pa_cusid.
    outputparams-nodialog = 'X'.
    outputparams-getpdf = 'X'.
    *outputparams-adstrlevel = '02'.
    CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
    ie_outputparams = outputparams
    EXCEPTIONS
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    OTHERS = 5.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    docparams-langu = 'E'.
    docparams-country = 'US'.
    docparams-fillable = 'X'.
    CALL FUNCTION '/1BCDWB/SM00000043'
    EXPORTING
    /1bcdwb/docparams = docparams
    is_customer = is_customer
    it_bookings = it_bookings
    IV_IMAGE_URL =
    iv_sending_country = 'US'
    IT_SUMS =
    IMPORTING
    /1bcdwb/formoutput = formoutput
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'
    IMPORTING
    E_RESULT =
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Plzz reward if it is useful

  • Uploading data from Interactive form in Webdynpro ABAP

    Hello All,
    I am uploading data from an Offline interactive form to an ABAP WebDynpro application. Form is first downloaded, data is filled and now I am trying to upload the form to another WebDynpro application. Form DataSource is mapped to Context node with same data structure. However when I upload the form, form data does not pass automatically to specified context node.
    Do I miss any important step in between? I am on SAP NetWeaver 2004s SP10.
    Thanks,
    Nitesh Shelar.

    hi,
    the data is automatically passed to the context when the "interactive form" UI element is there in the view.
    when you just upload the pdf, just like that, it will treat it like a PDF file, not an interactive form....
    try using the same interactive form which you used to create the offline form.
    i hope this helps,
    regards,
    -ag.

  • Adobe interactive form in wd abap

    hi,
    When i set the enabled property to true for the interactive form in WD ABAP, it either doesnt display the form or the form comes in display mode,
    Can you please tell me know if any,
    Thanks,
    Saujanya

    Hi Saujanya,
    The interface of the UI element InteractiveForm contains the method
    SET_LEGACY_EDITING_MODE, which in turn contains a Boolean parameter. The form is
    then ready for input when
    ● The parameter has the value X.
    ● The property enabled in the UI element InteractiveForm is selected.
    The following code fragment shows how this input readiness can be set up:
    method WDDOMODIFYVIEW.
    data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    check first_time = abap_true.
    LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT(u2018INTERACTIVE_FORM_1u2019).  
    *Replace INTERACTIVE_FORM_1  with  Property 'ID' of your UI element InteractiveForm
    LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    endmethod.
    Regards,
    Runal

  • Is it possible to use Adobe Interactive Forms in SAP (ABAP) Trial Version?

    Dear All,
    i need some help concerning the usage of Adobe Interactive Forms in SAP (ABAP) Trial Version.
    I installed SAP Netweaver 7.01 (ABAP Trial Version) and i would like to use the Adobe Interactive Form editor (transaction SFP). Is this trial version prepared for this? Is it possible to edit and test Interactive Forms in the ABAP Trial Version too?
    Somebody told me that he installed Adobe Lifecycle Designer 7.1 but the layout manager part of the editor shortdumped when he wanted to go back to other  parts of the editor or he wanted to save what he did...
    Is it enough to install Adobe Lifecycle Designer 7.1? Is there something else to install or configure?
    Thank you for your help in advance.
    All the best, P. Phil.

    Yes, you need the lifecycle designer installed.  That should be enough to work with the SFP transaction.  But to actually use the form, I think you do need the ADS(Adobe Document Services) which runs on the java stack.
    Regards,
    Rich Heilman

  • Can we create Interactive forms only with ABAP & without using GP,  or Java

    Hi,
    I would like to know if we can create Interactive forms only with ABAP & without using GP or Java. We want to develop an offline solution using Interactive forms, but would like to use only ABAP for creating the forms. All the documents so far either refer to creating the forms, in reference to / in sync with: ISR (Service Requests), GP (General Procedures) or Java. Can this be done with ABAP alone?
    Regards,
    Ramesh
    Edited by: Ramesh Nallabelli on Apr 16, 2008 12:02 AM

    Hello Ramesh,
    You should be able to create Adobe Interactive Forms using only the ABAP stack (without GP, Java, etc). Please refer to the thread below. Hope it helps.
    Re: help for-offline interactive forms based on sending receiving mails in ABAP
    Regards,
    Rao

  • Using Interactive forms in Webdynpro Abap

    Hi all,
    I need to learn using Interactive forms in Webdynpro Abap. Can any please tell me from where to start with and what are the things that needs to be installed extra in the client system.
    Also please tell me where i can get the tutorials on it..
    Thanks,

    Hi,
    try this.
    You can download the Adobe LiveCycle Designer installer from SAP Service
    Marketplace:                                                                               
    http://service.sap.com/installations                                                                               
    Entry by Application Group                                              
    -> SAP NetWeaver                                                        
    -> SAP NETWEAVER                                                        
    -> SAP NETWEAVER 2004S                                                  
    -> Installation and Upgrade                                             
    -> <Choose any OS and DB combination.>                                  
    -> Adobe LiveCycle Designer 7.1                                                                               
    Download this file and extract it to your local hard drive.             
    Regards, Heidi
    PS: See <a href="https://service.sap.com/sap/support/notes/962763">note 962763</a>
    Message was edited by:
            Heidi von Geisau

  • Online Interactive Form - Blocks Web Page

    SAP BASIS LEVEL: 15
    (ADS)  connection test: 800.20080218110307.448744
    Adobe Reader 8.1.2
    last sap note implemented: 1092088 (to enable pdf editing)
    test: FP_TEST_IA_01 - works properly!
    SCENARIO:
    ABAP web dynpro with UIelement for interactive form display and editing.
    1- 1st Web dynpro view with IForm element, (enable option = True) so user can edit the IForm.
    2- Data node for Binding has 0-n cardinality (so in IForm a dynamic table will be generated)
    3-  2nd Web Dynpro View, UI FileUpload for Iform Upload.
    PROBLEMS:
    1 - On Upload view, I tried the the Auto-Binding combining FileUpload and UI IForm element (as sap note)  but dosen't work. For now I solved the problem the old way, converted the xml from bin to string, parsed the XML and then did backward-data-binding.
    2- On PDF display view, the pdf is displayed correctly and it's editable, but any other actions user tries to do on the web page don't work.
      2.1 I have a (navigate back) button on the web dynpro, but  once the pdf is displyed, no interaction with the web page is possible.
      2.2 Context binding between WD and IF, not working properly, seems to add empty elements in the data node. (if in WD context i have N elements - IN IF Data Herarchy I have N + M elements, M = empty elements)
    NOTE: when enable option = FALSE, everything works ok, but Form is no more editable.
    Help needed....

    One more thing:
    If I put the view that contains the Iform in a popup window, I get this error when I try to close the popup, or any action on the popup window:
    Short text
        The ASSERT condition was violated.
    What happened?
        In the running application program, the ASSERT statement recog
        situation that should not have occurred.
        The runtime error was triggered for one of these reasons:
        - For the checkpoint group specified with the ASSERT statement
          activation mode is set to "abort".
        - Via a system variant, the activation mode is globally set to
          for checkpoint groups in this system.
        - The activation mode is set to "abort" on program level.
        - The ASSERT statement is not assigned to any checkpoint group
    method create_by_view_element.
      data:
        class_registry_entry type t_class_registry,
        mappings             type standard table of wdr_elem_ap
        mapping              type wdr_elem_apt_map,
        elem_defs            type sorted table of wdy_ui_elem_d
        elem_def             type wdy_ui_elem_def,
        new_entries          type standard table of t_class_reg
        adapters             type sorted table of wdr_uiel_adap
        adapter_def          like line of adapters,
        id_gen_entity        type string.
      if view_element is not bound.
    ==>    assert 1 = 2.
      endif.
      read table m_class_registry into class_registry_entry
           with table key view_element_cid = view_element->_cid

  • Submit Interactive Form using button on Wed Dynpro page instead of in PDF

    Say I've a Web Dynpro page with an interactive form embedded. Is it possible to have on the page an HTMLB button, when clicked, submit the interactive form to an iView on EP? I haven't found any tutorials showing something like this. Please advice.  Basically I need to make this adobe form/web dynpro app interact with the portal (passing the completed form to the portal)? any help will be greatly appreciated. thanks again.

    Hi Mick,
    I don't get your exact requirements.
    What i get is, you want submit to SAP button outside the adobe forms and on the webdynpro page.
    Yes, you can do this thing. Whenever webdynpro page has any events at that time whatever the values on the adobe form are reflected into the node which you have bound with the Interactiveform UI element.
    So, you can place your button outside adobe form also.
    Now, for "submit the interactive for to an iView or EP" I can't get exactly what you want. But i can say that you can manipulate your adobe form in code using pdfObject.
    Check the SAP tutorial for manipulating pdfObject.
    Regards,
    Bhavik

  • How do I get the PDF Convert feature of Adobe Acrobat Pro Extended 9.4.4, which makes a PDF of a web page interactive, to work in Firefox 4.0.1?

    I just installed (on my Windows 7 Ultimate (64 bit) operating system/Intel i5 CPU M560 2.67 GHz) and am now using as my default browser Firefox 4.0.1 because Internet Explorer 9 was giving me so much trouble--lack of display of web content, lack of PDF reproduction when web content displayed, screwball formatting display, etc., all of which has been remedied by the mere installation of Firefox 4.0.1.
    How do I get the PDF Convert feature of Adobe Acrobat Pro Extended 9.4.4, which converts a web page to an interactive PDF, to set up and work on Firefox 4.0.1?

    You can not do that using Adobe Acrobat 9. Adobe never made a create PDF add-on for Firefox for use with Adobe Acrobat 9. They created a Firefox add-on for use with Acrobat X, but currently that one does not work with Firefox 4 though Adobe are working on an update.

  • Interactive Form in wD abap - SPFDOCPARAMS `?

    hi folks,
    we use adobe interactive forms that are processed inside a webdynpro abap application, shown on the screen. we want to show them in another language than in the logon-language, but how can we pass spfdocparams here, as it is not part of the node?
    standard-forms we call with the generated function-module where we can pass this parameter, but how to deal in a webdynpo abap application.
    best regards,
    oliver

    Hi Oliver,
    A tiny improvement of Otto's solution:
    replace 6) by
    6) assign the PDF to a Context Attribute of type XSTRING (named "PDFSOURCE"?)
    7) bind this Context Attribute to the property "pdfSource" of an interactiveForm UI element
    8) do not set the properties "dataSource" and "templateSource" of the interactiveForm UI element
    9) set property "enabled" of the interactiveForm UI element to "abap_false"
    Note: This is a workaround for print forms only. Never ever try to assign an interactive form for this properties combination!
    Ralf

  • How to call interactive form using webdynpro abap.

    Hi Sap Guru's,
    I have Created Invoice Interactive form using SFP Transaction , now my requirement is ,
    Need to Call that invoice form using webdynpro abap by passing invoice number(vbeln) from the screen.
    please suggest .
    thanks

    Hi Suresh,
    Refer <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm">Interactive Forms in WDA.</a>, this is the best one .
    Welcome to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms">Interactive Forms.</a>.
    Do post your queries on Interactive Forms in SAP Interactive Forms by Adobe.
    Rgds,
    - anto.

  • Populating values in a dropdown field on the interactive form using WD ABAP

    Hi All,
        I want to populate values in a dropdown field( of cardinality 0:n ) on interactive form,The values which i want to populate is from a 'z' table which i have created.I used a select query to fetch the entries but on my interactive form the values are flowing in many rows and not in the drop down.I want all the values to be in the dropdown.The dropdown is not showin even one value under it.I am using webdynpro abap and controls from webdynpro native.Can anyone guide me on this with a step by step procedure.
    Useful suggestions will be rewarded.
    Thanks and Regards,
    Srividya.

    You mean in PFR of controller , ie after user selects a record from LOV window and after its populated back into to the textItem on the main entry form ??
    The value is displayed correctly in the intended textItem which has viewInstance and viewValue attached to it .
    so this is what setup looks like
    Entry form
    Customer Name - lov
    Customer Number(d) - Display Only - Populated by Lovmappings from LOV - mapped to Customer Number attribute on LOV window. It also has viewInstance and ViewAttrib assigned to it .
    Save Action
    At this point of time , i am assuming i already have value in Customer Number(d)since its displayed on the screen,rite ??
    or Do i have to take the value in formValue and then explicitly do a setAttribute to set that value to view object /Customer Number(d)
    hope this helps to understand the scenario

  • Cannot save the Interactive form downloaded from abap webdynpro application

    Hello Everyone,
    Can anyone help me here.
    I have created an interactive form in SFP tcode and used in abap webdynpro application.
    scenario is i can downloade the form,fill it, sign it,save it and submit the form.
    Some thing is going wrong when i try to sign the form downloaded from the application.It is giving the error ->
    The document could not be saved. there was a problem in reading the document(26).
    When i try to sign the form save as dialog box will come where we can save the filled form.but here when itry to save it is giving above error.and also i cannot save thye form form file option.
    but form is working fine from sfp tcode not form application link.
    What is going wrong.Can somebody please help me here.
    Regards,
    Menaka.H.B

    Check the enabled and readOnly property of the InteractiveFormUI element in your application.
    enabled should be true and readOnly should be false.
    Also just FYI interactive forms are licensable in Productive environment for which you need Adobe Credentials. You may contact SAP Account Manager and Note 736902 for it.
    Chintan

  • Displaying booking form errors on custom redirect web page

    I have an event/booking with a registration web form that redirects to a custom web page (not the system page for bookings). If a customer signs up on the form using an email address of someone already registered for the event, their booking is not recorded, but I can't find a way to present the error on the web page that they are redirected to upon submitting.
    The workflow notification includes the message, "ERROR: Booking could not be made as this email address is already registered for this booking."
    There is a record of the failed attempt on the customer record with the email address that was used, but I need a way to tell the customer that their booking was uncessessful due to the email address used. Placing {module_error} on the web page doesn't seem to do the trick.
    Any help is very appreciated.
    Jake

    I suspected that might be the case. Thank you for confirming. Any idea if the URL parameters applied to the redirected page indicate that there were errors? That would be awesome!
    Jake

Maybe you are looking for