on 05-31-2007 11:15 PM
I have a window with a parameter. I need to read the parameter value, and have it available in the controller context when the WDDOINIT method of the default view runs.
I need this, because according to the value of the field, I make some inputfields to read-only (in the wddoinit method).
Problem: The HANDLEDEFAULT is running after the WDDOINIT of the default view.
What I am doing wrong?
Thanks in advance.
Message was edited by:
Joao Sousa
Hi Joao,
Instead of placing the code in wddoinit place it in wddomodify, however make a check for the variable first_time = abap_true so that this code is executed only once.
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you aren't doing anything wrong,
the dohandledefault method should be filled with your ui-coding,
i do the same thing when layout or context should be altered depending on navigation parameters
grtz,
Koen
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.