on 08-01-2006 3:30 PM
hi
I awnt to make a method whose type is Calculated attribute
getter and return type is void.
Plz help me on this problem
regards
Nidhideep
You want to have a calculated attribute that calculates no value? What is this good for?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Armin im able to solve the problem,bt,i m nt able to get the concept of getter and setter method ,and hw we can achieve it jst by making readonly property of context attribute true.The explanation wht i gt from SAP library is that "This means that the value of these attributes is not saved in a separate value attribute, but is calculated in the view controller when necessary (the value is required for data binding to display a view)"
Wht does that mean(conceptually)?
Regards
Nidhideep
Hi,
when you create the element with calculated the two methods are created inside the view.
try this sample
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/0c0dcacd-0401-0010-b4bd-a05a0b4d68c8
Kind Regards
Mukesh
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.