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

BDC background scheduling issue

Former Member
0 Likes
1,268

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..

9 REPLIES 9
Read only

vinoth_aruldass
Contributor
0 Likes
1,181

hi,

for uploading file use opendataset statement ..

if you use GUI upload in background it won't work,,

hope it helps,

Vinoth

Read only

0 Likes
1,181

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

Read only

0 Likes
1,181

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

Read only

0 Likes
1,181

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

Read only

0 Likes
1,181

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

Read only

Former Member
0 Likes
1,181

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

Read only

Former Member
0 Likes
1,181

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

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,181

It is an enjoy transaction. You must not use bdc with it. Instead check with functions BAPI_INCOMINGINVOICE_PARK / MRM_INVOICE_PARK

Read only

0 Likes
1,181

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