cancel
Showing results for 
Search instead for 
Did you mean: 

Value Attribute and Model Attribute

Former Member
0 Kudos

Hi,

Can you please tell me the difference between Value attribute and Model attribute ?

Advance Thanks,

Namrata...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

HI

There are tutorials available in SDN . Please go through them .

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi,

Value attribute-> denotes the context value attribute of customize.In the coding you have to set in the coding.

Model Attribute->Model attribute value are basically coming from back-end.Model attribute value are changed depending on back end value.

Thanks

Kanai.