cancel
Showing results for 
Search instead for 
Did you mean: 

Saved Radio button option should be visible when Form is being loaded

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

siongchao_ng
Contributor
0 Kudos

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.

Answers (1)

Answers (1)

Former Member
0 Kudos

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.