You are on page 1of 6

LSMW : Frequently asked Questions

Page 1 of 6
Version: 1.0
1. LSMW FAQ (FREQUENTLY ASKED QUESTIONS)....................................................3
2. LSMW FCM (FREQUENTLY COMMITTED MISTAKES)........................................6
Prepared y: !opal !opalakris"na.s#in.os$".$o% &reated 'n : ().11.(001
LSMW : Frequently asked Questions
Page ( of 6
Version: 1.0
Prepared y: !opal !opalakris"na.s#in.os$".$o% &reated 'n : ().11.(001
LSMW : Frequently asked Questions
Page * of 6
Version: 1.0
1. LSMW FAQ (Frequently asked Questions)
1. Is LSMW client dependent?
LSMW pro+e$t is $lient independent. So, for e-a%ple, $on.erted data /ill e a$$essile fro%
any $lient. 0ut, data updated /ill e ased on /"et"er t"e transa$tion used is $lient
dependent or not
2. Can I create LSMW directly in production even when the client is locked for modification?
1es2 3nternally LSMW stores t"e entire pro+e$t as tale $ontents 45ale na%es egin /it"
6S7P8M&69. So, a pro+e$t $an e dire$tly $reated in any o-.
. !ow to transport LSMW pro"ects?
:sing &"ange ;equest:
&"ose <-tras => &reate $"ange request fro% t"e first %enu of t"e LSMW /"en t"e desired
o+e$t is entered.
:sing <-port63%port:
&"ose <-tras => <-port pro+e$t. 3n t"e target %a$"ine use <-tras => 3%port pro+e$t.
?ote: :sing t"is %et"od, o+e$ts in.ol.ing re$ording $annot e transported.
?ote: :sing any of t"e ao.e %et"ods, only t"e <?53;< pro+e$t $an e transported 47ll su
pro+e$ts 6 '+e$ts in t"e pro+e$t /ill get transported9
#. !ow to copy$%elete LSMW o&"ects?
&"ose !oto => 7d%inistration fro% t"e first %enu of t"e LSMW.
'. In (ead data) *o of records read and written doesn+t match. ,here is a funny -ne.ative/
fi.ure in *ot written.
&"e$k t"e key field $o%ination in your "eader6line ite% data files
&"e$k t"e lengt" of S51P< in Maintain Sour$e Fields. 3t %ay e & 001. 3f t"at is t"e
$ase, %apping /ill go /rong /"en you "a.e %ore t"an @ in S51P<. 3n$rease t"e
lengt" of S51P< 4say, to e in safer side, & 0109
0. In Convert data) *o of records read and written doesn+t match.

5"ey donAt need to %at$"BB 40ut $"e$k t"at t"e nu%er of transa$tions read and /ritten
%at$"esC9
Prepared y: !opal !opalakris"na.s#in.os$".$o% &reated 'n : ().11.(001
LSMW : Frequently asked Questions
Page D of 6
Version: 1.0
?o of re$ords /ritten /ill nor%ally e less sin$e t"e syste% $reates only one re$ord for
session infor%ation stru$ture 4usually 0!;009 and only one key field stru$ture re$ord for a
set of line ite% data.
1. 2n error occurs tellin. 3*ot all the field names of file 4.are not defined as source fields/
LSMW o+e$t /ould "a.e t"e ti$k for EField na%es at t"e eginning of t"e fileF in Spe$ify
files, ut eit"er field na%es are not spe$ified in t"e data files or /rongly spe$ified.
3f t"e field na%e is /rong, pro$eed as follo/s to find it:
<-e$ute ;ead data and get t"e pro%pt
Press 6" in t"e $o%%and o- and enter de ugging
<-e$ute ;ead data
1ou /ill enter t"e de ugging s$reen. &"ose 0reakpoint => 0reak point at =>
State%ent and enter E%essageF
Press FG. Progra% /ill stop at a %essage state%ent. Press F). Field %issing
%essage /ill e displayed. 'n pressing <?5<;, you /ill go a$k to 8e ugging
&"ose t"e ta 5ale. <nter t"e 3nternal tale na%e as L5H5'P. Press <nter. &"e$k
t"e fields a.ailale. ;epeat it for L5H5'PHSPL. Find t"e %is%at$" et/een t"e t/o.
4:sually un%at$"ed field /ill e in L5H5'PHSPL ut /ill e %issing in L5H5'P9
?otes:
<-a$t deugging lines ao.e %ay $"ange ased on your LSMW .ersion. Pla$e t"e
reakpoints ased on t"e ao.e te$"nique and find out t"e %issing fields
<.en /"en a field is not found, data /ill e read and /ritten. 0ut t"ere /ill e not
.alue for t"e %issing fields
5. %urin. e6ecution) pro.ram is stoppin. showin. that an entry is wron.
1ou $an $orre$t t"e entry and pro$eed.
3f t"is is not possile, enter 6n in t"e $o%%and field. 1ou %ay "a.e to enter it (=* ti%es,
ased on t"e transa$tion used for update. 3f you are using 0at$" 3nput, syste% /ill ask
/"et"er you /ant to $ontinue /it" t"e rest of t"e data. &"ose 1es.
3f you /ant to end t"e update of entire data, enter 60<?8 in t"e $o%%and field
7. !ow will I know whether a data update can &e done &y LSMW recordin. or it re8uires an
292: pro.ram?
5"ere is no fi-ed pro$edure to de$ide t"is, ut follo/ing "ints %ay "elp:
3f you are updating fields purely ased on t"e Iey fields, you $an use LSMW
Prepared y: !opal !opalakris"na.s#in.os$".$o% &reated 'n : ().11.(001
LSMW : Frequently asked Questions
Page J of 6
Version: 1.0
For e-a%ple, if you are $"anging so%e %aterial data t"roug" MM0(, you /ill
e entering t"e key field 4%aterial9 and t"en $"ange t"e fields. 3n su$" $ases you $an
use LSMW
3f you are using Keader 3te% stru$ture, you $annot use LSMW unless t"ere is a
standard progra% a.ailale for update.
For e-a%ple, if /ant to $"ange a fe/ line ite%s of P'4M<((6M<((?9 , you
$annot use LSMW re$ording. Kere you /ill e entering P' ?o, ut t"e line you
$"ose %ay depend on in /"i$" line t"e parti$ular %aterial is. LSMW re$ording
$annot "andle t"is.
?ote: <.en in t"e $ases like t"e one ao.e, if you $an sele$t t"e %aterial line
y entering %aterial 4say t"ere is an option to find and sele$t t"e %aterial9, you $an
still use LSMW re$ording. 0ut lot of $are s"ould e taken as t"e results $ould e
unpredi$tale if, let us say t"e %aterial doesnAt e-ists, e-ists %ore t"an on$e et$9
!enerally, during your re$ording, if you are using so%e Ee-ternal intelligen$eF for
sele$ting6updating a field, LSMW re$ording doesnAt /ork. For e-a%ple, Vie/
sele$tion in MM0(. 1ou %ay /ant to update a field in 7$$ounting 1 Vie/. W"ile
sele$ting t"e .ie/, you are sele$ting t"e rig"t .ie/ ased on you +udg%ent. So, if you
re$ord, it %ay re$ord it as, say, )
t"
Vie/. 0ut for all %aterials t"is %ay not e t"e )
t"

