0% found this document useful (0 votes)
120 views10 pages

LSMW Batch Scheduling

This document explains how to schedule an LSMW batch job in SAP to run periodically. It involves finding the data directory on the application server, uploading the source file, defining the target file path, and scheduling the LSMW master program for periodic data transfer using transaction SMX. The scheduled job can then be monitored and its status checked using transaction SMX at the specified date and time.

Uploaded by

Jagan M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
120 views10 pages

LSMW Batch Scheduling

This document explains how to schedule an LSMW batch job in SAP to run periodically. It involves finding the data directory on the application server, uploading the source file, defining the target file path, and scheduling the LSMW master program for periodic data transfer using transaction SMX. The scheduled job can then be monitored and its status checked using transaction SMX at the specified date and time.

Uploaded by

Jagan M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

LSMW Batch Scheduling

Through this document you will be able to learn that how to schedule LSMW in
background at particular period (Date & Time).

T-codes used:
• AL11
• CG3Z
• CG3Y
• LSMW
• SMX

Step-1: Find out Data Directory

First, you have to find out “Data Directory in application server” which you can use to perform this
activity your basis team will create the directory. You will be able to save the data into T-code: AL11 in
respective directory. (T-code: AL11 is used to save the files from legacy system to application server)

To find out the path for directory you can check in T-code: AL11.
Copy the “Directory”. It will be used in next step to define “Target File on application server”.

Step-2: Upload/Download file on Application Server


Now, enter the T-code: CG3Z, here you have to select front end source file which you want to upload
and define target file on application server. To define target file on application server give file name with
extension followed by “Directory” which you have copied in previous step.

Page 1

Juniper Business Use Only


Copy the path of target file on application server and then Click on Upload.

This will upload you file on Application Server which will be used during LSMW run.

You can download uploaded file through T-code: CG3Y

You can check the uploaded data in T-code: AL11

Page 2

Juniper Business Use Only


Step-3: LSMW scheduling
Before scheduling LSMW, you have to follow below mentioned steps.
 In “Define Object Attributes” step you have to select “Data Transfer” type as “Periodic” which will
enable “Master Program for Periodic Data Transfer”.

Page 3

Juniper Business Use Only


 Then follow the steps of LSMW creation.
 In Specify Files, generally we upload file at “Frontend – Legacy data” but here we have to upload
file at “Application Server – Legacy data”.

Page 4

Juniper Business Use Only


 Here give the file path of “target file on application server” which you have copied during file
uploading through T-code: CG3Z
 Then follow the steps till “Create Batch Input Session”

Page 5

Juniper Business Use Only


Page 6

Juniper Business Use Only


 Then execute/double click “Master Program for Periodic Data Transfer”
 Go to Program- Execute in Background- Give output device name- Continue- Click on
“Date/Time” button- Enter Date & Time when you want to execute this LSMW - Save it

Page 7

Juniper Business Use Only


Page 8

Juniper Business Use Only


Page 9

Juniper Business Use Only


Step-4: Check the status of scheduled Job
By using T-code: SMX you can check the status of your scheduled job.

Thank You ☺

Page 10

Juniper Business Use Only

You might also like