on 04-04-2010 12:16 PM
dear all,
How i can define any variable in Attribute tab in component controller,so that be accessible to other views?
THANKS ALL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ali,
Once you create the attribute in component controller, you can access this attribute from any view:
data lo_componentcontroller type ref to ig_componentcontroller .
lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
*eg. Access comp.controller attribute and assign some value.
lo_componentcontroller->w_status = 'X'.
In the above code 'w_status' attribute is defined under attribute tab of the comp. controller.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
where the variable is referenced to the context in component controller
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.