Vie/. 0ut, you /ill still e ale to use LSMW re$ording if you $an enter t"e Vie/
4na%e6$ode9 and t"en get into it dire$tly. &usto% transa$tion LMM0(!? allo/s you
to enter Material6Plant6Vie/ and takes t"ere dire$tly. :sing t"is LSMW $an e
de.eloped.
1;. Can more than one user use an LSMW pro"ect concurrently? If not) how will I know whether
some&ody is already usin. the o&"ect?
More t"an one user $annot use an LSMW o+e$t $on$urrently. 7lso, you $annot e.en use an
o+e$t for /"i$" t"ere is a a$kground +o s$"eduled.
3t is e$ause, $on.erted data is stored in a file in appli$ation ser.er. <.ery ti%e it /ill e
o.er/ritten. So, if a user "as s$"eduled6yet to e-e$ute an LSMW and if t"e ot"er user does
a read data, data of t"e first user /ill e lost.
:nfortunately, t"ere is no /ay to kno/ /"et"er an LSMW o+e$t is $urrently eing used. 1ou
s"ould get in tou$" /it" t"e people /"o %ay use t"e pro+e$t and de$ide. 'r, alternati.ely,
you s"ould set up a pro$edure say, for e-a%ple, /"en a user /ants so%eody else not to
use t"e pro+e$t, t"ey s"ould enter it in t"e Pro+e$t do$u%entation 4first s$reen9. 7ll users first
s"ould $"e$k /"et"er t"ere is any do$u%entation for not using and t"en pro$eed.
11. I .et an error as <ile doesn+t e6ist in the server when I try to e6ecute a LSMW o&"ect $ I
schedule it in &ack.round.
&on.erted data is stored in t"e appli$ation ser.er. 5ry to read and $on.ert t"e data again
and e-e$ute in t"e sa%e session6ter%inal.
Prepared y: !opal !opalakris"na.s#in.os$".$o% &reated 'n : ().11.(001
LSMW : Frequently asked Questions
Page 6 of 6
Version: 1.0
3f you are s$"eduling in a$kground, %ake sure t"at t"e progra% runs in t"e sa%e
appli$ation ser.er /"ere you did t"e read and $on.ert data.
2. LSMW FCM (Frequently committed Mistakes)
1. Wron. field names
Field na%es /ould not "a.e een entered $orre$tly. 'r so%eti%es, field na%es fro% ot"er
stru$tures /ould "a.e een gi.en. 4Say, field fro% Keader in 3te%As stru$ture9
2. =6tra rows$columns
<M&<L s"eet %ay $ontain e-tra ro/s6$olu%ns. 3f t"ere are e-tra ro/s ?u%oer of re$rods
read /ill e %ore t"an a$tual nu%er of re$ords. 3f t"ere are e-tra $olu%ns, an error stating
E?ot all t"e field na%es of file C.are not defined as sour$e fieldsF /ill e displayed.
. Invalid data
7 field %ay $ontain in.alid data.
Prepared y: !opal !opalakris"na.s#in.os$".$o% &reated 'n : ().11.(001

You might also like