cancel
Showing results for 
Search instead for 
Did you mean: 

Filling a drop down list

maarten_duits2
Participant
0 Kudos

Hi,

In my WD application a have a value node with a couple of entries. I now want to create a drop-down list in a IF with and fill it with the entries of the value node. I can't get it working. I hope somebody can help me.

Thx in advance.

Regards Maarten.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Maarten,

I'm trying to solve the same issue and it looks like you have answer but the link in you message does not work. Can you check the link and post a corrected one?

Thanks much.

-tom

maarten_duits2
Participant
0 Kudos

Hi Tom,

The correct URL us https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/98af7acd-0401-0010-f697-bfa06971b65e">here [original link is broken] [original link is broken]. It's WebDynpro example number 29.

In this tutorial they are using Interactive Forms with ActiveX. It's now possible to make use of Native Adobe Interactive Forms. Search this forum on how to create a dropdown list within a Native Adobe Interactive Form

I hope it helps to solve your problem.

Kind regards,

Maarten.

Former Member
0 Kudos

Hi Maarten, thanks for the answer.

But I did read this tutorial already and my issue is that the tutorial shows you only how to hard code values for the drop down list. So if I wanted to populate the drop down list with values from a table on the ECC back end for example it appears the only way to do it in webdynpro for Java is to create an "adaptive RFC". At least this is what is shown in the other tutorial. I was wondering if there was an easier way of doing this because it appears that I would need to log in as administrator in the Content Administrator and setup the JCO connection. The system admins have already told me they will not allow me to log in as "administrator".

I'm thinking of switching to webdynpro for ABAP so that I can retrieve the table from the back end directly in ABAP, but I can't find any webdynpro for ABAP examples that do this.

Any pointers would be greatly appreciated.

Thanks!

-tom

maarten_duits2
Participant
0 Kudos

Hello Tom,

You're correct that you need Adaptive RFC or a Web service to populate your drop down list. If the system admin's don't want to give you enough permission they can create the JCO connections for you. The only thing you need to know is what the name is they gave the JCO connections. In WD import a model for Adaptive RFC and follow the wizard. One of the questions is what the name of the JCO is. Fill in the names the system admin's gave you and everything should work fine.

I hope it helps.

Kind regards,

Maarten.

maarten_duits2
Participant
0 Kudos

For everybody how wants to know how to fill a drop down list dynamically, take a look at the Interactive form example with the title <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/98af7acd-0401-0010-f697-bfa06971b65e">online interactive PDF Forrm</a>

Regards Maarten.