cancel
Showing results for 
Search instead for 
Did you mean: 

Difference Beetween Context Tab Attribute and Attributes Tab Attributes

Former Member
0 Kudos

Hi Experts,

I have one Question,

What is the difference between context Tab Attribute means

COTEXT.

- NODE

- ATTRIBUTE X

and Attribute Tab defined attributes... This Attribute Tab we have in Comp controller,view and Window also... What is the difference??

if possible can anyone explain with an example please???

Thanks and Regards,

Krish.

Edited by: kissnas on Apr 7, 2010 7:41 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi kissnas,

The atributes u define in the context Tab are used for data storage in the application but attributes in the Attribute Tab are reference varaible for different Interafaces or Classes.

Answers (2)

Answers (2)

Former Member
0 Kudos

Check the below link to for concepts.

[Controller Attibutes|http://help.sap.com/saphelp_nw2004s/helpdata/en/27/13fb8442e7fa4a99f5d37eab90c0bf/content.htm]

[Controller Context|http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/c10f2a93c8b84d8c8ee6105d8f64ed/content.htm]

Former Member
0 Kudos

thank u prakash,Radhika and paine ur answers are helpful..

thanks and regards,

krish.

ChrisPaine
Active Contributor
0 Kudos

Hello,

If in doubt use the context.

context elements can be bound to UI elements - attributes cannot.

So anything that you want to represent in your views - make it part of your context.

I'd also not use too many attributes - as I prefer to keep my coding in the assistance class and use class attributes there if I absolutely need to use global type variables.

Cheers,

Chris