Dropdown List Web dynpro Abap

Jul 16, 2009 at 12:14 PM|42 Views

Hi All

I am new to adobe forms. I am having a problem with populating drop down list box on an adobe interactive form. I have gone through this forum and I have tried a number of different things but nothing seems to work.

When I run my web dynpro application the drop down looks like an input box. There is no down arrow icon on the side.

I check note 981638. It states it can't be implemented.

I am on CRM 2007 NW7 platform.

I created an interface with an importing value called it_dropdown. this is a table.

I created a form that uses this interface.

i placed a drop down list on the form layout. In the dynamic options i click list items. I get a popup.

In the bindings I bind to the table... $record.IT_DROPDOWN.DATA[*]

The text and value are bound to corresponding fields on the internal table.

I created a webdynpro

I created a view.

I poped an interactive form ui elemnt on the view.

I generated the context.

I checked the cardinality of the node for the internal table and it is 0..n

3. On the context create a node called data_source or whatever you want. The cardinality is 1.1.

4. Create an attriubute on the data_source note. I called mine 'DDOWN' and created it as a string.

5. Pop an interactive form element on your view.

6. In the Template Source, give the name of your adobe form. This part was the vital bit for me as I was using a database interface originally and I think that this was my problem. If you already have a form created that does not use xml, I would advise you to create a new temporary adobe form by putting the name in the template source and double clicking it.

7. You will get a popup stating asking you to create an interface. You will see a button called "context" click this and follow the steps.

8. When you get to your form you will see the drop down context node in the data hierarchy. Drop a drop down list on your form and then drag and drop your context node onto it. Make sure your forms layout is ZCI. Save the form.

9 Return to your web dynpro app. You will see that the datasource has been updated.