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 Problem

Former Member
0 Kudos
300

Hi All,

I have created one sample project in LSMW using recording. The Session is Successfully created. When i Click process and process in foreground, its working fine. when the transaction is processed in background,

its giving error like "no data for batch input screen ..."

Regards

Mitesh

10 REPLIES 10

Former Member
0 Kudos
102

Hi,

It looks like:

1. Your transaction is behaving different in the background, or...

2. Because of the values of the entered data a different screen is called then in your recording.

A workaround is 'proces display errors only'. The session runs on the foreground but you do not see it and don not have to press ENTER the whole time.

Regards,

Marcel Kempers

Former Member
0 Kudos
102

From where you get your data?

In batch you can read from application server only, not from your pc.

Regards,

Wolfgang

0 Kudos
102

Hi,

You can create your BIM on the foreground. When you choose to process your BIM, you can choose background, foreground or display errors only.

Regards,

Marcel

Bema
Active Participant
0 Kudos
102

Where are you getting this error. when you try to enter data in the first row of a table like screen?

If so try to write this abap code for this field.

if sourcestruct-fieldname NE ''. "nospace in between the quotes

targetstruct-fieldname = sourcestruct-fieldname.

endif.

Former Member
0 Kudos
102

Hi All,

When i am processing the Job(Files is on Presentation Server) in Foreground, its being picked up and record is successful.

When i am processing the Job in background, its throwing error.

Even when i am processing the job with display error only, its throwing error.

Not sure why?....Is it because the system assumes that in background processing the file is supposed to be on application server only? But for foreground method, file can be on Presentation Server?

Also, if the file needs to be on application server and if i am having multiple application server , which application server directory need to be specified?

Regards

Mitesh

Former Member
0 Kudos
102

Hi,

Which transaction did you record?

Marcel

Former Member
0 Kudos
102

Hi mitesh,

In LSMW the fiel shud b in application serve only,for the path of the application server on which it's placed contact your basis guy.you cna place in any application server(this alos depends upton the basis settings)

hope this helps u,if not let me know.

regards

Former Member
0 Kudos
102

Hi All,

I am trying to record MM01 transaction.

In LSMW , we are having an option to select the file destination whether on application server or presentation server..over there i selected the file on the presentation server.

Regards

Mitesh

Former Member
0 Kudos
102

Hi

MM01 is complex transaction. It is very difficult to make a uniform recording for this transaction.

Take a look at this page:

http://help.sap.com/saphelp_46c/helpdata/en/f6/ca0766a7a911d1950500a0c930e0da/frameset.htm

Try using direct input program RMDATIND instead of a recording.

Good luck!

Marcel

0 Kudos
102

Hi Marcel,

This is just for my study purpose, i am trying to learn LSMV via recording..

For study purpose i am only trying to load the data in the basic view (Only One Tab).

Regards

Mitesh