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 dump

Former Member
0 Likes
1,226

Guys,

Actually my Z program is posting invoice through BDC...

But when i am posting through foreground, there is no dump, and working fine.

Whenever posting through background mode, dump getting created with "CNTL_ERROR" and the below info:

"A RAISE statement in the program "CL_GUI exception

condition "CNTL_ERROR".Since the exception was not intercepted program, processing was terminated."

Please help me out guys...

5 REPLIES 5
Read only

Former Member
0 Likes
993

Hi,

SHow dump log here. Otherwise try BAPI. What transaction is BDC?

CHeers.

...Reward if useful.

Read only

0 Likes
993

Actually this is triggered from MIR4. Once entered the invoice number, i am clicking the display/change in Edit Menu..

This will be calling MIR7 transaction...

Read only

0 Likes
993

Hi Karthik,

MIR7 tcode may be a Njoy type transaction which are controls based rather than screen based,so such transaction will throw the "CNTRL_ERROR" exception ,when u try to perform a BDC in the background.

The alternate options is to find conventional transactions or to go for suitable BAPI's.

Regards,

Keerthi

Read only

Former Member
0 Likes
993

Hi Karthik,

Even I am using BDC for posting an invoice document in MIR4.

Its working fine in foreground and not working during background execution.

Any other workaround other than using a BAPI as our requirement does not support usage of BAPI.

TIA.

Read only

CountZero
Explorer
0 Likes
993

I don't think MIR4 supports BDC. If you can't use a BAPI then your next best is to use an IDOC.