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

CNTRL_ERROR in ALV oops

Former Member
0 Likes
687

Hi,

I am displaying some data througm Set_table_for_first_display in ehich one column is editable which has serial numbers from 1 to n.

i am getting the dump RAISE_EXCEPTION "CNTL_ERROR" when i am trying the following,

Say if i have 5 rows  in  ALV display i can give only 5 sequence numbers in my ALV. But when i copy ten sequence number from excel and try to paste in editable column additional 5 rows getting extended and giving the dump.

Please help how to avoid this dump.

Hi,

I am displaying some data througm Set_table_for_first_display in ehich one column is editable which has serial numbers from 1 to n.

i am getting the dump RAISE_EXCEPTION "CNTL_ERROR" when i am trying the following,

Say if i have 5 rows  in  ALV display i can give only 5 sequence numbers in my ALV. But when i copy ten sequence number from excel and try to paste in editable column additional 5 rows getting extended and giving the dump.

Please help how to avoid this dump.

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
611

How did you code the paste, by default or using a method like cl_gui_frontend_services=>clipboard_import ?

Regards,

Raymond

Read only

0 Likes
611

That column is editable column. Just copied 10 numbers from excel using CTRl C and pasted to that column using CTRL V.

1
2
3
4
5
6
Read only

0 Likes
611

Strange, there is something in your code, when I paste more data than available fields, rest of data is lost or wrap from beginning, how do you trigger that dump ?

Regards,
Raymond

Read only

0 Likes
611

when u schedule Report program in  Background process U wont get Error,

error Because ur trying accessing GUI parameter in foreground

to over come this just  follow the below link.

http://scn.sap.com/message/1780500#1780500

Regards,

Sinagam.