cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to access Component Controller attributes from Views.

Former Member
0 Kudos

Hi,

I am unable to access the attributes in component controller from methods in View even by using WD_COMP_CONTROLLER.

Say, I want to access the attribute G_FLAG in component controller from a method in the View Controller by the following code :

WD_COMP_CONTROLLER->G_FLAG = 2.

Then an error message is showing up saying - Field G_FLAG is unknown. It is neither in one of the specified tables nor defined by a DATA statement.

What should I do? Plz suggest..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please check the Public check box of the attribute in the component controller.

Hopefully it will solve your problem.

Thanks

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check if you have marked the Public checkbox against the attribute in the Component Controller.

Radhika