SAP LSMW-Transaction Data Upload
SAP LSMW-Transaction Data Upload
By means of standard transfer programs: a wide range of master data (e.g. G/L accounts,
customer master, vendor master, material master, bills of material) and transaction data (e.g.
financial documents, sales orders)
By means of recording of transactions: further data objects (if the transaction can be run in batch
input mode)
After update the below fields, click “Enter” than click “Create (Shift+F1)”.
Update the description for Project, Sub Project and Object and click on “Continue”.
Step 1 : Now Select 1st step “Maintain Object Attributes” and “Execute” or press CTRL+F8.
Click on “Display<->Change” tab as shown below.
Click on “Batch Input Recording” radio button tab as shown below.
Click on recording “Overview” as shown below.
Recording Overview.
Update Recording and Description fields and click on “Continue” or Enter.
Note: In “Recording” field NO space and Special character allowed (alphanumeric allowed).
Screen 1/2
Screen 2:
Update “Posting Key” and “Account”. Than press “Enter”.
Note: Page 1
Note: Page 2
(Last two row are included in page 3 and same can be ignored at the time of prepared excel file of
transaction data for uploading purpose).
Before going to next process please read and understand the below info.
Important Info:
If you compare Page 1 (Debit line) and Page 2 (Credit line) there are 4 Field names are same that are:
We need to change the Page 2 (Credit line) Field name with like “NEWBS_2” for all 4 Field names.
(If we not change the second same field name, will get error at the time of file upload).
Double click on page 2 (Credit) “NEWBS” field name and change to “NEWBS_2” and click
“Continue” or enter.
Same as above process do it for remaining 3 fields that are “NEWKO”, “WRBTR” and “SGTXT”
like
“NEWKO_2”, WRBTR_2” and “SGTXT_2”.
Note: Exporting the Filed name and Description in excel file for preparing the transaction data.
Select “Spreadsheet” radio button and click on “Continue” or enter.
Update “File Name.XLS” with simple name & excel format (in this case File name is
“LSMWTrans.xls) and click on “Generate” button for save the file as shown below (Save on
desktop).
Once again click on “Save” and click on “Back” button or press F3.
Before going Step 2, we will prepare excel & Text file for uploading file with transaction data which
is we save on desktop as following process.
(Once we complete excel and text file format, will come back to the same LSMW screen for step 2).
Process:
Go to desktop and open the saved exported excel file and select “J” & “K” column that is Field
name and description.
Past it in second sheet in same file as shown below.
Delete the extra rows between line item data as following process.
Delete the extra row between the line item data:
Press “F5”, select “Special” button in popup box.
Screen 1/2
Screen 2
Cut the column “B” that is description column and past to the column “D” as shown below.
Update column “B” and “C” as shown below and delete last 2 rows (XBLNR & BKTXT) not
required as I mentioned before (step before Credit line item change field names).
Copy column “A” and open new sheet2 in same file and past special with transpose in new sheet2
as shown below.
Screen 1/5
Screen 2 (Open new sheet and put cursor row no 1 & column A).
Screen 3 (Right click and click “Paste Special”).
Screen 5
Same Copy column “D” from Sheet 1 and paste special with transpose in sheet 2 as shown below.
Screen 1/2
Screen 2 (put cursor row no 2 & column A, next right click than click “Past special” , select
“Transpose” radio button and click “OK”) as shown below.
Update Transaction data in row no 3 in sheet2 as per header details.
Note: update data as per SAP configured data like Company code, Account no, Cost center and
profit center etc…. and please ensure amount in digits only like 4466 (Not 4,466.00).
Select full sheet2 and go to menu bar and click “Home” and click on “Align Text Left” (ensure all
text should be left side to the field).
(Sheet2 full selection mode) Right click and select “format cells”.
Select “General” option and click “OK” button (ensure all texts in General mode only).
Copy sheet2 and paste in new sheet or copy with duplicate of sheet2 as shown below.
Screen 1/2
Screen 2 (after deleting the header data row no 1&2).
Press & hold CTRL button and press “Home” button and next “End” button on keyboard one by
one, it should auto select last row and last column (in this case row no 1 and column “U”
:ACCTS-P). if auto selected other row please delete the extra row and again do the same press &
hold CTRL and press home & end one by one till auto selected by last row and last column.
Than Save the file on desktop once again with simple name (in this case File name
“LSMWTrans5.xls).
Important:
In duplicate of Sheet2 (excluding header data) : Go to menu bar click “File”, select “Save as”
option and update File Name with simple name and Save as type “Text (Tab delimited) format and
click on “Save” as shown below.
Screen 1/3
Screen 2 (Press “OK”).
Screen 3 (Press “Yes”).
After save in text format on desktop, than close the excel file and press “don’t save” as shown
below.
Auto selected Stet 2 (Maintain Source Structures) and click on “Execute” button on application
toolbar or press CTRL+F8 or double click on step 2.
Step 5: Auto selected step 5 (Maintain Field Mapping and Conversion Rules) and click on
“Execute” button.
Select “GLENTRY” element and click on “Display<->Change” button as shown below.
Select “DDMMYYYY” radio button and click on “Continue” till auto selected for all fields same
process.
Keep on click on “Accept Proposal” in each screen till end
In the End popup box for information as shown below and click on “Continue”.
Click on “Save” and click on “Back” button as shown below.
Step 6: skip the step 6
Step 7: Auto selected step 7 (Specify Files) and click on “Execute” button.
Step 9: Auto selected step 9 (Read Data) and click on “Execute” button.
Click on “Execute” button.
Check the the “Fld Value” with “Fld Name” and click on “Back” button 2 times.
Step 11: Auto selected step 11 (Convert Data) and click on “Execute” button.
Check the the “Fld Value” with “Fld Name” and click on “Back” button 2 times.
Step 13: Auto selected step 13 (Create Batch Input Session) and click on “Execute” button.
Select “Keep batch input folders” check box and click on “Execute” button as shown below.
Select Session name/ line item and click on “Process” button on application toolbar as shown
below.
Select “Display errors only” radio button and click on “Process” button.
Click on “Exit batch input” button (it means document uploaded successfully).
(Successfully uploaded document thru LSMW , verified GL accounts ,amount value and reference).