Lsmw Basics Training Course

82
BASICS OF SAP’S LEGACY SYSTEM MIGRATION WORKBENCH PROCESS

Transcript of Lsmw Basics Training Course

Page 1: Lsmw Basics Training Course

BASICS OF SAP’SLEGACY SYSTEM

MIGRATION WORKBENCH

PROCESS

Page 2: Lsmw Basics Training Course

OVERVIEW

SAP has made available a transaction, LSMW, which drives the Legacy System Migration Workbench tool. This tool enables the user to:1.   record the execution of many different individual SAP transactions2.   map the transactions fields to columns in a spreadsheet3.   execute the recording to read the data file and repeatedly pass the data to a designated SAP transaction for processing This enables the user to use the tool to do mass processing, all without having to manually enter data one transaction at a time, while still subjecting the input data to required SAP editing before saving each record. The tool has many features and capabilities, but the purpose of this course is to provide you with a basic understanding in how to use the tool to perform mass processing for the majority of your needs. As you can envision, this process could be used for: a)mass change of production data 2)setting up training data 3)converting legacy systems data 4)…..and others… In order to use the tool, you must have both the “LSMW” transaction and a transaction that matches what you enter in the Project field. In our example, “PROJ” is being used, so a “PROJ” transaction must be in a role attached to your user ID.

Page 3: Lsmw Basics Training Course

COMPONENTS

The LSMW tool is made up of basically three major components:1.   A recording of the screens and fields used in a given transaction2.   A multi-step process whereby that recording is married to the process, input fields mapped to screen fields, and creation of batch/online processing jobs, and subsequent execution of those jobs3.   3-tiered library wherein the multi-step processes are organized and stored 

Page 4: Lsmw Basics Training Course

PROCESS OVERVIEW

If you are “starting fresh” in LSMW, you must first establish the hierarchy of your library. The library is made up of two upper-levels of structure, with your transaction process’s name making up the third level. Below is an example:

  

Once the Project and Subproject structures have been established, it is no longer necessary to go through the create steps and you can simply enter the upper two levels of hierarchy followed by an Object name for your new LSMW process to create it, or an existing one to execute it.

Page 5: Lsmw Basics Training Course

CREATING THE STRUCTURE

1. Trigger the LSMW transaction to get to the above screen.

2. IF you are building a new structure, enter the desired Project identifier, the desired Subproject identifier, and the name of your first Object process.

3. Position the cursor on the Project field so that it turns yellow.

4. Click on the Create icon

Page 6: Lsmw Basics Training Course

CREATING THE STRUCTURE

1. Enter the description you wish for the first level of your structure.

2. Click on the Green Check icon to save it and return.

 

Page 7: Lsmw Basics Training Course

CREATING THE STRUCTURE

1. Highlight the Subproject level.

2. Click on the Create icon once again.

3. Enter a description for the Subproject.

4. Click on the Green Check again.

Page 8: Lsmw Basics Training Course

CREATING THE STRUCTURE

1. Highlight the Object field

2. Click on the Create icon once again

Page 9: Lsmw Basics Training Course

CREATING THE STRUCTURE

 1. Enter a description for the

process that you are about to create.

2. Click on the Green Check.

Page 10: Lsmw Basics Training Course

CREATING THE STRUCTURE

1. The system will return you to the library hierarchy screen, with your new object shown.

2. If you are simply creating a new Object in an existing library, you would only go through the last step to enter the new Object name.

3. At this point, you are finished with the creation of your process library setup.

 

Page 11: Lsmw Basics Training Course

CREATING THE INPUT FILE

• The input file can be created by manual input into a spreadsheet and then saved in the required format

• - or –

• May be created using tools such as reporting download or SQ01 Query to extract the basic data fields from SAP

Page 12: Lsmw Basics Training Course

CREATING THE INPUT FILE

• The presence and order of data fields is flexible.• The only stipulation is that any field in the file to

the left of the last field that will be fed to the recording, must be defined to SAP in one of the process steps.

• Any fields to the right of the last field to be used in the recording can be present but will be ignored.

Page 13: Lsmw Basics Training Course

CREATING THE INPUT FILE

1. The input file must be a .TXT-formatted file.

2. It can have a header record in it. This record can be ignored by the record reading.

3. If there is a field that is being changed and is always the same value, you can either have it in the input file or define it as a “constant” when executing the process.

4. The file can contain values that will not be used in the process execution.

Page 14: Lsmw Basics Training Course

