‎2011 Apr 19 4:05 PM
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
‎2011 Apr 19 6:29 PM
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
‎2011 Apr 20 2:43 AM
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
‎2011 Apr 21 3:41 AM
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.