How to Upload file in LSMW

The Legacy System Migration Workbench (LSMW) is a standard SAP tool used for data migration from non-SAP systems (legacy systems) into SAP. One of the most common and efficient methods for mass data upload in LSMW is through file upload, where data is prepared in an external file (such as Excel or a text file), then imported into SAP. In this blog, we guide you through the process of uploading G/L accounts in SAP. As an example, we are uploading 11 G/L accounts.

LSMW has 14 steps to complete. We can separate the LSMW into 2 parts:

First ready the file as per the format in Excel.

Convert it to TXT File and then store it in the local desktop or laptop.

Lets come back to SAP LSMW.

Select ‘Specify Files’ and click Execute, or double-click the line item directly.

How to Upload file in LSMW

We are currently in display mode; let’s switch to change mode.

Now double click on the Legacy data – On the PC (Frontend).

How to Upload file in LSMW

Now upload the file from the local desktop or laptop (as shown below).

How to Upload file in LSMW

Enter the description, select the ‘Tabular’ option, and click the Continue button.

How to Upload file in LSMW

Click on save button.

Select ‘Assign Files’ and click Execute, or double-click the line item directly.

How to Upload file in LSMW

We are currently in display mode; let’s switch to change mode.

How to Upload file in LSMW

Just click on save button.

Select ‘Read Data’ and click Execute, or double-click the line item directly.

Click on Execute button.

We can see 11 number below, It indicates that we are uploading 11 G/L accounts.

How to Upload file in LSMW

Select ‘Display Read Data’ and click Execute, or double-click the line item directly.

Popup will be appeared and click on continue button.

Now, we can see the 11 G/L accounts that the system has read. Let us also check by double click on the any line item.

How to Upload file in LSMW

As you can see, all the fields have been mapped correctly.

How to Upload file in LSMW

Select ‘Convert Data’ and click Execute, or double-click the line item directly.

Click on Execute button.

Just click back button.

Select ‘Display Converted Data’ and click Execute, or double-click the line item directly.

A pop-up will appear—just click the Continue button.

Now, we can see the 11 G/L accounts that the system has converted. Let us also check by double click on the any line item.

How to Upload file in LSMW

As you can see, all the fields have been mapped correctly.

How to Upload file in LSMW

Select ‘Create Batch Input Session’ and click Execute, or double-click the line item directly.

How to Upload file in LSMW

Click on Execute button.

Batch input session created successfully.

Select ‘Run Batch Input Session’ and click Execute, or double-click the line item directly.

Or you can use T code: SM35 to Run the Batch Input Session.

Now select the line and click on Process button.

How to Upload file in LSMW

Select the mode and click on process button.

Note:

  • Process/Foreground – Executes the upload step-by-step in the foreground, allowing user interaction (Only suitable for 1 or very few).
  • Display errors only – Runs in the background but stops and displays only when errors occur.
  • Background – Executes the entire upload in the background without user interaction.
How to Upload file in LSMW

Wait for 1 minute and see all 11 GL Accounts upload successfully.

Note: In real-time scenarios, we may need to upload thousands or even hundreds of thousands of master or transactional records into SAP, which can take several hours to complete.

How to Upload file in LSMW

SAP FICO Sub module wise:


Discover more from sap96.com

Subscribe to get the latest posts sent to your email.

Comment Here

Discover more from sap96.com

Subscribe now to keep reading and get access to the full archive.

Continue reading