on 01-20-2009 10:58 PM
hi
i 'm examine to link
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09fec07-0dab-2a10-dbbe-c9a26bdff03e]
the page on load when i want to add value select-options.
you think , how can i do ?
Thanks.
hi
i want to set value in select-option when click a button.
i found this method
DATA: SELLx TYPE REF TO DATA,
PERSONALx TYPE REF TO DATA.
DATA :
PERSONAL TYPE if_componentcontroller=>elements_PERSONAL ,
PERSONALS TYPE LINE OF if_componentcontroller=>elements_PERSONAL .
PERSONELx = LR_HELPER->CREATE_RANGE_TABLE( I_TYPENAME = 'ZWDAPR' ).
"personal is my internal table and i want to assign personal to personalx .
"beacuse this method parameter type is I_VALUE type ref to data.
CALL METHOD LR_HELPER->SET_VALUE_OF_PARAMETER_FIELD
EXPORTING
I_ID = 'ZWDALG'
I_VALUE = PERSONALX
.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joshua,
Please explain your reqirement in detail. Are you talking about setting default value in select-option??
If yes, then you can refer to this standard component WDR_TEST_SELECT_OPTIONS and look for this method onactiontc_predef_rangetab
Regards
Arjun
Edited by: Arjun on Jan 21, 2009 9:13 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.