Skip to Content
0
Former Member
Apr 23, 2009 at 12:11 PM

Shortdump when submit a program (to display OO ALV) from BAdI

310 Views

Hi all,

I'm calling a z-program from BAdI PLM_CATALOG_OCI (method CATALOG_GET_ALTERNATIV) to display a list of Catalog selection in Object Oriented ALV Grid. When I tested the z-program alone, the ALV Grid is displayed nicely, however, when the z-program is being called by BAdI (using SUBMIT statement), it got the following shortdump:

Exception condition "CNTL_ERROR" raised.

Error analysis

-


A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the

exception

condition "CNTL_ERROR".

Since the exception was not intercepted by a superior program

in the hierarchy, processing was terminated.

.

.

.

Actually, the shortdump happen in z-program when calling method 'ob_grid->set_table_for_first_display'. Is there any restriction to call an ALV (with Container) using BAdI?

Kindly advise.

Many thanks,

Patrick