Application Development 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: 

"SAPLSPO1" "CNTL_ERROR" Error coming in CRM not in R3 and BI

Former Member
0 Kudos
82

Hi Experts,

I am executing a foreground report in background, while doing so I am getting the short dump:

Short text

Exception condition "CNTL_ERROR" raised.

I have used the same code in R/3 and BI, it is working fine there but it gives a short dump in CRM. The code is:

IF cl_gui_alv_grid=>offline( ) IS INITIAL.

IF custom_container IS INITIAL.

CREATE OBJECT custom_container

EXPORTING

container_name = 'CONTAINER_ALV'.

CREATE OBJECT grid_alv

EXPORTING

i_parent = custom_container.

endif.

else.

CREATE OBJECT grid_alv

EXPORTING

i_parent = custom_container.

ENDIF.

Any ideas why it is working fine in R/3 and BI, but not in CRM.

Thanks in Advance,

Barjinder

1 REPLY 1

Former Member
0 Kudos
38

Thanks all, it is resolved.

Edited by: Barjinder Singh Anandpuri on Aug 7, 2009 11:45 PM