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: 

calling LSMW in background & using input parameter for flat file name

Former Member
0 Kudos
440

Hi experts,

we use LSMW for data migration (business partner data load into CRM 5.0).

Our special use case is:

There is a directory with lots of flat files (all files have the same structure).

We have created a LSMW project for loading one single file into system.

(For that we had to put the special flat file name into LSMW project.)

Now we want use a wildcard/joker for the file name in our LSMW projekt, so we can call/trigger LSMW in background job and use as input parameter a special file name.

Can you help with information how to do that?

thanks & regards

Alex

1 ACCEPTED SOLUTION

Former Member
0 Kudos
85

Hi,

Welcome To SDN.

You first complete you object in LSMW. That is, you complete all the steps required, the source structures, mapping, file assignments etc. Try it out with sample data and see if it is working. Once you know that the LSMW is working online, you can then use the program SAPDMC/SAP_LSMW_INTERFACE, to execute the LSMW object in the background. Execute this program from SE38 and enter all the selection screen values and execute it in the background like any other report program.

rEGARDS

1 REPLY 1

Former Member
0 Kudos
86

Hi,

Welcome To SDN.

You first complete you object in LSMW. That is, you complete all the steps required, the source structures, mapping, file assignments etc. Try it out with sample data and see if it is working. Once you know that the LSMW is working online, you can then use the program SAPDMC/SAP_LSMW_INTERFACE, to execute the LSMW object in the background. Execute this program from SE38 and enter all the selection screen values and execute it in the background like any other report program.

rEGARDS