CREATING THE RECORDING

After having created the process name for the process we wish to run, we must now create the recording.

 The LSMW transaction, by design, expects to process one record at a time, thus it will be fed data from a spreadsheet, one record at a time. This means that the input file must contain the key to the record to be processed, along with the fields to be changed. This also applies to the recording.

 When doing the recording, it is recommended that you do not use the pulldown feature in SAP. Instead, know the values for each field on the SAP screens and key them in rather than selecting from a pulldown. This forces LSMW to recognize that you entered data in specific fields and store that field in the recording.

Page 15: Lsmw Basics Training Course

CREATING THE RECORDING

• If you have not already done so, trigger the LSMW transaction

• Take path: >Goto >Recordings

Page 16: Lsmw Basics Training Course

CREATING THE RECORDING

• When the system returns the screen shown here to the left, click on the CREATE icon (to the left of the “pencil”)

Page 17: Lsmw Basics Training Course

CREATING THE RECORDING

1. When the sub-cell shown here appears, enter a recording name and a description.

2. The recording name must be contiguous alpha-numeric characters with no spaces in the name

3. Click the Green Check.

Page 18: Lsmw Basics Training Course

CREATING THE RECORDING

1. When the screen to the left appears, enter the desired SAP transaction you wish to execute and record.

2. Note: Certain transactions in SAP (such as CJ20N) will not record successfully and as such you must use alternative transactions to achieve your objective. In this example we are changing persons responsible in project wbs’s so we are using transaction CJ02 instead of CJ20N.

3. Click the Green Check.

Page 19: Lsmw Basics Training Course

CREATING THE RECORDING

• LSMW cannot handle very well screens which have multiple records stacked, so you must try to control which record on the screen you are accessing.

• In this example, we are entering a single wbs number rather than a project def so that the wbs we wish to process is the only one on the screen and therefore is the first one in the stack.

• We enter the wbs number and click on the WBS ELEMENT OVERVIEW icon.

Page 20: Lsmw Basics Training Course

CREATING THE RECORDING

• The system returns a screen with the single wbs on it.

• We then click on the RESPONSIBILITIES tab to get to the Person Responsible field

Page 21: Lsmw Basics Training Course

CREATING THE RECORDING

• The system displays the wbs number along with the existing person responsible value in the record.

Page 22: Lsmw Basics Training Course

CREATING THE RECORDING

• In this example, we change the person responsible to 1322.

• In this example we want to change the costing sheet, so we click on the tab containing it and change it to the desired value.

• Then, having completed our work, we click the SAVE icon.

• If there were other fields to be changed as well, we would proceed through the screens making the changes before doing the SAVE.

Page 23: Lsmw Basics Training Course

CREATING THE RECORDING

• The system will then return the screen shown here, reflecting all fields that it used in the process.

• Click on the DEFAULT ALL icon to have the system save all of the fields to the recording.

Page 24: Lsmw Basics Training Course

CREATING THE RECORDING

1. The system will expand the description of all fields.

2. Click on the SAVE icon.

3. The system will return a message indicating that the recording has been saved.

4. Click on the Green Arrow to go back.

Page 25: Lsmw Basics Training Course

CREATING THE RECORDING

• The system will show the list of recordings again, with your recording temporarily showing at the top of the list.

• NOTE: If for any reason you wish to delete your recording, simply highlight it and click on the “trash can” icon at the top of the screen.

• You may then go through the recording process again to recreate it.

• Click on the Green Arrow to return.

Page 26: Lsmw Basics Training Course

EXECUTION OF THE PROCESS

• The system will return you to the process screen.

• Making sure that your Object name is the one you created earlier, click on the EXECUTE icon to start the process.

Page 27: Lsmw Basics Training Course

EXECUTION OF THE PROCESS

• The system will then display the screen to the left, showing all of the possible steps that can be executed.

• We are going to use a select group of them and ignore others.

• NOTE: As you execute each step, the system will timestamp to the right of the step AND will increment the radio button to the next one in the list.

Page 28: Lsmw Basics Training Course

PROCESS STEPS TO BE USED

1. MAINTAIN OBJECT ATTRIBUTES2. MAINTAIN SOURCE STRUCTURE3. MAINTAIN SOURCE FIELDS4. MAINTAIN STRUCTURE RELATIONS5. MAINTAIN FIELD MAPPING6. SPECIFY FILES7. ASSIGN FILES8. READ DATA9. DISPLAY READ DATA10. CONVERT DATA11. DISPLAY CONVERTED DATA12. CREATE BATCH INPUT SESSION13. RUN BATCH INPUT SESSION

