Professional Documents
Culture Documents
LSMW is the SAP provided plug-in, in which users can upload mass data. If the requirement does not suit
the standard available programs in SAP LSMW, users can create their own recordings for the
transactions through LSMW recording.
TCODE: LSMW
Main Screen:
Execute Maintain Object Attributes step and create the recording. In this example, let us create Pricing
conditions for the condition type, which has 2 access
sequences.
Select Batch Input Recording radio button and click on the Overview button as shown in the below
screenshot.
From the appearing screen, click on the Create button to start with your recording.
Provide values and click on save in VK11 transaction for 1st access sequence.
Click on Default ALL button, you will get the corresponding FIELD name and description for the recorded
parameters. Save it.
Recording for the first Key combination (Radio Button) has been completed
2. Create recording for the 2nd access sequence as follows.
The difference between 1st and 2nd access sequence is the number of fields. In the 2 nd access sequence,
Sales Document Type is the difference.
Save it. Now recording is done for the second Key Combination(Radio Button)
Go back to the Object Attributes screen and enter the recording names in Recording field as show in the
below screenshot.
Click on the Table Maintenance button and add fields to the source structure.
Add fields as shown in the below screenshot.
Place the cursor on each source structure and click the Create Relationship button. Mapping will be done
as show in the below screenshot.
Save and Go Back to the main screen.
Click on Extras Auto-Field Mapping to map the source and target structure fields. (This works when
both source and target structure fields are in the same name).
Double Click on AUART field, in the appearing field editor, write the below code.
SKIP_RECORD transfers the control to next recording.
Place the cursor on source file and click on the Create Assignment button.
Execute it.
To ensure that all the data have been read properly, execute this step.
Step 11 : Convert Data
This step will actually executes the conversion program, which was done in field mapping step.
Step 12 : Display Converted Data
The second record in the attached text file, is for the 2 nd access sequence. According to the data, second
access sequence is selected.
Sample Data:
Summary:
Switch to the appropriate recording according the data from the flat file.