cancel
Showing results for 
Search instead for 
Did you mean: 

ItemListBox

ChandraMahajan
Active Contributor
0 Kudos

Hi All,

please guide me step-by-step to use itemlistbox UI element.

Regards,

Chandra.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please reward points if I have answered your query.

Thanks in advance!!!

Cheers,

Darshna.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Chandra,

You can create a context node for your itemlist box UI element. Create an attribute to fill data. Now write a supply function on context node. Don't forget to bind context node and attribute to the list. Here is the sample code which I used in my requirement.

Sample code:

method SUPPLY_LIST .

data:

lt_attributes type standard table of IF_FIRST1_VIEW=>Element_List,

wa_attributes like line of lt_attributes.

wa_attributes-STEPS = ' '.

insert wa_attributes into table lt_attributes.

wa_attributes-STEPS = ' '.

insert wa_attributes into table lt_attributes.

wa_attributes-STEPS = ' '.

insert wa_attributes into table lt_attributes.

:

:

:

:

*****(here you can add contents of the list as I have added blank values.)*********

node->bind_elements( lt_attributes ).

endmethod.

Hope this will help you.

Cheers,

Darshna.

ChandraMahajan
Active Contributor
0 Kudos

Thanks,

i have implemented this ...

Former Member
0 Kudos

Hi,

see the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/23/928b411fb4b05fe10000000a1550b0/frameset.htm">documentation</a> on this UI element and have a look at WDR_TEST_UI_ELEMENTS in the system.

Regards, Heidi