Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Home If your browser does not support the SDS Knowledge Base menu, click here for an alternative.
Knowledgebase
About SDS
Links
Sitemap
Knowledgebase
LSMW - How To
Search Q
LSMW is a really us eful tool available in SAP. If you havent used it before then it may appear a bit daunting, but in fact apart from the large number of s teps which need to be followed, it is really quite simple and rather versatile.
Your Input
Project Details
Before you enter the actual details for the transfer, you need to choose a project, sub-project and object. Choos e existing ones or create new ones as appropriate. This is effectively your filing sys tem for LSMW. If you are an organised person these options will be important to you. If not, then jus t us e any names in the fields.
We are always up our articles and a new ones to the li Please let us kno is a particular arti would like to see.
Another thing that you will note is that when you enter a detail s creen, you will by default be in display mode. Click on the change/display button to toggle to change mode. You can change this. See the tips and tricks at the end of the document, or the s eparate Batch Recording document, to see how this can be done. You now need to create a recording which will be us ed as a bas is for the transfer. The process is ve ry similar to creating CATT procedures or BDC sessions in SAP or recording macros in MS Excel or Word. Choose the menu path: Goto > Recordings Overview Click on the create button. Enter the recording and the description. Enter the transaction code and go through the proces s of entering your data. Enter all of the data that you require, even though there may be default entries in SAP. Once you have finished your recording you will be presented with the following screen:
What you need to do now is let SAP know which fields you wish to load data into. Click in the relevant field and click on the button default. Once you have chosen all the relevant fields, save your entries. Us e the green back arrow to go back to the screen titled LSMW Workbench: Change Object Attributes. C hoose your recording from the drop down values in the available recordings .
recording from the drop down values in the available recordings . Save and then green arrow back to the main LSMW screen with the radio button set on the next step in the process. LSMW generally defaults the radio button to the next action in the LSMW process.
Specify File s
Here you s pecify the file for your source data. Choose the option for Legacy data On the PC (frontend) and click on the create option as can be seen in the screen shot below.
At this point you should have s aved your s ource data. The eas iest way is to save it in Excel as a text file (tab delimited). If you have field names in row 1 then you need to ens ure that the checkbox for the label Field names at the beginning of the file is ticked. Make s ure that your separator is set to tabulator if you have saved your s ource file as a text file. All the other settings do not need to be changed and can be s een in the screen shot below.
Query Tools Data Tools Human Resources FI/CO Cross System Miscellaneous BW
Click on the green tick and then save and exit the screen.
Assign Files
You dont need to do this s tep as you have already done it in the previous step.
Read Data
This just does exactly what the title says. It reads the data from your input file. Check the number of records to see that the number read is approximately what you are expecting to load.
Conve rt Data
You need to run this step as the program needs to convert the data into a format which it can use to run the batch input ses sions.