cancel
Showing results for 
Search instead for 
Did you mean: 

DropDownByIndex!

Former Member
0 Kudos

Hi all,

I have a DropDownByIndex filled with data that come from a BAPI but I don't know how to get value that I select from it.

Thanks.

Jesus.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jesus

Assume your Bapi structure as

BAPI_INP

Output

LNo

Assign BAPI_INP.Output.LNo to the texts property.

Now you can get the selected value as follows

wdContext.currentOutput.getLNo();

Regards

NagaKishore V

Answers (1)

Answers (1)

Former Member
0 Kudos

A DropDownByIndex UI element has a data binding against an attribute A (providing the texts) of a context node N with cardinality 0:N.

The lead selection of N is the selected index of the DropDownByIndex element.

If you change the selected item of the DropDownByIndex, you change the lead selection of N.

You get the selected index of the node/DropDownByIndex as

N.getLeadSelection()

The corresponding node element is given by

N.getCurrentElement()

or

N.currentNElement()

Armin