cancel
Showing results for 
Search instead for 
Did you mean: 

Change checkbox value in Web dynpro ABAP

Former Member
0 Kudos

Hi Guys!,

I'm new in web dynpro ABAP , and I would like to know How Can I change the value of checkbox in a webdynpro . I need to put a fix value 'X'.

I read documentation about webdynpro but I get into a mess with web dynpros.

You can see an attached image.

Thanks for all.

Best regards.

Ana

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

There are different ways to set and get values. To start with WD I recommend to use the context.

1.) Create a node in Component Controller Context add attribute of your checkbox.

2.) Create a mapping of this node in the context of your view (Drag and Drop from right to left)

3.) Set bind the value of your checkbox to the context (click on empty button right to the value of checkbox in attributes window of your layout view)

4.) Go to the method "wddoinit" (if value could change later take "wddomodifyview"

5.) Use the wizard to set/get values - check the generated code to understand.

That`s it

Cheers

Dieter