how-to-use-lsmw

46
7/23/2019 how-to-use-lsmw http://slidepdf.com/reader/full/how-to-use-lsmw 1/46 HOW TO USE LSMW By Allen Dawkins & Amit Bhandari

Upload: jaccabi

Post on 19-Feb-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 1/46

HOW TO USE LSMW

By Allen Dawkins & Amit Bhandari

Page 2: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 2/46

What is LSMW?LSMW is one of SAPs !est data "on#ersion and master data "reation tools$ %t is

a#aila!le for most '( master and transa"tional data$ LSMW "an !e )sed for most

"on#ersion and mi*ration tasks and "an !e a""om+lished with standard f)n"tionality$

With a little ABAP "odin*, yo) "an )se LSMW for more "om+le- data "on#ersiona"ti#ities$

The information !elow will walk yo) thro)*h the +ro"ess of "reatin* a sim+le

LSMW$ On"e yo)#e done this yo)ll !e a!le to see how )sef)l the tool "an !e and

how LSMW is the ri*ht "hoi"e for most "on#ersion and mi*ration.

Page 3: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 3/46

STEPS FOR CREATING AN LSMW.

/0 Lo* on to SAP10 Enter transa"tion "ode 2LSMW3

(0 %f yo) re"ei#e the followin* s"reen either "he"k the white !o- to no lon*er

dis+lay the messa*e then "li"k the *reen "he"k or 4)st "li"k the *reen

"he"k to "ontin)e$

 

Page 4: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 4/46

50 On"e the s"reen !elow a++ears, yo) are now ready to !e*in yo)r LSMW

s"ri+t "reation$

60 7reate the file !y in+)ttin* the Pro4e"t, S)!+ro4e"t, and O!4e"t$

80 %f yo) re"ei#e the s"reen !elow, "li"k the *reen "he"k and "ontin)e$

Page 5: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 5/46

90 %n+)t the 2Name3

:0 ;e-t "li"k

<0 The s"reen !elow now a++ears$

/=0 >ollow the men) +ath ?E-tras?User Men)

Page 6: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 6/46

//0 ;e-t yo) *et this s"reen$ This allows yo) to set )+ the LSMW$ Sin"e we

dont )se %DO7s yo) "an remo#e all the "he"ks at the !ottom of the s"reen$

Page 7: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 7/46

/10 @o)r s"reen will now a++ear as !elow$ 7li"k $

Page 8: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 8/46

/(0@o) will !e ret)rned to the main s"reen shown !elow$ 7li"k $

/50 ;ow yo) will !e*in the "reation of the LSMW$

STEP 1. – MAINTAIN OBJECT ATTRIBUTES

/60 ;e-t "li"k on then sele"t 2Bat"h %n+)t e"ordin*3$

Page 9: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 9/46

/80 ;e-t %n+)t the ;ame of the re"ordin*$ %n this "ase its KS1$ Then "li"k $

Page 10: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 10/46

/90 ;e-t "li"k 2"reate3

/:0 %n+)t re"ordin* fields as !elow then "li"k the 2*reen "he"k3$

/<0 %n+)t transa"tion "ode$

Page 11: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 11/46

1=0 ;e-t yo)re ready to !ein* "reation of the master data for yo)r LSMW$ %n o)r 

e-am+le )sin* S=/ yo) see the followin* s"reen$

 

1/0 %n+)t data as !elow, then "li"k 2Master Data3

Page 12: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 12/46

110 ;e-t fill in all information needed for yo)r s"ri+t$ %n this "ase for "ost "enter 

"reation$

 

Page 13: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 13/46

1(0 Sa#e the e"ordin* $ On the followin* s"reen yo) see the field names and

the defa)lt #al)es for the field names that were "reated from the re"ordin*$

150 ;e-t we need to remo#e the defa)lt #al)es$ The +)r+ose is to "reate

 +arameter im+ort names$ To do this yo) m)st do)!le"li"k into ea"h defa)lt

