‎2008 May 16 10:51 PM
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...
‎2008 May 17 3:10 AM
Hi,
SHow dump log here. Otherwise try BAPI. What transaction is BDC?
CHeers.
...Reward if useful.
‎2008 May 19 8:50 PM
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...
‎2008 May 20 5:05 AM
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
‎2014 Apr 16 10:24 AM
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.
‎2014 Apr 16 10:47 AM
I don't think MIR4 supports BDC. If you can't use a BAPI then your next best is to use an IDOC.