Skip to Content
avatar image
Former Member

Drop down list in Adobe forms

Hi All,

I need to provide a drop down list in the Adobe form. I am calling this form from an SE38 program. I have selected the 'Value Help drop down list' element. How do i pass the value or bind the values to this element. The values for the drop down list are selected from a standard table at runtime.

I tried using Enumerated drop down list also but did not work.

Any idea????

Thanks,

Prakash Pandey

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Nov 17, 2009 at 01:29 PM

    hello, I guess you need to work with the Dynamic binding and tab Object - Binding - Specify Item Values. This way you can bind a drop down list to a table in your context/ data view. First you need the table as was described above. Next you need to enable Dynamic binding in the Properties of designer. Next go to tab Object - Binding - Specify Item vaues. Set your table and cols you nned to bind to the drop down. After that you will see some little mark at the Specify item values text. And now you have your drop down bound to a table.

    Be careful, according to my experience your LC Designer will crush when specifying this dynamic binding, you will need to experiment a bit to set that up properly. Try to look around about this dynamic binding or provide details about what you´ve tried/ done so far. Regards Otto

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2009 at 05:36 AM

    Hi,

    U can use the Enumerated drop down list, but for the list to populate at runtime u need to do it through coding by using the standard API's

    1. ISimpleTypeModifiable()

    2 IModifiableValueSet()

    using these 2 API's it is possible to populate values at runtime.

    Regards,

    Poojith MV

    Add comment
    10|10000 characters needed characters exceeded

    • hi, do you have an online (web dynpro, abap?) scenario or an offline scenario?

      for an online scenario there exists an object in the library,

      for an offline scenario define as source of your help a table with 2 colums (pairs of value and the texts),

      add the table to your interface, add it to the context of the form, inside the form bind it aganist the properties for the listelemensts of the drop down list box

      norbert

  • Nov 17, 2009 at 04:03 PM

    Follow:

    1) in LCD menu - Tools - Options - Data binding - Show dynamic properties - should be TRUE

    2) goto drop down Object - Binding - Specify Item values

    3) click on the "Specify..." text

    4) a dialog box appear with 3 lines

    Items: YOURTABLE.DATA[*]

    Item text: YOURFIELD

    Item value: YOURFIELD

    This should work for you. Good luck, Otto

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      Thanks for posting this, saved me a lot of hassles trying to program something. One question. My values are in a nested table. e.g. I have a table with criteria for an appraisal. The criteria have a dropdown on them with a ratings. So, one appraisal, many citeria, many possible rating values. When I put in your code, e.g. $record.APPRAISAL.CRITERIA.DATA[].RATINGS.DATA[] , I get all Ratings relevant to all criteria on each line for the criteria table, not just for the criterion they belong to. How do I specify that it should only pick up the ratings for the current criterion ?

      Hope my explanation makes sense 😊

      Thanks !

  • Mar 16, 2010 at 07:38 AM

    I am not sure if that can be done (if yes, then how). I guess you need a grouping of values in DropDown like you can have in HTML, is that right? Maybe you can use some "service" values (like ___group1, val1, val2, ___group2, val1, etc.) and check if the user did NOT select one of the service values and if yes, reject such value.

    Otto

    Add comment
    10|10000 characters needed characters exceeded