Skip to Content
avatar image
Former Member

What is the difference between Value attribute and Model attribute?

Hi

i had a doubt in the following question.pls anybody can resolve it?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Sep 06, 2008 at 05:08 AM

    Hi,

    A value attribute holds the data at runtime

    where as a model attribute holds the references to the model objects (the actual data is stored in the model objects).

    A model attribute does not hold the actual data at runtime.

    Regards,

    Satya.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 06, 2008 at 05:17 AM

    Hi,

    When u r getting data from backend system say r/3 u need to use Model attribute.It holds the structures coming from a function module.Value attribute can be used to hold the application data at runtime.

    Regards,

    Srikanth Reddy.T

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 06, 2008 at 05:52 AM

    hi,

    Please refers the following Link

    Here web Dynpro data flow.

    http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2005/presentations/14-Web_Dynpro_dataflow.ppt#293,28,...

    Thanks.

    Abhilasha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 06, 2008 at 06:26 AM

    Hi Nagasrinivas,

    Value Attributes:

    These attributes are created by you at View controler or Component controler contexts. The pupose would be basically for fulfilling the temporory requirements of your application. These attributes depends on model attributes. We used to display value attributes based on some calculations whicha re coming from the model attributes.

    Model Attributes:

    These attributes are the attributes coming from either bapi or webservice depends on the model u have. Whatever the result you are getting from BAPI those result would be converted in the form of model attrubutes and displayed in your controlers. These are the attributes we mapped from model to component and componet to view controlers.

    Thanks

    Suresh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 06, 2008 at 09:15 AM

    We generally store data comming from any backend sysyten in a model context. This modle context sould have ,odel nodes/attributes

    Whereas the attributes/nodes in custom controller, interface controller and view controller which does not hold the data directly comming from any backend system are known as value nodes/attributes.

    Add comment
    10|10000 characters needed characters exceeded