cancel
Showing results for 
Search instead for 
Did you mean: 

view controller reference in Component Controller throwing error..!

Former Member
0 Kudos

Hi Guys,

               I am referring view controller in component controller.

lo_view_controller ?= wd_this->wd_get_api( ).

Throwing the exception "Dynamic type conflict when assigning references".

Thanks

Sam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thats correct.

In Component Controller if you check the type of output obtained from WD_GET_API , it is IF_WD_COMPONENT. Hence you are getting the error.

You cannot obtain View Controller's Reference from Component Controller's WD_GET_API.

For types check this link

http://help.sap.com/saphelp_nw04s/helpdata/en/21/957f41964c050de10000000a1550b0/content.htm

Answers (0)