on 03-30-2009 1:51 PM
Hi,
Can you please tell me the difference between Value attribute and Model attribute ?
Advance Thanks,
Namrata...
Hi expert,
I thing both are same functionality,in cas e of value atribute mean just you will create for showing ame value in your value in stead of ahowing model attribute.beacause you are setting model atribute to value atribute for manipulation your value attibute instead to manipulation directly with model(no need to call again model attribute)
model attribute mean its set the value as model atribute which is genarating from RFC when you excute the RFCexcuite RFC.if you will create a structure for your RFC it will genarating valuue attribute in against table.
thanks
jati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Model nodes should always be used only when you want your context node (model binded) to interact with the backend. Any modification in the backend will only be done through this model binded node.
However if you have any manipulations required in the controller or the view level then you directly use the value nodes. Values nodes will never have any impact on the backend untill and unless they are binded with the model OR their value is taken at runtime and is sent to backend through some specific logic code.
For more Information on Nodes and Data binding please go through the following link.
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6d599690-0201-0010-12bb-b9ea3ea32d22]
Regards,
Praveen Kumar M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
There are tutorials available in SDN . Please go through them .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The context node (or attribute) bound to model (which is a representation of back-end) is called model node (or attribute). The data in these nodes comes from model (for example by RFC execution).
A value node(attribute) is not directly bound to the model but may be mapped to a model node (atribute). In value attributes / nodes, you can also programatically set or supply data.
I hope this clarifies your doubt.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.