on 06-20-2011 3:08 PM
Hi Experts,
Suppose there are two radio buttons like----
1.Paid and 2.Unpaid.
Employee can select any one of these radio buttons.
Suppose employee has selected 'Unpaid' radio button and clicked 'Submit' button.
Now when magaer will open the same from his tasklist he should get 'Unpaid' radio button as selected one.
But in my case the Manager is always getting 'Paid' radio button as selected one even when employee is submitting the form
selecting the 'Unpaid' radio button.
Please solve this issue.
Regards,
Anindita
Hi Anindita,
This is how you can load saved radio button:
get element via lead selection
lo_elem_pay = lo_node_pay->get_element( ).
READ TABLE wd_this->load_infotype_table INTO ls_infotype WITH KEY infotype = space
fieldname = 'PAY'.
IF ls_infotype-fieldvalue = 'pick_paid'.
CALL METHOD lo_elem_fitness_statement->set_attribute
EXPORTING
VALUE = 'pick_paid'
NAME = 'PAY'.
ELSEIF ls_infotype-fieldvalue = 'pick_unpaid'.
CALL METHOD lo_elem_fitness_statement->set_attribute
EXPORTING
VALUE = 'pick_unpaid'
NAME = 'PAY'.
ENDIF.
CLEAR ls_infotype.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anindita,
After selecting and cliking Submit button, this data is saving or not?
I have doubt here, if manager login he want to see employees paid or unpaid value right.
After submit button you need save that, and retrive when manager login.
cheers,
Kris.
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 | |
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.