on 06-10-2012 1:52 PM
Hello,
I am reading selection screen using below statement
lr_helper->get_selection_screen_items(
IMPORTING et_selection_screen_items = lt_sel_item ).
but this statement is not giving latest data from screen.
first time i am getting values, but if i change any value, execute again, iam not getting the recent values, the above statement giving previous data only
how can i get latest data?
Hi,
Make sure you initialize the selection screen before getting the range.
DATA lv_r_helper_class TYPE REF TO if_wd_select_options.
lv_r_helper_class = lo_interfacecontroller->init_selection_screen(
).
data lt_range1 type ref to data.
CALL METHOD lv_r_helper_class->get_range_table_of_sel_field
EXPORTING
i_id = 'DATUM'
receiving
rt_range_table = lt_range1
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello reddy,
r u using assistance class methods.....Can u explain it briefly...
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi reddy,
Please fallow below code.....
DATA: lt_date TYPE REF TO data,
FIELD-SYMBOLS: <fs_date> TYPE table.
lt_date = wd_this->m_handler1->get_range_table_of_sel_field( i_id = 'DATUM' ).
ASSIGN lt_date->* TO <fs_date>.
any issue raise here..........
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Amarender,
Can you Please check when are you using this code, on some event. The only case may be if you are using WODOINT method.
Please see when are you doing the search?
WDR_TEST_SELECT_OPTIONS is the example you can see....
Best regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.