cancel
Showing results for 
Search instead for 
Did you mean: 

Struggling with f4 handling in ALV grid - Minisap 46D

sergio_atzori
Explorer
0 Kudos

Hi to all,

I got an abap problem developing with my Minisap 46D,

and i can't realy struggle out for a solution,

Issue concern using of self defined F4 in ALV ( created via objects),

Each program (standard program as in eg.BCALV_GRID_EDIT )

given by SAP to show use of ALV self definded F4 doesn't wark at all this option,

and when i click on the cell in order to show F4 set of values, program brake down in ABAP error,

Always the same happen with my z programs when they calls method written to manage F4,

following existing examplaes i think i put instructions in the right place and in proper way:

I mean defining implementing and registering onf4 event,

Further i see that standard programs with f4 dumping on my minisap are working proper on the normal SAP at work place,

Does this depend on some Minisap strange bugs in standard ALV class? What can i do?

I would be grateful to anyone who help me solving this SAP mistery,

So I got:

Error analysis (and syntesys of the short dump )

ABAP runtime errors CALL_METHOD_CONFLICT_TYPE

The call to method "ON_F4" is incorrect

The system tried to pass field "%_DUMMY$$" to the formal parameter " ".

"CALL_METHOD_CONFLICT_TYPE"

"BCALV_GRID_EDIT " or "BCALV_GRID_EDIT "

"HANDLE_F4"

"HANDLE_F4"

000740 *----


000750 * CLASS lcl_event_receiver IMPLEMENTATION

000780

000790 class lcl_event_receiver implementation.

000800 method handle_data_changed.

000810 perform data_changed using er_data_changed.

000820 endmethod.

000830

-


> method handle_f4.

000850 perform f4 using e_fieldname

000860 es_row_no

000870 er_event_data

000880 et_bad_cells.

000890 endmethod.

or looking at my custom program:

ABAP runtime errors CALL_METHOD_CONFLICT_TYPE

Error analysis

The call to method "HANDLE_ON_F4" is incorrect.

The system tried to pass field "%_DUMMY$$" to the formal parameter "E_FIELDVALUE".

003430

-


> method handle_on_f4.

003450

003460 data: pe_fieldname type lvc_fname,

003470 pe_fieldvalue type lvc_value,

003480 pes_row_no type lvc_s_roid,

003490 per_event_data type ref to

cl_alv_event_data,

003500 pet_bad_cells type lvc_t_modi,

003510 pe_display type char01.

003520

003530

003540 perform f4_help using pe_fieldname

pes_row_no.

003550

003560 endmethod.

PS. I'm not showing here code section where I register

and set handling event but is the usual, as

indicated in standard procedure,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I would recommend above all else simply upgrading:

https://www.sdn.sap.com/irj/sdn/downloads

NW04s is the latest FULL ABAP version available with Web Dynpro.