Skip to Content
author's profile photo Former Member
Former Member

Calculated Attributes.

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on May 31, 2007 at 06:12 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2007 at 06:11 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2007 at 06:13 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2007 at 08:42 AM

    Thank you guys.

    It really gave me a good idea of the calculated attribute.

    Regards

    Amit

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.