Application Development 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: 

LSMW does not run in background

Former Member
0 Kudos

Hi experts,

I've recorded an LSMW to create new functional locations, it runs in foreground but not in background.
These are the screens used:

    1SAPMILO01110
    2SAPMILO02100
    3SAPMILO02100
    4SAPMILO02100
    5SAPMILO02100
    6SAPMILO02100
    7SAPMILO02100
    8SAPMILO02100
    9SAPMILO06160
   10SAPMILO02100


This is the error I get when running in background:

MessageTransaction                    IndexModul                                        Screen    IndexTIDNo.
Control Framework: Fatal error - GUI cannot be reachedIL011SAPLXTOB100110SDC006
Runtime error RAISE_EXCEPTION has occurredIL011SAPLXTOB100110A00341
Transaction errorIL011                                            0S00357

Can someone help me please? I need to load more than 30.000 records so running in foreground is really not an option.

Thanks!

1 ACCEPTED SOLUTION

former_member201275
Active Contributor
0 Kudos

I assume you mean that your batch session (SM35) won't run in background? This is probably because the transaction you are rcfording for cannot run in background?

7 REPLIES 7

Former Member
0 Kudos

Which is the TCode for which you have recorded the BDC

former_member201275
Active Contributor
0 Kudos

I assume you mean that your batch session (SM35) won't run in background? This is probably because the transaction you are rcfording for cannot run in background?

0 Kudos

Yes the batch session is not running in background via SM35, I am using tcode IL01 to create new functional location.

0 Kudos

Have you actually recorded it with the checkbox: Simulate background mode ticked on?

0 Kudos

The actual recording was not done by myself, I got a copy of the LSMW from the client.

When I run in foreground and check the box 'simulate background mode' I get this error at the end:

No batch input data for screen SAPMSSY0 0120

0 Kudos

I tried to redo the recording of transaction IL01 and at the end when I save I get this:

0 Kudos

Problem solved: had to check display error only mode