on 10-22-2012 10:57 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.