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

Control Framework - Fatal Error in Back ground program

Former Member
0 Likes
1,111

Hi All,

I had done a BDC program for a custom transaction, When I am executing the BDC program in background then I am getting " Control Framework - Fatal Error GUI cannot be reached'.

I had changed my output display from ALV to Classical report. But still I am getting the same error.

Thanks & Regards,

M.Ramana Murthy.

Edited by: Ramana Murthy on Apr 19, 2011 5:05 PM

3 REPLIES 3
Read only

Former Member
0 Likes
536

Hi Ramana,

Seems like there is still some piece of code which requires interaction with GUI, make sure you have activated all "INCLUDES" in your program, taken off all the unnecessary sub routines etc and try, is the issue still persists please post your code.

Regards,

Chen

Read only

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Likes
536

Hello,

The issue you are facing is a common behaviour when you are running

programs written with control-technology in the background.

Controls cannot be run in background processing, because the Control

technology requires a reachable GUI on frontend PC for the Controls

display. Due to the fact that there is no Gui connection, you get the error.

This is a standard behaviour and cannot be changed.

Check the SAP note: 311440.

Regards,

David

Read only

Former Member
0 Likes
536

Hi David,

Thanks for your reply.

Now we are running the program in foreground. When I am running the program using CALL TRANSACTION with no screen mode then it is working fine. But when I am executing the program in Session method I am facing a problem.

Here I have 2 transaction codes. First one is a custom transaction. Once the Data is loaded into the first transaction then only we can see the inserted record details in the second transaction. When I am using Call Transaction then it is working fine as it is doing commit work. But in session method it is not commiting the work.

Can you please suggest.

Thanks & Regards,

M.Ramana Murthy.