cancel
Showing results for 
Search instead for 
Did you mean: 

reset value of checkbox

Former Member
0 Kudos

hi everyone,

I have 3 view's. the main view has 2 checkboxes , the second one has a form and a button "back" which brings me back to the main view, the third one has a for to and a "back" button which brings me back to the main view as well.

So in the main view when in "checked" the first checkbox i acces second view where i have the "back"button . whit the back button i go back to main view and check the second checkbox which sendes my to the third view.

My question is how can i make the checkboxes appear abap_false when i return from the second or the third view?

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tony,

You want checkbox should be uncheck while returning to main view? right, correct me if iam wrong.

for this in your back button one action write code to uncheck your check box.

For example check box is bound with CHECK attribute,

*   set single attribute

    lo_el_context->set_attribute(

      name =  `CHECK`        

      value =  ' ').

Cheers,

Kris.

Answers (0)