Page 29: Lsmw Basics Training Course

PROCESS STEPS TO BE USED

• MAINTAIN OBJECT ATTRIBUTES – Used to tie the recording to the processing session

• MAINTAIN SOURCE STRUCTURE – Used to define a structure under which we will list all of the fields coming in in the input file

• MAINTAIN SOURCE FIELDS – Here we enter each of the input fields from the input file.

• MAINTAIN STRUCTURE RELATIONSHIPS – This step then ties the defined structure of input fields to the recording

• MAINTAIN FIELD MAPPING – In this process we tie the input file fields to the SAP recording screen fields. We also specify any constant values for certain SAP recording screen fields.

• SPECIFY FILES – Here we specify where the input .TXT file is stored on our PC so that the process can find it when the execution starts.

Page 30: Lsmw Basics Training Course

PROCESS STEPS TO BE USED

• ASSIGN FILES – Ties the input file to the process

• READ DATA – Reads the data from the input file into a temporary storage file known to the process

• DISPLAY READ DATA – Displays a listing of all of the records read in from the input file and displays the columns of data you identified earlier. Any columns of data in the input file but not identified earlier will not be displayed.

• CONVERT DATA – This takes the read data and converts it into a format that can be read in by the actual SAP transaction that will be using the data.

• DISPLAY CONVERTED DATA – As part of the conversion process, SAP brings in not only the input fields from the input file, but adds other data values it needs. All of these fields will be shown here, including any constant values that you may have specified.

Page 31: Lsmw Basics Training Course

PROCESS STEPS TO BE USED

• CREATE BATCH INPUT SESSION – This step reads in the converted data and sets up a batch input session for processing

• RUN BATCH INPUT SESSION – This step allows you to then execute the actual mass update. This feeds the batch of data, along with the recorded transaction code, to SAP for processing. There are three options for execution which will be described further ahead.

Page 32: Lsmw Basics Training Course

EXECUTING THE PROCESS

• With the radio button turned on beside the first step, click on the EXECUTE button.

Page 33: Lsmw Basics Training Course

1. MAINTAIN OBJECT ATTRIBUTES

• The system will bring you to the screen shown, in DISPLAY mode.

• Click on the DISPLAY/CHANGE icon to get into Change mode.

Page 34: Lsmw Basics Training Course

1. MAINTAIN OBJECT ATTRIBUTES

• Enter/pulldown-select your recording in the RECORDING field.

• Click on the SAVE icon. The system will return a message indicating that it has saved.

• Click on the Green Arrow to exit.

Page 35: Lsmw Basics Training Course

2. MAINTAIN SOURCE STRUCTURE

• The system will timestamp and increment the radio button down to the next step in the screen.

• Click the EXECUTE icon.

Page 36: Lsmw Basics Training Course

2. MAINTAIN SOURCE STRUCTURE

• The system will take you the next screen……again in Display mode.

• Click on the “Pencil” icon to get to Change mode.

Page 37: Lsmw Basics Training Course

2. MAINTAIN SOURCE STRUCTURE

• The system will then display a CREATE icon.

• Click on the CREATE icon.

Page 38: Lsmw Basics Training Course

2. MAINTAIN SOURCE STRUCTURE

• When the shown cell appears, enter a source structure name of your own choosing and a description.

• All of the characters of the structure ID must be contiguous and there are are a few characters that are not allowed. The system will prompt you if you use them.

• Click on the Green Check.

Page 39: Lsmw Basics Training Course

2. MAINTAIN SOURCE STRUCTURE

• The structure name you set up will then be confirmed back to you on this screen.

• Click on the SAVE icon to save it.

• The system will confirm the Save with a message at the bottom of the screen.

• Click on the Green Arrow to return.

Page 40: Lsmw Basics Training Course

2. MAINTAIN SOURCE STRUCTURE

• When the system sets the radio button to the MAINTAIN SOURCE FIELDS, click on the EXECUTE icon to get to this screen.

• You will again be in DISPLAY mode so click on the Display/Change “pencil” icon to get to Change mode.

Page 41: Lsmw Basics Training Course

3. MAINTAIN SOURCE FIELDS

• When the system returns the screen shown here, highlight the structure ID, and click on the CREATE icon at the top of the screen.

Page 42: Lsmw Basics Training Course

