cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI values in the Webdynpro dropdownbox

Former Member
0 Kudos

Hi All,

Is there a way to get the BAPI values in the Webdynpro dropdownbox?

Thanks in advance,

Pravin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

Two ways,

1. Dropdownbyindex: It needs a 0..n node. So attach the model node which is a BAPI table directly.

2. Dropdownbykey: Domains that have key-value can be brought out to webdynpro from ABAP. Domains are attached to datatypes which inturn are attributes of a BAPI table or parameter. They can be directly bound to the drop down. WD gets the values for you. ( infact when ever there is a domain data type a corresponding simple type is created in the model dictionary that has all the values in the domain)

Hope it helps.

regards

LNV

Former Member
0 Kudos

Hi,

I am using dropdown by key in webdynpro java.

I have set the Cardinality 0...n and 1..n too, but it is not working.

Thanks,

pravin

Former Member
0 Kudos

hi

When you use dropdown by key there is no question of cardinality. The selected key property has to attached to an attribute (value or model) which is in turn bound to a simple type in the dictionary (local or model). Check these links:

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/08/13dbfb6e779743bb2ca641ebcb3411/frameset.htm">Dropdownbykey 04</a>

<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/c5/e4884180951809e10000000a155106/frameset.htm">DropdownByKey 04s</a>

Hope it helps.

regards

LNV