11-05-2008 5:44 PM
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
11-05-2008 5:50 PM
miro is an enjoy transaction, so it will fail in background, though it runs in foreground. so try to use BAPI inplace of it.
11-05-2008 5:50 PM
miro is an enjoy transaction, so it will fail in background, though it runs in foreground. so try to use BAPI inplace of it.
11-05-2008 6:20 PM
Yes Vijay is absolutely right.
you may use these BAPI for same purpose.
BBP_INVOICE_CREATE
BAPI_INCOMINGINVOICE_CREATE
11-06-2008 10:55 AM
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.
11-05-2008 7:14 PM