-
5/20/2018 Using Routines and Exception Handling in LSMW
1/
Using Routines and exception handling in LSMW
Step1: Use the transaction code LSMWto upload the data using Legacy System Migration WorkBench. Here in this scenario describes routines and exceptionhandling.
Click execute button.
Step2: The ollo!ing screen
appears.
Sa"e and click B#C$ button.
Step3: Select step% &Maintain 'b(ect #ttributes) and *xecute.
+ro"ide the 'b(ect and Method details as sho!n belo!.
Sa"e and click B#C$ button.
-
5/20/2018 Using Routines and Exception Handling in LSMW
2/
Step4: ,o! select step- &Maintain Source Structure) and click execute button.
Step5: +lace the cursor on Source structure and click create. +ro"ide name and description
Sa"e and click B#C$ button.
Step6: : Select step &Maintain Source /ields) and click execute button.
-
5/20/2018 Using Routines and Exception Handling in LSMW
3/
+ress create button and pro"ide details or /ield ,ame0 /ield 1escription and /ieldLength.
Step7:*nter all re2uired ields as sho!n
belo!.
Sa"e and click B#C$ button.
Step8: : Select step3 &)Maintain Source 4elations).
-
5/20/2018 Using Routines and Exception Handling in LSMW
4/
Sa"e and click B#C$ button.
Step9:Select step5 &Maintain /ield Mapping and Con"ersion 4ules).
-
5/20/2018 Using Routines and Exception Handling in LSMW
5/
Step10: +lace the cursor on the desired ield and click ixed "alue button on application tool bar.Choose the "alid "alue in the VALUEield. #nd click *,T*4 button.
,o! the screen appears like this.
Step11: +lace the cursor on the ield or !hich !e !ant to translate and click theRULE on the#pplication tool bar. Select Translate radio button.
-
5/20/2018 Using Routines and Exception Handling in LSMW
6/
Step12: +ro"ide name and press enter.
Step13:,o! perorm statement appears in the ield as sho!n.
-
5/20/2018 Using Routines and Exception Handling in LSMW
7/
Here0SKIP_TRANSACTIN unction is used to control not to createERRRNESS !e"#!$%
Step14: Select step6 &Maintain /ixed 7alues0 Translations0 User81eined 4outines) and execute.
1ouble click on 9:M*;,S. Then the ollo!ing screen appears. Made the changes in length asper our re2uirement.
Step15:,o!0 go to TRANSLATIN VALUEtab strip.
-
5/20/2018 Using Routines and Exception Handling in LSMW
8/1
Step16:Select step< &Speciy /iles). Create a test ile !ith the same structure as deined earlier.
Step17: Select step= ssign /iles) and click execute.
#ssign /ile Structure to Source Structure.
Step18: Select step> &4ead 1ata) and click execute.
-
5/20/2018 Using Routines and Exception Handling in LSMW
9/
Click *xecute button again.
Click B#C$ button and return to main screen.
Step19: Select step%? &1isplay 4ead 1ata) and execute.
Select .
Step20: Select step%% &Con"ert 1ata) and execute.
#nd click the execute button again.
-
5/20/2018 Using Routines and Exception Handling in LSMW
10
Click B#C$ button and return to main screen.
Step21:Select step%- &1isplay Con"erted 1ata) and execute.
#nd press ENTER.
Click B#C$ button and return to main screen.
Step22:Select step% &Start 1irect ;nput +rogram) and execute.
Click ENTER.
-
5/20/2018 Using Routines and Exception Handling in LSMW
11