Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV GRID + ECC6

Former Member
0 Likes
626

Hello,

I use the FM 'REUSE_ALV_GRID_DISPLAY' to display an ALV grid. There are some specific events (with FM 'REUSE_ALV_EVENTS_GET')...

This works in 4.6C.

We have done an upgrade to ECC6.

Now, there is a dump on the specific buttons :

Error analysis

Short text of error message:

Control Framework: Invalid Processing of ABAP Object Control

Long text of error message:

Diagnosis

You want to edit a control created with ABAP objects techniques

(class-based Control Framework) using a function module (function

module-based Control Framework). The system does not support this.

The Class ID of the control is .

System Response

The transaction is terminated.

Procedure

Contact the person responsible for the SAP System.

I have to use the class 'CL_GUI_ALV_GRID' or it's possible to fix the probleme easier ?

Thank you.

Bernard Pochin

4 REPLIES 4
Read only

Former Member
0 Likes
535

Yes you can solve the problem in two ways.

one using the CL_GUI_ALV_GRID class.

another one is using the Function module

REUSE_ALV_GRID_DISPLAY_LVC

Here you need to change the declarations of the fieldcat, layout,etc according to FM definition.

Read only

Former Member
0 Likes
535

Hi ,

FM 'REUSE_ALV_EVENTS_GET' don't work with 'REUSE_ALV_GRID_DISPLAY' in ECC6 , U can use function module" REUSE_ALV_COMMENTARY_WRITE"

It works properly.

Reward points if helpful

Thanks

Shambhu

Read only

Former Member
0 Likes
535

I have tried with the class 'CL_GUI_ALV_GRID' and I've got the same problem.

The error is triggered when the grid is refreshed.

Read only

0 Likes
535

Can you explanin in Detail about the problem.