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 for tcode MIR7

Former Member
0 Likes
448

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

1 REPLY 1
Read only

Former Member
0 Likes
318

Hi,

Have you got the solution for this problem. We are also facing this problem. The only differnece is LSMW for MAT1 tcode in EWM System.

All:

Please let me know if you have any pointers to this.

Regards

Rashit