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

Similar Messages

  • 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

  • OVS Search Help in Web Dyrnpro Java Online Interactive Form

    Hi Experts,
    Is there any  OVS Search Help control we can use in Online Interactive Form as a as we have in Web Dynpro java. Can we assign this search help to any existing control.
    If it is not possible can we call a Web Dynpro View as a popup from Intefactive Form such that field search can be done in popup window and on selection the resultant record should populate to Interactive Form control.
    Please suggest me feasible solutions
    Thanks
    Chinna..

    Hi You can create Value Help in Webdynpro to show F4 Help values.
    Follow this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2833ce90-0201-0010-f1af-d3cfe1155b16
    Reward Points if Helpful
    Edited by: Praveen Kommineni on May 7, 2008 8:05 PM

  • Navigation problem while using Adobe interactive form in web dynpro

    Hi frds,
    I have a 2 views..
    1st view contains an ADobe from and a button to navigate to the  2nd view..
    No problem with the first view.. displays everything...
    The Problem is when i click the button to nsvigate to the 2nd view, its not loading...
    Wait symbol is coming...
    Please Help me friends...

    hi ,
    pls use  the ZCi layout for the adobe interactive form .
    Need to Insert the web dynpro script to the form.
    Note: Make sure to upgrade the Adobe Interactive for ZCI type using SFP_ZCI_UPDATE transaction
    Subsequently, check whether the update of the ZCI was successfully completed. To do this, open your form in the Adobe LiveCycleDesigner and check the version information of the ZCI script. The ZCI script is available on the "Hierarchy" tab page under the "ContainerFoundation_JS" name. The version must be800.20080513120641.469612.469346.
    You can also have a look at this e-learning.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20029530-54ef-2910-1b93-c41608ae0c90
    Refernce thread : adobe online interactive form
    regards ,
    amit

  • Online Interactive form - ZCI Layout

    Hi All,
    I'm creating an online form on release 701 level 2 and am having problems with ZCI layout.
    I have created forms before with this layout to use feautures such as search help.
    Can anyone tell me what the latest recommended layout format is, ZCI or Standard?
    With Standard layout my form interface binding works but search helps lock up the form after use but with ZCI the search help works but only the field with the help is bound to my interface successfully on the submit method.
    I have reverted back to Adobe Reader 8.2 but this is still extremely flaky.
    Thanks,
    Gregor

    Hi Chintan,
    Yes the script has been inserted. The more I look at this the more I am thinking that online interactive forms are not fit for purpose.
    I guess there are some use cases but a web dynpro page would serve this purpose better with better integration into SAP etc.
    I am using version 8.2 of Adobe Designer but keeping versions of Designer and Reader and different versions of the ZCI script in line is not feasible. Adobe Reader can auto update so what if a user has updated from 8.2 to 8.3 and suddenly all the forms stop working?
    I understand that integrating between the browser and the embedded PDF is no mean feat but I'm going to stick to using Adobe Forms for offline use or print outputs.
    tl;dr HERE BE DRAGONS

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

  • Adobe Interactive Forms without Web Dynpro and ACF???

    Hi All, we would like to build an interactive forms solution based on the Adobe software integrated into WAS. However, the customer requires a true thin client application with no additional installation on the client. Integrating Adobe Interactive Forms into Web DynPro however requires the Active Component Framework (ACF) to be installed since these forms are integrated into the page within an ActiveX container.
    So the question is whether there is a way to use Adobe Interactive forms including the Adobe Documents Service within WAS but without(!) using Web Dynpro?(the full blown Adobe LifCycle Forms solution is not an option). Any suggestions on this are highly appreciated!
    Tanks!
    Frodo

    Hello everyone,
    I would like to add a couple of points from the SAP Product Management perspective.
    Adobe has a number of stand-alone products that are the foundation for what SAP can now offer thanks to our partnership. This is exactly why we decided on a partnership that provides us with established technology, which is now integrated.
    It is true that Web Dynpro is the main SAP way of integrating the interactive functions of the solution. We made this decision consciously, because the development and run-time environments provide very useful features that reduce the need for manual coding, such as the possibility of passing the data back to the backend using the Web Dynpro context. The automatism we offer here needs to be implemented from scratch with any other solution, including the Adobe stand-alone one.
    While it is true that the ACF constitutes a certain limitation for the reasons you mention, Adobe will remedy this in 2005. The Reader/Web Dynpro integration will be available later this year for multiple platforms (OS, browsers) and will not require ACF anymore.
    If you do not want to use a full-blown Web Dynpro application for your concrete scenario, consider developing an application that provides nothing but the interactive PDF form to the end user, to be filled in using the stand-alone Reader. The submit of the form data (with or without the PDF itself) could then happen via HTTP or e-mail.
    Kind regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • F4 help in online interactive forms using ABAP

    Hi,
    Question 1:
                     I am able to get f4 help in online interactive form using ABAP. but after selecting the value from pop-up the value is not populated in PDF field. Can u help regardiing this.
    Question 2:
                     I am able to get f4 help in online interactive form using value help dropdown, first time if i click the dropdown button it is showing the popup, if i click second time it is not showing the popup.
    Thanks & Regards,
    Krishna

    Hi,
    1. I you are woking from the Web Dynpro for ABAP then after binding the Context variable in the view, and in the Adobe Layout Designer from the Library goto WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
    Var fieldname = "yourfieldname";
    Note: dont forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
    And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
    Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
    2. Only the Submit button , the Enumerated Drop-Down List as well as the Value help button from the Web Dynpro Native library of Adobe LiveCycle Designer are supported. Check SAP Note: 1098009
    Regards
    Pradeep Goli

  • Online interactive form using ABAP

    Is it possible to create an ABAP program for Online Interactive form (NW 2004)? or do we need ABAP Webdynpro (NW 2004s)?
    We have implemented an offline scenario i.e. create an interactive PDF, fill the forms, save it, upload it and extract information from PDF.  It is working fine.  But we are not able to implement online interactive scenario.
    Any suggestion?
    Thanks,
    Pranav

    While SAP certainly does not recommend to create interactive scenarios from transaction SFP (please use Web Dynpro for such scenarios), it is not entirely correct to say that it is not possible.
    The issue we see is that SFP was created for output forms, i.e. "one way out of the system" (to print etc.). Interactive Forms is based on XML, which means that in ABAP you need to convert the ABAP structures to XML for generation of the PDF on the ADS, and - in interactive scenarios - on the return trip you need to convert the XML (in the PDF) back to ABAP structures. The conversion from ABAP to XML and vice versa is done in the background automatically by the Web Dynpro environment, which is why we recommend it for interactive use. There is no automatic back conversion in SFP, i.e. you'd need to handcode this - which means additional cost and potential for error.
    Hope this helps,
    Markus
    and, thanks, Eddy, for pointing out that the FAQs need an update...
    Markus

  • Error on Online Interactive form:

    hi,
    i have encountered this error while trying out the Online Interactive form:
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Severe : PDFDocument is NULL. Exception : Service call exception; nested exception is: java.net.UnknownHostException: pwdf3102. i do not know where is the root cause?

    Hello,
    Cause is a wrong configuration of the ADS web service client on your J2EE engine - this config is described in the ADS config guide.
    Regards,
    Francois

  • F4 Help online interactive form

    Hi,
    Im designing an online interactive form in WD ABAP. I got the context from a BAPI and mapped to view context. Now how to map F4 field from data view to UIelemnt?
    Im dragging value help dropdown list from webdynpro activex palette to the form and selecting that field from dataview and dropping on the value help dropdown which i placed before. Doing like this the field is changing to text filed.
    Is this the right of way doing for getting f4 helps in to interactive form? Should my filed in dataview should have anyother properties to be a f4 help?
    Can some one help me on this?
    Regards,
    J.Smitha

    Hi Jawaji,
    Here is a note about input helps...
    [Note 1035630 - ISR WebDynpro ABAP UI: Input helps from ABAP Dictionary|https://service.sap.com/sap/support/notes/1035630]
    Also, when you defined your form, under the properties tab, what did you select for the Layout Type?  There is:
    - Unknown Layout Type,
    - xACF Layout
    - ZCI Layout
    - Standard Layout
    You should be choosing the ZCI Layout.  Then from inside your form, you want to select the Value Help Dropdown List from the Web Dynpro Native library, not the ActiveX one, unless your form is of type xACF.
    Once you have the element on the screen, go to the Object tab and select the Binding tab.  Under Default Binding, navigate to the field that you want bound to the dropdown.
    Next, select the Field tab.  You should see a parameter there called List Items.  If it is not green and underlined green, click on the little black triangle that points to the right, and select Show Dynamic Properties.
    Then click on the green List Items link.  Inside the popup, you want to put the following line of code in the Items binding:
    $record.sap-vhlist.FIELD_NAME\.DATA\.FIELD.item[*]
    where FIELD_NAME is the name of the field that you have previously bound to the dropdown.  I'm not 100% sure on this line, this is what works when developing an HCM Process & Form form.
    Hope this helps...
    Cheers,
    Kevin

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

  • 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

  • DropDown in Online Interactive Forms Not working.

    HI:
    I am working on Online Interactive Form for Purchase Requisition.
    I have a dropdown in the dynamic table and I am trying to populate the same in DoInit().
    I am using the following code. But the drop down is displayed empty.
    DATA:
    lr_node_info type ref to if_wd_context_node_info,
    lt_value_set TYPE wdy_key_value_table,
    value_set_item TYPE wdy_key_value.
    types:  BEGIN OF TY_UOM,
            UOM TYPE T006-MSEHI,
            END OF TY_UOM.
    *Define Internal Table and work area.
    DATA: IT_UOM TYPE STANDARD TABLE OF ty_uom,
          WA_UOM type ty_uom.
    lr_node_info = pr_node2->get_node_info( ).
    data j type i.
    j = 1.
    SELECT MSEHI FROM T006 INTO wa_UOM.
    value_set_item-key = j.
    value_set_item-value = wa_uom-uom.
    insert value_set_item into table lt_value_set.
    insert wa_uom into table it_uom.
    j = j + 1.
    ENDSELECT.
    lr_node_info->set_attribute_value_set( NAME = 'UNIT'
    VALUE_SET = lt_value_set ).
    Can any one tell me what is wrong with the above code? and provide a sample code for the same.
    Actually I have a dropdown for UOM in the table and trying to populate it.
    The hierarchy is as follows
    BAPI_REQUISITION_CRE ->CHANGING -> REQUISITION_ITEM->DATA->Unit
    Thanks
    Vijai

    Hi Thomson,
    Create a context node A with cardinality 1..1 and in this create a context node A1 with cardinality 0..n and in this node create attributes TEXT and VALUE.
    Now goto method and in that method using code wizard read the node A1.
    And use the below code snippet sample in your program
    *Declare the TYPES
    TYPES :  BEGIN OF TY_TABLE,
                   TEXT  TYPE SOMETYPE,
                   VALUE TYPE SOMETYPE,
                  END OF TY_UOM.
    *Define Internal Table and work area.
    DATA : IT_TABLE TYPE STANDARD TABLE OF TY_TABLE INITIAL SIZE 0,
               WA_TABLE TYPE TY_TABLE.
    SELECT TEXT VALUE FROM TABLENAME INTO TABLE IT_TABLE.
    lr_node_info->bind_table( IT_TABLE ).
    And in the Adobe Form Layout
    Go to Menu of the Adobe LiveCycle Designer:
    Tools>Options..>DataBinding
    In that window u just check the Show Dynamic properties Check Box.
    Now for the Drop Down go the binding tab in object palette and click on the list items and there specify the text as the internal table text field and value as internal table value field and select the internal table.
    Regards
    Pradeep Goli

Maybe you are looking for

  • OUI-25031 error in Oracle 10.2.0.1 on RHEL 5

    Hi, i am installing Oracle 10G(10.2.0.1) in RHEL 5. The Netconfiguration assistent is not getting installed due to the OUI-25031 error. Is that a bug?? or Do i need to change any OS configuration??? Regards, 007

  • Set filter criteria on page 1 for page 2 OData model - "best practice"?

    Hello, I have a problem with an app - where I want to filter data on a second page, based on settings from the first page. I use an OData model. The collections on both pages are not related in terms of "navigation" properties, that is my problem and

  • BDC problem with back button

    Hi all, i have idoc number in alv output.when the user clicks on this ,it should take the control to BD87 transaction with idoc number getting transferred there .also BD87 screen has changed on select option where the default is sy-datum .i need to c

  • Secure web service problem

    We're using WebLogic 8.1. I'm trying to be the client to a web service on a .NET server. They have given us the public key, but not the private key. I have successfully executed clientGenTask to generate the client code from their WSDL. Now I am tryi

  • Show record number in forms

    Hi Sir, When I retrieve 10 records, I would have a non-database column on form to show the record number from 1..10. When I delete one of the record in the middle of the 10 records, say record 5, all the other record number should be reflected correc