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: 

When I am running BDC for MIRO in backgroung, it is throwing DUMP CNTL_ERR

Former Member
0 Kudos

Hi All,

I am doing BDC Call Transaction For 'MIRO' Transaction.When I Run in foreground it is working perfectly,but when we run throwing in background,it is throwing dump.

Dump Details:

Exception condition "CNTL_ERROR" raised

Error analysis

A RAISE statement in the program "CL_GUI_DOCKING_CONTAINER======CP " raised the

exception

condition "CNTL_ERROR".

Since the exception was not intercepted by a superior program

in the hierarchy, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

"RAISE_EXCEPTION"

"CL_GUI_DOCKING_CONTAINER======CP " or "CL_GUI_DOCKING_CONTAINER======CM001 "

"CONSTRUCTOR"

CL_GUI_DOCKING_CONTAINER======CP " "CNTL_ERROR"

Main concern is why it is trowing dump when we run in the back ground?One more thing is same program i am writing BDC for FBV2 transaction also,It is working fine in back ground also.Dump is throwing by running MIRO in Back Ground?

Please look into this give me solution.

Thanks,

Suresh

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

miro is an enjoy transaction, so it will fail in background, though it runs in foreground. so try to use BAPI inplace of it.

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

miro is an enjoy transaction, so it will fail in background, though it runs in foreground. so try to use BAPI inplace of it.

former_member181995
Active Contributor
0 Kudos

Yes Vijay is absolutely right.

you may use these BAPI for same purpose.

BBP_INVOICE_CREATE

BAPI_INCOMINGINVOICE_CREATE

0 Kudos

Hi Amith,

Thanks for your response.

In my requirement Currently my program updating the posting date for Maxflow parked documents with First woking day of each month.Actually I am calling the FBV2 and then Calling MIRO internally,Could you please suggest me exact BAPI for this requirement?

Thanks,

Suresh.

Former Member
0 Kudos

You might also think of Using IDOC INVOIC01.......