‎2013 Feb 22 5:57 AM
Hi all,
when I am running BDC(MIR6 to post parked invoice to post) foreground its working fine and same BDC running background getting this errors mentioned below
Control Framework: Fatal error - GUI cannot be reached
Runtime error RAISE_EXCEPTION has occurred
Please can any one help me to resolve this issue.
thank you..
‎2013 Feb 22 6:02 AM
hi,
for uploading file use opendataset statement ..
if you use GUI upload in background it won't work,,
hope it helps,
Vinoth
‎2013 Feb 22 7:27 AM
Hi all,
i am not using any GUI upload or download FM,not thru file just passing only company code in selection screen to MIR6 Screen field then it will fetch and post in miro
‎2013 Feb 22 7:28 AM
Hi all,
i am not using any GUI upload or download FM,not thru file just passing only company code in selection screen to MIR6 Screen field then it will fetch and post in miro
‎2013 Feb 22 6:03 AM
Hi Mahesh,
How are you passing the data to the BDC program in back ground mode.
you have to hard code file name in side your program if you are selecting the file via dialog box you will get the above error.
Regards,
Viswa
‎2013 Feb 22 7:19 AM
Hi Viswa,
no .. not thru file just passing only company code in selection screen to MIR6 Screen field then it will fetch and post in miro
‎2013 Feb 22 7:11 AM
Hi Mahesh,
Which method are you using Call transaction or Session ?
go for session method where you can see the logs and can able to see the exact error?
or go to t-code ST22 and check the error.....?
--
jack
‎2013 Feb 22 7:27 AM
Hi all,
i am not using any GUI upload or download FM,not thru file just passing only company code in selection screen to MIR6 Screen field then it will fetch and post in miro
‎2013 Feb 22 9:21 AM
It is an enjoy transaction. You must not use bdc with it. Instead check with functions BAPI_INCOMINGINVOICE_PARK / MRM_INVOICE_PARK
‎2013 Feb 22 9:47 AM
Hi ,
its not for invoice park ... i written BDC to post parked invoice ..then u may ask me why ur not using BAPI_INCOMINGINVOICE_POST i used this but problem is when i do invoice manually thru miro then it will working .. but invoice are coming from EDI there item level amount is spliting like one line in PO tab and other line ine in GL tab in MIRO when i use bapi which i mentioned it not posting GL tab data its posting only PO tab data from background