on 09-06-2008 6:04 AM
Hi
i had a doubt in the following question.pls anybody can resolve it?
hi,
if we want to show a field which is from database reference then we add model attribute.
if we want to show a field which is not from database reference then we add value attribute.
if you add model attribute no need to write code at get and set the data,but in case of value attribute you have to write a code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Please refers the following Link
Here web Dynpro data flow.
Thanks.
Abhilasha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
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.