#al)e name$

Page 14: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 14/46

160 After do)!le "li"kin* into a 2field3 yo) will see a s"reen similar to the one

 !elow$

180 emo#e the defa)lt #al)e then in+)t the field name and the des"ri+tion of the

field name$ 7li"k

190 Then $

1:0 7li"k to ret)rn to initial s"reen$

Page 15: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 15/46

1<0 7li"k to ret)rn$ $ $ $ $ Then 2sa#e3$

Page 16: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 16/46

(=0 ;e-t to ret)rn to Main S"reen$

(/0 >rom this s"reen yo) will now mo#e on to Ste+ 1 of this +ro"ess$ 7li"k $

(10 Then "li"k 2"han*e3

((0 7li"k 2"reate3

Page 17: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 17/46

(50 @o) will re"ei#e the s"reen !elow$ %n+)t yo)r data then "li"k $

(60 On the s"reen "li"k sa!e$ 7li"k $

(80 @o) will ret)rn to the Main S"reen as !elow$ Please note yo)re now ready

for Ste+ ($ 7li"k Mai"tai" S#$%&e Fie'(s$

Page 18: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 18/46

PLEAE NOTE T)E FOLLWING*T# +%e+a%e ,#% Ste+ - #$ /i'' %e0$i%e the ,ie'( "ames. T# et these #$ m$st

,i%st # t# Ste+ 23 the" Ste+ 4 t# #5tai" the ,ie'( "ames3 #$ /i'' %et$%" t#

&#m+'ete ste+ -.

(90 7li"k ste+ 5, then 2e6e&$te3$

(:0 @o) will re"ei#e the s"reen !elow sin"e we ha#e not "om+leted ste+ ($ This

is a warnin*$ 7li"k $

Page 19: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 19/46

(<0 7li"k 27han*e3 and yo) will re"ei#e the warnin* a*ain$ 7li"k the *reen

"he"k and "ontin)e$

5=0 7li"k , then $

5/0 @o)re now on the initial s"reen$ A)tomati"ally ste+ 6 is sele"ted or yo) mayman)ally make the sele"tion$ 7li"k 2E6e&$te3$

Page 20: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 20/46

510 On the s"reen !elow all fields that yo) "reated will !e listed$ %n o)r e-am+le

we only sele"ted one field 7KOSTL8 as a +arameter in the first ste+ and allother fields were ke+t as defa)lts$

5(0 Make a list of all the fields or "o+y to an E-"el file$ @o) will )se later in thee-er"ise$ The format of yo)r E-"el file sho)ld a++ear as !elow$

The 7hara"ter and Len*th fields will !e o!tained from Te"hni"al hel+$ To do

thisC

Page 21: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 21/46

550 O+en a new SAP Session, enter transa"tion "ode S=/$ 7li"k in the 7ost

7enter field then "li"k 2>/ hel+3$ The s"reen !elow a++ears$ 7li"k on2Te"hni"al %nformation$

 

560 >rom the s"reen !elow do)!le"li"k on the ,ie'( "ame$

Page 22: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 22/46

580 Lo"ate ea"h of yo)r field names and *et the 2Data Ty+e3 and 2Len*th3$ %n

o)r e-am+le 2Data Ty+e 7har howe#er in LSMW sele"tion "o)ld !edifferent$ >or instan"e 7HA 273, et"$

590 %n+)t yo)r data to yo)r E-"el file as !elow$ Sa#e the file as a 2$t-t3 format$

This is always re)ired when im+ortin* data to LSMW$

5:0 After the e-"el sheet is "om+lete we "an now *o to the third ste+$ 7li"k ste+ (

then e-e")te$

Page 23: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 23/46

5<0 7li"k "han*e on the s"reen !elow

6=0 Sele"t 2So)r"e Str)"t)re3 "li"k for 2Ta!le Maintenan"e$6/0 @o) will see the s"reen !elow$ @o) will need to in+)t the 2field name3,

