Skip to Content
0

toolbar F4 dump on alv

Feb 20, 2017 at 09:25 PM

141

avatar image

hello Folks i'm facing this issue with an oo editable ALV.

I had excluded many toolbar function but the filter, all the function are working properly but the filter, getting un dump while trying to choose the values.

To be clear when the popup shows correctly but while cliking on the matchode it's dump

got this dump:

i have an cast error CX_SY_ASSIGN_CAST_ILLEGAL_CAST

"ASSIGN_CASTING_ILLEGAL_CAST" CX_SY_ASSIGN_CAST_ILLEGAL_CAST "SAPLSDHI" bzw. LSDHIU18 "F4IF_INT_TABLE_VALUE_REQUEST"

if i change the alv using an SALV instead of cl_gui_alv_grid do not have dump. i do not have dump.

the alv is called

 
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L0S33 {
color: #4DA619;
}
.L0S55 {
color: #800080;
}
.L0S70 {
color: #808080;
}

  ls_layout-stylefname = 'CELLTAB'.

  ls_layout-excp_fname = 'LIGHT'.
 call method go_grid->set_table_for_first_display

    exporting

      it_toolbar_excluding = lt_exclude

      is_layout            = ls_layout

      i_structure_name     = lo_obj->ms_conf-table_name

    changing

      it_outtab            = <dyn_table_out>.<br>

thanx for suggesting

dump.png (33.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Raymond Giuseppi
Feb 21, 2017 at 07:04 AM
0

The interesting code should be the call of F4IF_INT_TABLE_VALUE_REQUEST and the definition/filling of its parameters. Look in the dump for the code calling the FM.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

What's the definition/type of the field you try to filter?

0
Marco Sposa Feb 21, 2017 at 04:09 PM
0

ok the call is coming from the alv toolbar, i do not have access to system right now asap i do have i will post the dump just be4 calling the FM;

Thx for your reply

Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi Feb 21, 2017 at 06:58 PM
0

My crystal ball: I wonder if it could be the ALV data table declared locally (it should be declared as a global data object).

Share
10 |10000 characters needed characters left characters exceeded
Marco Sposa Feb 22, 2017 at 01:49 AM
0

Hello Sandra thanx for the answer , my alv is declared in a top include, in attachment the step be4 the call the content of the alv table.

to Raymond, i'm calling directly the FM but using the alv toolbar function to filter.


alv.png (16.0 kB)
Share
10 |10000 characters needed characters left characters exceeded
Marco Sposa Mar 02, 2017 at 10:51 AM
0

any clue on this please? does the fact that i'm calling the alv with fieldsymbol as table has his importance?

thank you.

Share
10 |10000 characters needed characters left characters exceeded