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

CNTL_ERROR exception when using 'submit report '

Former Member
0 Likes
1,197

Hi,

I am trying to use Submit statement as follows..

submit PPCMP000 with s_werks EQ 'SAS1'

with s_aufnr in range_tab

exporting list to memory

and return.

When i use the submit statement without 'list to memory' it is working fine. But whn i add tht, it showing the following dump.

<b>" A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the

exception

condition "CNTL_ERROR".

METHOD SET_VISIBLE .

  • (visible)

data: temp_visible(1).

temp_visible = cl_gui_control=>visible_true.

case visible.

when '1'.

when 'X'.

when 'x'.

when 'TRUE'.

when others.

temp_visible = cl_gui_control=>visible_false.

endcase.

  • check handle

IF ME->H_CONTROL IS INITIAL.

RAISE CNTL_ERROR.

ENDIF.

</b>

Is there any settings needs to be done?

Can any one help me in this??

Thanx,

Sivagami.R

6 REPLIES 6
Read only

Former Member
0 Likes
979

The problem is solved by the Basis team as it was an application error.

Read only

0 Likes
979

Hello,

what is the solution or where is the link to see the solution?

tnkhs

Read only

0 Likes
979

We ran into the exactly same problem.

Can you share what was your solution provided by your basis?

Read only

0 Likes
979

hello,

I'm having the same problem you have.

How did you solve this problem?

Best regards,

Bruno

Read only

0 Likes
979

if you are submitting a standard report you forget about it. if it is a custom one please let me know. i feel the report is giving a ALV GRID control output. if you run that you wll get the same error. to avoid that you may have to code differently( need to change submit program)

Read only

0 Likes
979

Hi,

It's a standard program.

I have created a transaction, and I'm now using call transaction to bypass the error. (But I would prefer to use submit instruction.)

Thanks for your help.

Best regards,

Bruno