Skip to Content
0
Former Member
Dec 21, 2007 at 08:13 AM

listBox causes dump only in MVC

16 Views

Hi,

I have a working ListBox that is working in a "regular" BSP.

I copied this app to an MVC type BSP and I am trying to do the same.

The problem is that I get a dump on a listBox command.

The dump is: ASSIGN_TYPE_CONFLICT

"Type conflict in the ASSIGN statement in the program CL_HTMLB_LISTBOX==============CP "

It is definitely from the listBox.

I stripped down the code until I got the HTMLB:

<htmlb:listBox id = "agg_number"

table = "//model/agg_list"

nameOfKeyColumn = "AGG_KEY"

nameOfValueColumn = "NAME"

multiple = "true"

size = "12" />

the definition is:

agg_list TYPE TP_AGG_LIST_TBL

the type is:

begin of tp_agg_list,

AGG_KEY type kunnr,

NAME type NAME1_GP,

ACCOUNT type HKONT,

end of tp_agg_list,

tp_agg_list_tbl type standard table of tp_agg_list,

tp_agg_tbl type standard table of kunnr

.

I have no idea why it is dumping.

I think that the code is right and it is working in a different app.

Do you have any ideas?

Thanks,

Itay