on 05-31-2007 6:59 AM
Hi,
I have never come across a scenario which requires a calculated Attribute.Please
throw some light on this.Also setCalculatedAttributeAccessor method what does it
correspond.
Any help would be appreciated.
Regards
Amit
Hi There !
This Blog has all the Answers to you Questions.
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3596%3Fpage%3Dlast%26x-showcontent%3Doff"; [original link is broken] [original link is broken] [original link is broken]>Calculated [original link is broken] [original link is broken]
regards
rajendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you guys.
It really gave me a good idea of the calculated attribute.
Regards
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For eg. ur attribute is Name then
First u have to set the properties for an attribute as CALCULATED=TRUE
Automatically it will create two methods in implementation outline -
> getName( ) and setName( ) whatever u want write the code inside that method.
check the below link u can get idea about Calculated attributes...
http://help.sap.com/saphelp_nw70/helpdata/en/7f/a0384162316532e10000000a1550b0/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
If u create a value attribute then there will be a property called "calculated".If u set that property as true then u get two methods called "getter" and "setter".This is to be used for setting some values to our variables and getting that.In java this is to be used for Encapsulation purpose.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.