Drop down error in Online Interactive Forms

Hi,
I have used a Value Help drop down in my form so that i can get data from a datasource. However when i click on the arrow i get the followin error :
java.lang.NullPointerException
at com.sap.tc.webdynpro.clientserver.event.PDFValueHelpServiceEventHandler.handleServerEvent(PDFValueHelpServiceEventHandler.java:125)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleServiceEvents(WebDynproMainTask.java:501)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:653)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Can anyone please help?
Rhanks,
Malita

Hi,
There are two options to do that, first by web service which suits best the offline scenario and another by server round trip which is possible in online scenario only.
For web service scenario you have to create data binding in the form with web service data node, (search SDN for suitable document explaining the scenario with web service for more info). Every time the user will choose value from DD the web service will trigger to fetch data based on user input.
Second scenario uses server round trip. In this method you have to call the submit method in web dynpro view with some conditions that it is called through DD to fetch values. Use some flag variable to differentiate between the final submit and DD value help submit.
There is one more option but the performance of the form will get affected based on the data used for the DDs.
In that method you have to maintain the data for each US, Europe, Asia in a table. Based on user input fetch value from that table in the specific dropdown using script on the form.
Regards,
Vaibhav

Similar Messages

  • 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

  • Drop-down liast in Adobe interactive forms

    Hello,
    We have 3 regions, US, Europe and Asia Pacific and each region has a manager.
    Now, am developing a Interactive form with Webdynpro for ABAP (pls. note always FORM is only one) for these regions/managers. Manager pressess submit button for approval.
    I have 19 drop-down (Enumerated drop-down with SELECT) fields in this form.
    Regardsing the field 'DROP_DOWN_1' :
    US manger should get 7 values in the drop-down list with a 'US_DROPDOWN' default, if manager donw want to keep this value, he can change/over ride and submits the form.
    Europe manger should get 5 values in the drop-down list with a 'EUROPE_DROPDOWN' default, if manager donw want to keep this value, he can change/over ride and submits the form.
    Asia Pcific manger should get 11 values in the drop-down list with a 'ASIA_PACIFIC_DROPDOWN' default, if manager donw want to keep this value, he can change/over ride and submits the form.
    Pls. let me know
    1) Is DYNAMIC drop-downs possible?
    2) If so, where should i mainatin the code, is it in FORM level scrpting? webdynpro abap code?
    3) If FORM level script, webdynpro has to pass these drop-down values to FORM via CONTEXT, is it right?
    4) Any settings for this dynamic functionality either FORM setinsg to webdynpro settings?
    Thank you,

    Hi,
    There are two options to do that, first by web service which suits best the offline scenario and another by server round trip which is possible in online scenario only.
    For web service scenario you have to create data binding in the form with web service data node, (search SDN for suitable document explaining the scenario with web service for more info). Every time the user will choose value from DD the web service will trigger to fetch data based on user input.
    Second scenario uses server round trip. In this method you have to call the submit method in web dynpro view with some conditions that it is called through DD to fetch values. Use some flag variable to differentiate between the final submit and DD value help submit.
    There is one more option but the performance of the form will get affected based on the data used for the DDs.
    In that method you have to maintain the data for each US, Europe, Asia in a table. Based on user input fetch value from that table in the specific dropdown using script on the form.
    Regards,
    Vaibhav

  • Creating a dependent drop down box in an interactive form?

    Hello -
    I'm pretty new to Acrobat and not fluent with JS (I'm a chemist), so please forgive me if this seems a silly question:
    I'd like to create a form wherein there are two drop down boxes and the choices seen in the second of the two are dependent upon the choice made in the first. An example of such might be a list of departments in the first field and a list of staff in the selected depertment in the second field.
    I'm using Acrobat ver 7.0 (Pro) with Designer, by the way.
    I've been able to do this in Excel through use of validation functions, but I'd like to get away from Excel if at all possible.
    Thanks very much in advance!
    Chris

    To keep the department/cities sample; i'll try to explain you how i did it in Designer:
    I created a "variable" bloc (at the bottom of the Hierarchy tab) called Cities
    An other one called Departments
    A last called CitiesFunctions
    In the Cities bloc, i declared an array with all cities.
    In the Department bloc, I declared an array by department. In each array, i have 2 items : the index of the first city of the department in the cities tab and the index of the last city of the department in the cities tab.
    On my form, I created a dropDownList called Department (populated with departments) and an other called cities initialized empty.
    On Department change event:
    I rase the cities field.
    I call my function getCitiesByDpt in my CitiesFunctions bloc with the department in parameter.
    In these function I call the array corresponding to the department in the Cities bloc and I populate my listBox cities by the results (tab of cities from parameter 1 to parameter 2 of my Department array).
    Carrefull : if a list has too much items, you should create a "manual list" composed of 1 textField, 1 button, 1 listBox (it's better for performance)
    After than, always by script, you can restrict you second list by the sequence of characters eventualy keyed in the field Cities.
    I hope i'm a little beat clear ! it's hard to explain in a forum (and sorry for my french english...:))
    Pierre.

  • Drop down list in adobe interactive forms

    I try to bind between RFC to DropDownList
    And The DropDownList is not open, and i can see just the first element from all the elements
    i want to see all of the elements
    what i need to do?
    by the way in WebDynpro it's work.... in Adobe Not
    thanks
    Yossi

    Are you using LiveCycle Designer or Acrobat to create the form? This forum is for forms created with Acrobat, and dropdowns in Acrobat do not behave the way you want.

  • Drop down values in Adobe print form, WDA.

    Hi All,
    I would like to know, how we can dynamically display drop down values in an interactive form developed either through report programme or WD ABAP.
    I passed an internal table, but it didnt work.
    I tried the ISR way, even then i couldnt get much success.
    I even tried using the dynamic properties.
    As per my understanding, i need to pass the values as index- text pairs and add some script to the field.
    Kindly help on the steps i need to follow. Any suggestions are welcomee [:)]. I require to fetch the DDL values from database tables.
    Kind Regards,
    - anto.

    hi,
    to populate the dropdown list you can do it...
    1). manually or 
    2). by code
    1). <b>manually</b> go to interactive form->edit
         go to Object tab->field tab ->
         you must see something like
         List Items :
         Text     + x
         click on the green + sign...
         it promps you to type. type in the value press enter... and so  on...
    2) <b>by Code...</b>
        //set up contents of a drop down list dynamically...
        IWDAttributeInfo countryInfo = wdContext.nodeTravelData().getNodeInfo().
                getAttributeInfo().getAttribute("DestinationCountry");
        ISimpleTypeModifiable countryType =
                countryInfo.getModifiableSimpleType();
        IModifiableSimpleValueSet countryValueSet  =
                countryType.getSVServices().getModifiableSimpleValueSet();
        countryValueSet.put("1","Germany");
        countryValueSet.put("2","UK");
    This will work....
    regards,
    -amol gupta

  • 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

  • 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

  • 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

  • SOAP Framework error while activating interactive form in SFP

    hi everyone,
    I am new to adobe forms, I got an error while activating interactive form
    SOAP Framework error: SOAP Runtime Exception: CSOAPExceptionTransport: HTTP response contains unexpected content-type(100,101).
    I am unable to trace this error, can anyone plz let me understand for what reason this error occurs.
    Thanks in advance.
    - Aditya

    Its an issue with ADS installation or configuration. Let your BASIS team know about this error with screen print. We had same issue and BASIS fixed it.
    Raja

  • Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotfo

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

  • Dynamic  table in Online Interactive form

    Hi,
    Scenario:
       I am doing an Online Interactive form scenario in WebDynpro for Java. In the form, i will be having a dynamic table(the number of rows will grow and shrink, with the help of ADD and DELETE ROW buttons). Initially, that table will have only one empty row.
    Imp: The fields in the table are bound to the data source node, whose cardinality is 1..n. (I want the data enetered in the table in Interactive form, to be updated in the WebDynpro context also).
    Problem: After deploying the application,
      I fill the first row, click ADD button. A new empty row is created. No problem here.
      I fill the second row. Then, when I click the ADD button, a new row is created, but with the values in second row.  
    Even if i create 10 new rows, the values are repeating in all those rows. If I change the value in a row, it reflects in all rows(except first row).
    Note: If the table fields are not bound to any data source node, then I dont have the above mentioned problem.
    Thanks,
    Prabhakar.

    Hi,Prabhakar
    In the note 1090464 It says that this is a limitation of the Subform Instance Controls(the same in table ui element).
    It looks like currently the only workaround is to build in advance empty nodes but then it limits the number of rows in your table.
    Regards,
    Michael

  • Editing online interactive forms using Acrobat XI Pro

    Our organization recently purchased Adobe Acrobat XI Pro in hopes of using it to create and convert many of our forms to electronic format.  We recently tried opening an existing online interactive form to edit it and it says "This form cannot be edited in Acrobat.  Please use Adobe LiveCycle Designer to edit this form".  Did we purchase the wrong product for what we are trying to do?  I'm in panic mode because we are very new to this type of editing and I hope we didn't purchase the wrong thing.  Any suggestions?

    There are two kinds of PDF forms: Acrobat forms and LiveCycle Designer
    forms. The latter are actually XML files and can only be edited in
    LiveCycle Designer, which used to be bundled with Acrobat Pro but is not
    any more. If your forms were created in LCD then you need to purchase that
    application as well if you want to edit them.
    On Wed, Oct 29, 2014 at 3:01 PM, Friend of the Library <

  • Possible to retrieve data from the backend using online interactive form ?

    Hello All,
      I am currently developing an online interactive form and in it, a textbox which allows user to search for employee data in the backend in the event that the default name is not correct. However, I noticed that in the proerty field of my interactiveform, there is only OnCheck and OnSubmit. Is it possible for me to make a search in the backend and have the results returned to my adobe form again ?
    from
    Kwok Wei

    Hi Kwok Wei,
    OnSubmit and OnCheck work in the same way. So if you need 2 buttons in your form then you can use both of these.
    I have never tried passing parameters but you can define context attributes and assign values. Later these can be accessed from the onSubmit Method.
    Regards,
    Sangeeta

Maybe you are looking for

  • Best Practice for custom controller

    Hi Experts, In my current project we have one DC with single component and 12 views (4 business functionality each has 3 view flow ). Now complete logic is in component controller itself and planning to divide business logic into 4 custom controller

  • Which computer for logic express 8

    Hi. I'm looking to buy an apple computer and logic express 8. I want a laptop that is powerful enough to run a decent software for writing and recording tunes that is intuitive and user friendly. I heard that it is better to get a seperate hard drive

  • Selecting from two tables and confirming from them despites they not relate

    Please I need a query to select from two tables that are not related to each other. I also want to confirm data's as in verify wether what the user has entered is in accordance with what is in the tables Examples the first table is named "Card" and t

  • Aligning text boxes

    I have a form that must be filled electronically and then printed there are 100 text boxes that will have one letter in each How can I get the 5 x 20 boxes to align so that they look like a grid rather then a bunch of slightly overlapping boxes?

  • Error when installing 9i on Win 2000

    Hello! I am having a problem installing Oracle Database 9i onto my PC. I am a developer and just want it installed on my local machine. When trying to create and start the database using the Database Configuration Assistant I get an "ORA-03113: end-o