on 05-07-2007 10:38 AM
Hi All,
please guide me step-by-step to use itemlistbox UI element.
Regards,
Chandra.
Hi,
Please reward points if I have answered your query.
Thanks in advance!!!
Cheers,
Darshna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.