on 05-26-2011 5:30 AM
Hi all,
I am new to WebDynpro. I am facing problem in passing data to the above method IF_WD_SELECT_OPTIONS~ADD_SELECTION_FIELDS.In this method it has IT_FIELDS as inporting parameter of type IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM.Could any one please suggest how to pass the data to the above parameter and also please explain create ,assign and field symbol concepts details.
Thanks in advace.
Umakanth
Hi Uma,
Same type of question asking again, in your previous post i rewikis working with select options, in that everthing is there.
Please cehck once..
here LT_RANGE OF TYPE DATA.
and LR_HELPER IS OF TYPE IF_WD_SELECT_OPTIONS( this defined in your attributes tab ).
LR_HELPER->ADD_SELECTION_FIELD( I_ID = 'S_CARR_ID'
IT_RESULT = LT_RANGE ).
i am giving links again..
check this blog..
/people/rich.heilman2/blog/2005/12/20/using-select-options-in-a-web-dynproabap-application
http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproABAP-Complexselect-optionscomponent+usages
For Field Symbols.
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm
http://wiki.sdn.sap.com/wiki/display/Snippets/Usageoffield-symbolsastablesandwork+areas
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can pass the parameter like this .
data fld type IF_WD_SELECT_OPTIONS=>T_SELECTION_SCREEN_ITEM.
data tbl type IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM.
fld-m_id = 'ID'.
fld-mt_range_table = LT_RANGE_TABLE.
fld-m_read_only = abap_true.
insert fld into table tbl.
WD_THIS->M_HANDLER->ADD_SELECTION_FIELDs(
tbl
).
thanks
sarbjeet singh
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.