3. MAINTAIN SOURCE FIELDS

• We are now ready to start defining the list of data columns in our input file.

• In this example, all we are going to need is the wbs number and person responsible, but since the project defintion is to the left of the wbs number, we must define it.

• Enter a Field Name for the Project Def, along with a description.

• Enter a length value at least as big as the number of characters for the field in the spreadsheet. Entry of a number smaller will result in dropped characters when reading the input file.

• Leave the Field Type set to C (Character).

• Click on the Green Check.

Page 43: Lsmw Basics Training Course

3. MAINTAIN SOURCE FIELDS

• The system will return you to the screen to the left and display the first field defined, indented under the structure name.

• We are now ready to define the second data column from our input file. However, we must tell the system that it is to the right of the project definition. In order to do that, we must define it BELOW the proj definition on this screen.

• Highlight the PROJDEF field and click on the CREATE icon. This will take you to the screen to create the next field, and show it under the Project Def field.

Page 44: Lsmw Basics Training Course

3. MAINTAIN SOURCE FIELDS

• We now enter the Field name, Description, and Field Length for the WBS. (Remember to make the field length equal to or larger than the number of characters for the wbs in the input file)

• Click on the Green Check.

Page 45: Lsmw Basics Training Course

3. MAINTAIN SOURCE FIELDS

• Repeat the process for all fields that you will be feeding to the SAP transaction. In our example, we need only the wbs and person responsible, so that is all that needs to be defined. Even though the WBS description is in the input file, to the right of the person responsible, it is not needed for processing and we therefore do not need to define it.

• Click on the SAVE icon.

• The system will return a message that it was saved.

• Click on the Green Arrow to return.

Page 46: Lsmw Basics Training Course

4. MAINTAIN STRUCTURE RELATIONS

• When the system increments to the above step, click the Execute icon.

• When the system presents the screen to the left, click on the Display/Change (“pencil”) icon.

• Simply Click on the SAVE icon. This will then tie the structure with its fields to the process.

• Click on the Green Arrow to return.

Page 47: Lsmw Basics Training Course

5. MAINTAIN FIELD MAPPING

• When the system sets the radio button to Maintain Field Mapping, execute it.

• The system will display the screen shown here.

• Click on the Display/Change icon to get to Change mode.

• The system will display all fields that were touched during the recording.

• We are now ready to tie the screen field names to the input file fields.

• Highlight the first field, the WBS, and click on the Source Field.

Page 48: Lsmw Basics Training Course

5. MAINTAIN FIELD MAPPING

• Select the WBS field by double-clicking on it.

• We will not use the PROJDEF field since, even though it is in the input file, we do not need it as input.

• Click on the Green Check.

Page 49: Lsmw Basics Training Course

5. MAINTAIN FIELD MAPPING

• If your source field is defined larger than the SAP field (even though the actuals values in your input sheet are less than the length specified) you will see this message.

• Simply click on the Green Check to bypass it.

Page 50: Lsmw Basics Training Course

5. MAINTAIN FIELD MAPPING

• The system will “tie” the two fields together and reflect it in the screen shown.

• Repeat the process for the Person Responsible field.

Page 51: Lsmw Basics Training Course

5. MAINTAIN FIELD MAPPING

• At this point, we have tied the two fields needed from the input file to SAP screen fields.

• We now want to have the process “plug” a constant for the Costing Sheet field.

Page 52: Lsmw Basics Training Course

5. MAINTAIN FIELD MAPPING

• After highlighting the Costing Sheet field, click on the CONSTANTS icon.

• The system will open up the cell to the left.

• Enter the desired costing sheet, NA in the field.

• Click the Green Check.

Page 53: Lsmw Basics Training Course

5. MAINTAIN FIELD MAPPING

• The system will then return you to the screen shown, with the constant value depicted for the field specified.

• We are now finished with the tying of input fields to SAP fields.

• Click on the SAVE icon.

• Click on the Green Arrow to return.

Page 54: Lsmw Basics Training Course

6. SPECIFY FILES

• Click on the Specify Files radio button to skip past the Maintain Fixed Values process. We are not using it.

• Click on the Execute icon.

Page 55: Lsmw Basics Training Course

6. SPECIFY FILES

• The system will take you to the screen to the left, in Display mode.

• Click on the Display/Change icon to move to Change mode.

Page 56: Lsmw Basics Training Course

6. SPECIFY FILES

• We are now ready to provide the input file name to the process.

