Filtering Drop-down Values Adobe Interactive Form

Hi,
I am working on adobe interactive form, in which I have a normal drop-down. Now the requirement is, depending on the value of another field (country) , I need to display only the states pertaining to the country being displayed. In my drop-down I get a list of all states irrespective of the country.
I have created an Interactive Adobe form using WebDynpro ABAP. I have populated the view context in my business logic and I am using this context to populate my drop-down. I have a root node named as NODE_ROOT which is of cardinality 1:1 and a child node named as NODE_STATE of cardinality 0:n with State, State_Desc and CountryID as its attributes.
In my drop-down list I have mapped the Item to $record.NODE_STATE.DATA[*], Item_text to the attribute State and Item_Value to the Attribute State_Desc. I have also enabled the "Show Dynamic Binding" option from Tools->Options->Data Binding.
The Drop-down is working fine. I would like to filter these values based on country by making use of CountryID in my form. Is it possible through scripting? If so, how do I do it?
Sample code would be of great help.
Thanks,
Anusha

To The viewers of the forum, By mistake I posted the same question twice. Please discard this one.

Similar Messages

  • Filling dynamic drop down in adobe interactive form( webdynpro ABAP)

    HI all,
    Im new in Webdynpro ABAP, my requirement is to fill drop down list in adobe interactive form. i created adobe form and its working fine.
    I Created context like ROOT(cardinality 1:1)->DATANODE cardinality 0:n. This context is for drop down and in wddoinit i did  like this.
      IN WDDOINIT ,
    DATA lo_nd_root TYPE REF TO if_wd_context_node.
      DATA lo_nd_datanode TYPE REF TO if_wd_context_node.
      DATA lo_el_datanode TYPE REF TO if_wd_context_element.
      DATA ls_datanode TYPE wd_this->elements_datanode.
    navigate from <CONTEXT> to <ROOT> via lead selection
      lo_nd_root = wd_context->get_child_node( name = wd_this->wdctx_root ).
    navigate from <ROOT> to <DATANODE> via lead selection
      lo_nd_datanode = lo_nd_root->get_child_node( name = wd_this->wdctx_datanode ).
    get element via lead selection
      lo_el_datanode = lo_nd_datanode->get_element(  ).
    ls_datanode[] = lt_dna_value[].
    CALL METHOD lo_nd_datanode->bind_table
      EXPORTING
        new_items            =  ls_datanode
        set_initial_elements = ABAP_TRUE.
       index                =
    while executing  i'm getting this error ": WebDynpro Exception: ADS: com.adobe.ProcessingException: No output was generated while rendering: Stream for: PDFOut.(200,101). " . can u please tell me how to bind value for drop down.
    I created sample table in same form and i binded same value to table, that time its executing fine.
    can u please tell me solution for this Scenario.
    Thanks
    Hemachandran.
    Edited by: hemachandran R on Sep 12, 2008 2:27 PM

    hi,
    My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.
    i populated the value in drop down.
    Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row
    im getting different values, like first row
    CAR
    , that CAR want to fill as a default value in drop down  and second row  as
    BIKE
    that BIKE  want to fill as default value in drop down  ( example drop down contain   car , bike , cycle).
    In adobe form i binded like this
      $record.DATANODE.DATA[*].DNA_RATING
    i dont know whether this one is correct or wrong  .
    im getting default value as empty.
    please give me some solution how to do this.its very urgent
    thanks
    hemachandran.

  • Populating Drop-down List in Interactive Forms for Java

    Hi,all
    I need to populate a drop-down list in Interactive Form.
    I tried to do it by using Dynamic Properties of the drop-down
    list,but didn't give nothing.At the same time I have successfully
    populated a simple drop-down list(on webdynpro view),which I
    replaced near my InteractiveForm.
    What may be the problem?
    Regards,
    Michael

    Use the DDL from the Web Dynpro pallette. Bind the same/ similar attribute of the DDL you used in the web Dynpro view in the interactive form also... this should work..
    Thanks and Regards,
    Anto.

  • Reading the drop down value in interactive adobe forms in WDJ

    Hi,
    I have a scenario like this:
    Drop down menu with values being populated from model . when i select the value from drop down and update the backend with that value, it is not done. It always takes the same value ( first one in the drop down list) and fails to take the selected value.
    could anybody throw some light as how to deal with the drop down in adobe forms in WebDynpro Java?
    Are there any specific settings for these?
    I have taken the drop down menu from WebDynpro Native library.
    Kind Regards,
    Charan.

    Hi Charan,
    Did u try to populate the data into the dropdown with the help of Simple types.
    I faced the same issue, that got resolved when i binded the dropdown with Simple types that were populated.
    Hope this helps.
    Thanks,
    Amita

  • Fill Drop down list in Interactive form

    Hello.
    I am trying to display multiple values form the context of an form, so not web dynpro! I am using a valuelist object for that.
    When I test the form I am only getting to see the first value of my internal table and the drop down list cannot be expanded.
    If I analyse the XML I see that the items are there which I want to display.
    What is the cause of this, or is this only possible with Interactive form in an Web dynpro scenario (I hope not)
    Regards,
    Harrie Prinsen

    Hi Harrie,
    As per this post, I understand that you are going to use a simple ADOBE PRINT FORM which fetches data from ECC and displays it in the form...Am I right?
    See, if it is going to be a Simple PRINT FORM which is NON-INTERACTIVE in nature, I dont see the need of DROP DOWN LIST in this scenario. I think that could be the reason why always the first item of the INTERNAL TABLE is displayed all the time.
    If you have an INTERACTIVE SCENARIO where the user can select an option from the drop-down, then you can go with ABAP WD/JAVA WD/ISR Adobe Interactive Forms.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Drop down box in interactive form UI element in webdynpro

    Hello All,
    I want to get a drop down list in adobe interactive form. I did the following.
    1. created a simple dictionary data type and populated it with values
    2. created a context and bound it to the simple dictionary type.
    3. when I drag the element to the pdf page, it shows it as a drop down list.
    4. when I run the application also, the drop down list comes but the values are not populated. I am not able to use the dropdown also.
    What should I be doing now to get a dropdownlist that works?
    Regards,
    Chander

    Hello Chander,
    what you want to create is a drop down list populated by the Web Dynpro context values. When you use drag-and-drop it just creates a regular drop down list (where you need to specify the values in the Designer).
    However if you select in your tools palette the Web Dynpro tab you will find special drop down lists. So here is what you do:
    1. Drag and drop a Value Help Drop-down List element from the Web Dynpro Library tab to the Body Pages pane.
    2. Drag and drop your node from the Data View tab onto it. This action binds the layout element to the corresponding node.
    Cheers
    Matthias

  • SCROLL DOWN IN ADOBE INTERACTIVE FORM TABLE

    Hi Experts,
                  Any possible for to keep scroll down option in adobe interactive form? If possible means please let me know.
    Thanks,
    Senthil Prabhu

    hi,
    My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.
    i populated the value in drop down.
    Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row
    im getting different values, like first row
    CAR
    , that CAR want to fill as a default value in drop down  and second row  as
    BIKE
    that BIKE  want to fill as default value in drop down  ( example drop down contain   car , bike , cycle).
    In adobe form i binded like this
      $record.DATANODE.DATA[*].DNA_RATING
    i dont know whether this one is correct or wrong  .
    im getting default value as empty.
    please give me some solution how to do this.its very urgent
    thanks
    hemachandran.

  • Drop-down list in Interactive forms

    Hi All,
    I am creating an interactive form in webdynpro abap. I would like to include a drop-down list in the interactive form. Data in the drop-down list should come from a database table.
    Can anyone give a sample program to do it? It would be of great use.
    Thanks & Regards,
    Vinod

    hi Vinod,
    You may get many threads with  similar query as yours if you use the search functionality.
    But you may refer these two threads which are close to your query.
      Drop Down List population - Abap dynpro adobe form - type ZCI
      Re: Dynamic Drop Down in Interactive Form not populating values
    Regards,
    Runal

  • Drop-down list in Interactive forms ACF

    Hello friend,
    I am creating an interactive form in webdynpro abap.
    in my Context have:
    Z_template_surce        cardinality 1-1
        z_node                   cardinality 1-1  this structure not table.
             Country             my fiield.
    This my code. :
      DATA ddlb_value_set TYPE TABLE OF  wdr_context_attr_value.
      DATA lw_t706o TYPE t706o.
      DATA: s_element TYPE wdr_context_attr_value.
      SELECT * FROM t706o INTO lw_t706o
        WHERE  spras EQ sy-langu AND
               morei = '15'.
        s_element-value = lw_t706o-land1.
        s_element-text = lw_t706o-text25.
        APPEND s_element TO ddlb_value_set.
        CLEAR s_element.
      ENDSELECT.
      IF sy-subrc EQ 0.
        node_z_node->set_attribute_value_set(
       name      = 'COUNTRY'
       value_set = ddlb_value_set ).
      ENDIF.
    this is correct ?
    i can create the my drop down list ??
    thaks.

    ?????????????

  • Drop-downs on the interactive form?

    Hello
    I put a drop-down field (its lables is COUNTRY OF VISITOR ) on the interactive form (my_form_of_visitor_info) and bound it to a data source, which data source is passing USA, UK, fine, working well. It should always ALLOW only 3 characters max. length
    I also gave a ability to modify/input end-user own value in this drop-down field by checking  "Allow Custom Text Entry" box of the field tab of the object palette, fine.
    To accommidate all the label(COUNTRY OF VISITOR) of the field, i gave the WIDTH as 5 inches.
    But, now user is entering CANADA, but It should always ALLOW only 3 characters max. length. I did not see any MAX.CHARACTERS ALLOWED feature for the drop-downs as like TEXT FIELDS!
    Pls. let me know, How can i get it done this rquirement that systsem should allow ONLY 3 characters in this field? I saw some VALIDATION PATTERN for Zipcode, Tele #..but, i am not sure can i use it for my drop-down field? if so, How?
    Thank you

    see the answer in your other post

  • Drop-down list in interactive form go up and sounds weird

    Hello everybody,
    I've a problem with a drop down list in an interactive form in my webdynpro java application.
    I've an interactive form in my view, display type is "native".
    I've put a drop down list in the pdf and filled it with some elements taken from a bapi.
    It looks like this
    IWDAttributeInfo countryInfo = wdContext.nodeListePoste().getNodeInfo().getAttribute("ListeTypePoste");
              ISimpleTypeModifiable countryType =
              countryInfo.getModifiableSimpleType();
              IModifiableSimpleValueSet countryValueSet =
              countryType.getSVServices().getModifiableSimpleValueSet();
              for(int i=0;i<wdContext.nodeListe_Poste_view().size();i++){
                   IPrivateFDIView.IListe_Poste_viewElement element = (IPrivateFDIView.IListe_Poste_viewElement)wdContext.nodeListe_Poste_view().getElementAt(i);
                   countryValueSet.put(element.getPoste_Code(),element.getPoste_Libelle());
    then I've binded my drop down list with the element of the context "ListeTypePoste"
    When I run the application I can see the list in my drop down but it goes "up"
    Like this:
    http://img198.imageshack.us/img198/7263/20111207170807.png
    Instead of having my list going down it goes up.
    And when I click the arrow to open the list I've a weird BEEEEEP like an error.
    At the end the list works well and if I choose an element it's well selected, but I would like to take of the BEEEP and to have the regular list going down.
    Any ideas?

    Hi
    I think you problem can be traced to the place where you put your drop down.
    As far as I understand your drop down funcions well.
    Try to move it into another container or best put it under RoorContainer. Test it.
    regards
    yuval peery

  • Drop down lists in Interactive forms:HCM Forms&Processes

    Hi Experts,
    I am working in HCM Forms and Process.
    I have 2 dropdown lists in my  interactive form such as COUNTRY, STATE. The STATE dropdown should be populated based on the COUNTRY field dynamically.
    I have written the logic for STATE dropdown in the method GET_STATES of  Custom Generic Service Implementation Class and that method is used in the OPERATION of FIELDGROUP in Form Scenario.
    The Java Script in the EXIT event for COUNTRY is as follows.
    xfa.record.CONTROL_PARAM.ISR_EVENT.VALUE = u201CGET_STATES";
    app.eval(u201Cevent.target.SAPSubmit();u201D);
    Still the the STATE lists is not populating in the form in Portal.
    Please provide some valuable inputs on this.
    Thanks in advance

    Hi Mukesh,
    Thanks for your response.
    It seems the script is not triggering .I didnt get the alert message.
    I am working in Citrix and SAP GUI 710 has been installed now. Still, I can't insert Webdynpro Script. It is showing one error "Error while inserting Webdynpro script".
    Earlier, in SAP GUI 640, I was able to see with the Data view with the interface import parameters. Now  the Data view(Left side of Layout)  has no elements , although the form is linked with an Abap dictionary based interface.
    Do you have any idea why these kind of errors are coming? Is this the problem with Citrix ?

  • Over ride the drop-down value?

    Hello,
    I am developing an VISITOR Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP)
    When i opened this VISITOR interactive form in a browser, right clicking and checked form PROPERTIES, then i saw the "PDF Version: 1.6 (Acrobat 7.x)"
    I have a bunch of drop-downs in my interactive form, done by dragging & dropiing the 'Drop-down list' object, at the end i binded it with some data source, working fine, say its COUNTRY list.
    As soon as use opened the form, he saw the 'USA' prepopulated in the drop-down field, fine.
    User dropped down the entries, he saw a couple, like USA, Canada, UK, Spain, fine.
    But, now user want to enter / override this USA entry with his own value, like FRANCE, but, my form is not allowing, its behaving like a 'readOnly' field!
    Pls. let me know how to over ride a entry of drop-down values, as per user wanting value?

    Hello Srinivas,
    You can overide the entry of drop-down list by:
    selecting the "Allow Custom Text Entry" box of the field tab of the object palette
    of that drop-down list.
    Thanks,
    Debadas.

  • Drop down in dynamic table in the Adobe Interactive Form (Web dynpro ABAP)

    Hi All,
    I have scenario use drop down in dynamic table in the adobe interactive form (Using the button the dynamic table row will be increasing and decreasing).
    Assume I Add five rows dynamically in the dynamic table. The Last column contains Drop down.
    I have button in the adobe form.
    Button Name = u201CSAVEu201D
    Button type    = SAP Submit button (Native type u2013 I am Using ZCI).
    While clicking save button, I need to store the dynamic table datau2019s to back end system. I can able to store the data to back end system. After form data getting saved those particular values need to display in the adobe form. 
    Here I am facing a problem.
    I cannot able to view as a default value in the drop down, which I have selected some values after save operation I am not getting any values in the drop down as a default.
    Example:
    The dynamic table contains 5 rows (Each and every row Drop down contains one to ten values).
    1)     I have selected second value in the Drop down (ROW1)
    2)     I have selected fourth value in the Drop down (ROW2)
    3)     I have selected fifth value in the Drop down (ROW3)
    4)     I have selected seventh value in the Drop down (ROW4)
    5)     I have selected third value in the Drop down (ROW5)
    I press the save button that particular Drop down value gets saved in back end system and that particular values want display in the Drop down as a default value.
    How to resolve this problem.
    Regards,
    Boopathi M

    Hi,
    Solve the problem .
    I have created the New node for dropdown. also i have one node already for table.
    The new node i bind to dropdown, the table same for table.
    Its working fine
    Boopathi M

  • Drop down Values in Adobe form

    Dear All,
         Greetings.
         I am using the Adobe interactive form for E Recruitement(copying the standard and changing it as per the requirement). When i am using the Drop down value for one of the field. Instead of the drop down its showing as a POP-UP with all the possible values.
    I am not able to predict what the problem is. I need to have a drop down, instead of the pop up.
    Please help me in solving the issue.
    Thanks
    Ram M

    Hi Ram,
    Please use a Enumerated Drop down list ffrom the library, seems currently you have Extended Value selctor in your form.
    This will hopefully resolve the issue.
    Regards,
    Arafat

Maybe you are looking for

  • Javac compiler throws java.nio.BufferOverflowException!!Why?

    An exception has occurred in the compiler (1.4.1). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your

  • Error 7 goopsup - source does not exist

    The test sequence works fine on the development machine, but I get the error, mentioned above, when I try to assemble the test sequence VIs for run time distribution.

  • Offline Interactive Form

    Hi everyone, I'm currently working on the UploadDownloadInteractiveForm for WD Java Example. The Example from SDN is working successfully. What I don't understand is, can I only use a ready made PDF Document that is downloaded from the server like th

  • ACS user unknown though username in Server

                All, Im facing very strange issue with my TACACS authentication. Normaly i connect my DC via SSL Anyconnect VPN then access all the Network devices, but since last week when i try to connect ASA i couldnt log in. I have user name in ACS s

  • PO release workitem won't clear - 'Check FM ends with exception'

    Hi all, I've got a workflow with multiple approval steps even after all steps in the PO complete successfully, i have one work item in the middle of the approval process that won't clear and the event log shows 'Check FM ends with exception' even tho