2ty+e3, 2len*th3$ The field la!el will defa)lt$ This information is taken fromthe E-"el Sheet that yo) "reated earlier$

610 Press Fenter? then , then twi"e$ @o) will re"ei#e the s"reen !elow, "li"k 

2yes3$

Page 24: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 24/46

6(0 We are now ready to !e*in ste+ 5$ 7li"k 2E-e")te3$

650 @o) will see the s"reen !elow$ 7li"k

Page 25: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 25/46

660 7li"k 2SAGE3, then et)rn$

680 @o) are defa)lted a)tomati"ally to Ste+ 6$ 7li"k 2E-e")te3$

Page 26: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 26/46

690 7li"k 27han*e3, then "li"k on"e on the Str)"t)re ;ame, then 7li"k

2E-tras3?A)to>ield Ma++in*?

6:0 @o) will see the s"reen !elow$ 7li"k 2;o 7onfirmation3, then 2ret)rn3$

Page 27: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 27/46

6<0 On the s"reen !elow, 7li"k FEnter?$

8=0 On the ne-t s"reen "li"k Fsa#e?, then Fret)rn?$

8/0 @o)re now ready for Ste+ 8$ 7li"k FE-e")te?

Page 28: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 28/46

810 The s"reen !elow a++ears$ %t offers se#eral o+tions of im+ortin* data$ %n o)r

e-am+le we want to im+ort data sa#ed on o)r P7$ Therefore we need to sele"t

the first o+tion 2Le*a"y Data On the P7 >rontend0 then "li"k 9&ha"e:

8(0 Do)!le "li"k on the first o+tion$

Page 29: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 29/46

850 On the s"reen !elow yo) will sele"t the file to im+ort from yo) Deskto+

Please remem!er the lo"ation of the file0$

 ;e-t +)t in the file name in the 2;ame3 field0  Sele"t 2Ta!)lator3$

  Under >ile Str)"t)re ens)re that !oth items are "he"ked$ 7li"k Fenter?$

Page 30: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 30/46

860 7li"k Fsa#e?, 7li"k Fret)rn?$

880 @o) are now ready for Ste+ 9$ 7li"k Fe-e")te?$

Page 31: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 31/46

890 On the s"reen !elow "li"k F"han*e?, Sele"t the s#$%&e st%$&t$%e, then

Fsa#e?, then Fret)rn?$

8:0 @o) "an now test to see if LSMW will read yo)r data on the 2te-t3 file$E6e&$te Ste+ :$

Page 32: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 32/46

8<0 >rom the s"reen !elow, "li"k 9e6e&$te:$ LSMW will read the data from yo)r

te-t file$

9=0 The s"reen !elow shows that we ha#e #"e %e&#%( !ein* read from o)r 2$t-t3

file$ 7li"k Fret)rn? twi"e to ret)rn to the Main S"reen$

Page 33: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 33/46

9/0 @o) are now ready to e6e&$te Ste+ <$ This ste+ dis+lays the data$

910 @o) will see the s"reen !elow$ 7li"k 9e"te%: 

7P'ease N#te* I, #$ /ish t# ;$st $se +a%ti&$'a% 'i"es i" #$% LSMW &a" $se

the <F%#m Li"e= a"( <T# Li"e= t# te'' LSMW /hi&h 'i"es ,%#m #$% ,i'e that

#$ /ish t# +%#&ess. LSMW /i'' #"' se'e&t th#se 'i"es.8

Page 34: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 34/46

9(0 The s"reen !elow shows that we will load one "ost "enter$ %n this e-am+le the

"ost "enter is <>CLLSMW1=$ The +)r+ose here is to #erify that all the datathat yo) wish to load is !ein* "a+t)red$ 7li"k Fret)rn?$

950 ;e-t yo)re ready to "on#ert the data$ That is the data is !ein* "on#erted