• Double click on the “Legacy Data” field name with the subtitle “On the PC”.

• The sub-cell shown to the left will appear.

Page 57: Lsmw Basics Training Course

6. SPECIFY FILES

• Enter the input file name in the FILE field by using the pulldown function to find the file on your PC hard-drive.

• Enter a description of the input file.

• Click on the TABULATOR radio button. This is critical. If you do not, the system will string all columnar data together into one column and feed it to your process and your process will fail.

• Click on the Green Check to return.

Page 58: Lsmw Basics Training Course

7. ASSIGN FILES

• When the system returns to the process screen and the radio button moves to the Assign Files line, click on the Execute icon.

• Click on the Display/Change icon to move to Change mode.

• Click on the SAVE icon.

• Click on the Green Arrow to return.

• This process will tie your input file to the process structure.

Page 59: Lsmw Basics Training Course

8. READ DATA

• When the process screen positions itself on the Read Data line, click on the EXECUTE icon.

• The system will display the screen to the left.

• In order to keep relative record numbers constant, we want to read the entire file. We will however only convert portions of the read file.

• Click on the EXECUTE icon.

Page 60: Lsmw Basics Training Course

8. READ DATA

• The system returns a report which shows the number of records read from the input file. In this case, it will include the data as well as the header record.

• We will bypass the header record during conversion.

• Click on the Green Arrow TWICE to return to the process screen.

Page 61: Lsmw Basics Training Course

9. DISPLAY READ DATA

• Execute the Read Data step.

• The system will display the screen shown to allow you to indicate which read records you wish to see.

• Click on the Green Check to see all of them.

Page 62: Lsmw Basics Training Course

9. DISPLAY READ DATA

• The system then displays a list of all of the records in the file or the range you specified.

• Double-click on one of the records.

Page 63: Lsmw Basics Training Course

9. DISPLAY READ DATA

• The system then displays all of the fields from the read record selected.

• Notice that the system shows only the fields read in from the input file. The “constants” field values will be brought in later since they were not part of the input file.

• Click on the Green Arrow to return.

• NOTE: If at a later date you re-read your input file, it is not necessary to re-display the data if you are confident it has not changed in displacement. The purpose of this screen is to simply verify that you have the fields properly aligned and defined.

Page 64: Lsmw Basics Training Course

10. CONVERT DATA

• Execute the Convert Data step in the process.

• The screen to the left will appear.• If this is the first time you are

running the conversion step, you should only convert one or two records as you will be monitoring their use coming up and, if you have data problems, you only want to deal with a few records.

• In this example we have selected record 3 since record ‘1” is the header, and we used record “2” during the recording.

• Click on the EXECUTE icon.

Page 65: Lsmw Basics Training Course

10. CONVERT DATA

• The system displays the report shown, with a count of the number of records converted.

• Click on the Green Arrow to return.

Page 66: Lsmw Basics Training Course

11. DISPLAY CONVERTED DATA

• Execute the Display Converted Data step in the process.

• The first time you execute this, leave the From Line and To Line blank since we have just converted only a couple of records to test our LSMW process.

• Click the Green Check.

Page 67: Lsmw Basics Training Course

11. DISPLAY CONVERTED DATA

• The system will display a listing of the converted records.

• Double-click on any one of them.

Page 68: Lsmw Basics Training Course

11. DISPLAY CONVERTED DATA

• At this point, you can now see exactly how SAP sees the data….field by field.

• Included now in the display are any fields you defined as “constants”.

• Click on the Green Arrow to return.

• NOTE: This step is also not necessary to repeat once you are confident in the alignment of data fields.

Page 69: Lsmw Basics Training Course

12. CREATE BATCH INPUT SESSION

• When the screen to the left appears, simply click on the EXECUTE icon. This will use the converted data from the work file to create a batch process to be fed to SAP.

Page 70: Lsmw Basics Training Course

12. CREATE BATCH INPUT SESSION

• A confirmation of the number of records loaded to the batch session will be displayed.

• Click on the Green Check.

Page 71: Lsmw Basics Training Course

13. RUN BATCH INPUT SESSION

• When the screen shown appears, highlight the session by clicking on the cell to the left of it.

• Click on the PROCESS icon.

Page 72: Lsmw Basics Training Course

13. RUN BATCH INPUT SESSION

• The system will present you with three options for executing your batch.

• The first time you execute a new recording, select either the PROCESS/FOREGROUND or the DISPLAY ERRORS ONLY option.

