Skip to Content
0
Former Member
Oct 24, 2005 at 05:41 PM

Helper Class for Popups

37 Views

I'm implementing a search help BSP element and trying to use the helper class technique described in this forum: Lost reference of main controller within popup

Where a static attribute stores an instance that the popup controller can access and use. OK, sounds easy enough....

In my element DO_AT_BEGINNING I am simply setting the static attribute equal to the element attribute:

zcl_mymodel=>myhelper ?= model.

When DO_REQUEST of the popup controller fires, I want to get the value, but it's an illegal reference:

lr_model ?= zcl_mymodel=>myhelper.

I must be doing this wrong. All values are of type cl_bsp_model. Thanks in advance!