from yo)r $t-t file to the LSMW lan*)a*e$ E6e&$te Ste+ /=$

Page 35: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 35/46

960 >rom the s"reen !elow$ 7li"k 9e6e&$te:$ ;OTE TO >%LE EIPLA%; THE

 ;UMBE O> E7ODS 7O;GETED$

980 The s"reen !elow shows that in o)r e-am+le one re"ord is !ein* "on#erted$

7li"k 9%et$%": twi"e to ret)rn to the main s"reen$

Page 36: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 36/46

990 ;ow yo)re ready to dis+lay the data that yo) ha#e "on#erted$ 7li"k

9e6e&$te:$

9:0 The s"reen !elow a++ears$ 7li"k 9e"te%:$

Page 37: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 37/46

9<0 @o) will now see the data "on#erted$ %n this e-am+le "ost "enter

2D7LLSMW=/3 is !ein* dis+layed$ 7li"k 9%et$%": to the main s"reen$

:=0 ;e-t yo) want to 27reate Bat"h %n+)t Session3$ E-e")te Ste+ /1$

Page 38: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 38/46

:/0 The s"reen !elow a++ears$ 7li"k Fe-e")te?$ This will "reate an SAP BD7

session SM(60$

:10 The messa*e !elow a++ears that yo) ha#e "reated a Bat"h %n+)t session$

7li"k Fenter?$

Page 39: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 39/46

:(0 @o) are now ready to +ro"ess the BD7 session$ @o) do this !y e6e&$ti" ste+

/( 2)n Bat"h %n+)t Session3$

:50 @o) are a)tomati"ally taken to transa"tion SM(6$ @o) now need to +ro"ess

the BD7 session !y "li"kin* on FPro"ess?$

Page 40: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 40/46

:60 Sele"t the session, 7li"k Pro"ess, and a dialo* !o- a++ears$ @o) need to

"hoose yo)r +referred +ro"essin* mode$ %n o)r e-am+le were "hoosin* to +ro"ess the session in 2Ba"k*ro)nd3$ 7li"k 9P%#&ess:$

:80 @o) will see the messa*e !elow$

Page 41: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 41/46

EPORT@IMPORT LSMW TO

OT)ER CLIENTS

Page 42: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 42/46

The LSMW "an !e e-+orted and im+orted to other SAP 7lients for

e-e")tion$ ;o trans+orts are ne"essary as in the "ase of 7ATT'e7ATT$

>ollow the instr)"tion on the followin* +a*es to do this$

Page 43: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 43/46

/0 Jo to transa"tion LSMW10 7hoose the Pro4e"t yo) wish to E-+ort$

(0 7li"k ?E-tras?E-+ort Pro4e"t

50 When the s"reen !elow a++ears, "li"k  

60 >rom the ne-t s"reen &'i& :E6+#%t R$'es:E6+#%t

Page 44: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 44/46

80 Sele"t a lo"ation on yo)r lo"al dri#e to store the file and sa#e it there$

90 @o) will re"ei#e a s"reen similar to !elow$

:0 7li"k $

Page 45: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 45/46

%MPOT%;J LSMW

<0 To %m+ort LSMW lo* on to the "lient in whi"h yo) wish to im+ort to$

/=0 Jo to Transa"tion "ode LSMW$

//0 C'i& :E6t%as:Im+#%t P%#;e&ts

/10 7hoose the file from the lo"ation yo) e-+orted it to$

Page 46: how-to-use-lsmw

7/23/2019 how-to-use-lsmw

http://slidepdf.com/reader/full/how-to-use-lsmw 46/46

/(0 @o) will re"ei#e the s"reen !elow$ 7li"k the *reen "he"k and "ontin)e$

/50 >rom the followin* s"reen C'i& :E(it:Im+#%t

/60 @o) will see the s"reen !elow$ 7li"k the *reen "he"k$

/80 @o) are now ready to e-e")te the LSMW in the "lient$