‎2008 Apr 03 1:29 PM
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
‎2008 Apr 03 1:33 PM
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.
‎2008 Apr 03 1:36 PM
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
‎2008 Apr 03 4:07 PM
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.
‎2008 Apr 03 4:23 PM