• By selecting the Foreground one, the system will take you through every field that is being updated, requiring you to click on a Green Check icon in sub-cells as it touches each field.

• If you choose the Display Errors Only option, the system will attempt to process all of the records you converted.

Page 73: Lsmw Basics Training Course

13. RUN BATCH INPUT SESSION

• If it successfully processes the converted records, you will see the screen to the left.

• Click on the Exit Batch Input icon and it will complete the process and take you back to the main menu in SAP.

• If the conversion fails, the system will stop on each of the fields in error and allow you to manually enter a correct value.

• If your process fails during your test, then it is most likely that you have either not aligned your input file layout with the input file or have not tied the input file fields with the SAP field names properly.

Page 74: Lsmw Basics Training Course

PROCESSING REMAINING RECORDS

• Now that we have tested our process and it works successfully, we are ready to process the rest of the records in our input file.

• Start with step 10, Convert Data, but this time specify a range of records to convert. Since in this case we have only 30 records in all to convert, we will specify a range of 4 through 30. (Remember, we have the header in 1, we used record 2 for the recording, and we used record 3 for our test).

• Click the Execute icon to convert the specified records.

• Bypass the “display of converted records” and proceed with creation of the batch input session.

• Execute the Run Batch Input Session.

Page 75: Lsmw Basics Training Course

PROCESSING REMAINING RECORDS

• This time, however, we want to let the batch run in the background, so we select the BACKGROUND radio button as shown previously, and EXECUTE.

• The system will display our session, but the status will indicate “background processing”.

• If the batch processes successfully, it will disappear from this screen.

• If it has any errors in it, the system will process all records it can and will provide an error log indicating the records with errors. You will need to determine the cause of the errors and deal with them.

Page 76: Lsmw Basics Training Course

PROCESSING REMAINING RECORDS

• To get to the log, select the session desired and click on the LOG icon on the batch sessions screen and you will be taken to this screen.

• Double click on the line item shown.

Page 77: Lsmw Basics Training Course

PROCESSING REMAINING RECORDS

• A listing similar to what is shown here will appear.

• It lists each record read in and indicates whether or not it was processed successfully.

• Sometimes it shows the key of the record being processed….other times not….based on the particular SAP transaction you are executing in your LSMW.

Page 78: Lsmw Basics Training Course

AT THIS POINT, YOU HAVE COMPLETED THE PROCESS OF:

1. SETTING UP A STRUCTURE

2. CREATING A RECORDING

3. TESTING YOUR LSMW

4. EXECUTING THE LSMW AGAINST MASS DATA

Page 79: Lsmw Basics Training Course

ADDITIONAL TECHNIQUES

• PROCESSING LARGE AMOUNTS OF DATA• When processing large volumes of data through LSMW, it is

recommended that you use the “loop” steps of:– 1. Convert data

– 2. Create batch processing session

– 3. Process batch processing session

….to convert “slices” of the data read in and feed that to SAP in sections. For example, if you had 30,000 records to process, cut the data up into 5,000 increments and feed each one of them into individual batch processing sessions. This is done by specifying the range of 2-5000, then 5001-10,000, then 10,001-15,000, etc. during each conversion step, and releasing each batch session, until you have processed all 30,000 records. You can then review each of the batches to see if you had any errors and deal with them.

Page 80: Lsmw Basics Training Course

ADDITIONAL TECHNIQUES

• “POSITIONING”• If, while doing the recording, you are reading certain structures such as

Project wbs structures or cost center hiearchies, you must deal with the fact that the record you seek can be down in the stack, you can bring it consistently to the top line of the screen so that you can then select it for processing, by using the path: >Select Object >Position, and then entering the key of the record you wish to have LSMW work with.

Page 81: Lsmw Basics Training Course

ADDITIONAL TECHNIQUES

• STOP SESSION• If you are in the process of testing your recording by feeding it a small

stack of records and it “locks up’ with an error, you can exit LSMW and let the session end by entering “/BEND” in the command line at the top of the SAP screen and hitting the Enter key.

Page 82: Lsmw Basics Training Course

ADDITIONAL TECHNIQUES

• BATCH SESSION DELETION• If any of your batch sessions have any errors in them, they will remain in

the system and must be deleted .

• Once you have dealt with the session and handled the errors in it, access the list of batch sessions via step 13, “Execute batch sessions”, and select that session. Then click on the “trash can” to delete the session and clean up your file of sessions. Otherwise, the list can grow and possibly cause space problems for you.