Skip to Content
0
Former Member
Oct 26, 2007 at 12:41 PM

BDC for tcode MIR7

130 Views

Hi Friends,

Hi friends I have created a BDC(Session Method) for tcode MIR7 using screens. When I run this as forground or Display when error only mode in SM35 it works fine. but when I run this as background process. then it gives below error

Control Framework: Fatal error - GUI cannot be reached

Runtime error RAISE_EXCEPTION has occurred

Can anybody suggest me why this error is coming and how can we rectify it? I have the requirement to run it as background job.

Below was complete error details given by system

Control Framework: Fatal error - GUI cannot be reached

Message no. DC 006

Diagnosis

When the Control Framework is started, the system checks whether the installed GUI supports frontend components such as controls. This check failed; the causes may be as follows:

1.) The program is running in the background

2.) A transaction was called using CALL TRANSACTION ... STARTING IN BACKGROUND TASK.

Procedure

Programs that run in the background cannot address controls on the frontend. In this case, the application must either include a fallback that does not depend on the user interface, or the program or transaction must detect for itself that is running in the background and terminate itself.

Thanks in advance

Abinash Kumar