‎2007 Jun 27 8:07 AM
Hi,
please answer my question. <b>how to handle errors in LSMW</b> n rectify them.
‎2007 Jun 27 12:39 PM
hi shaik,
u didnt specify that which method ur using.
if u r using direct input/ recording method u can code in MAPPING STEP
in that u can write for individual field r u can write for all .
for this in the MAPPING STEP (5 th step) top there is a variant icon if u click that u have to check buttom three boxes and enter then u can find functionality in the MAPPING screen in that u can write the logic where u can handle the errors/ not only that whatever the logic u want
‎2007 Jun 27 10:35 AM
hi,
the errors in lsme can be handled by reprocessing the idoc if the idoc status are 65 or use BD87 to reprocess for custoemr master.Also it is important you try to use the sap standard programs as loading programs as they themselves have error handling section. if in case you have to use custom program for loading data in lsmw then as a first step you need to creat an entry in sxda table and then consequently handle errors in your custom loading program.
this is on a very high level . if you need further clarifications do drop me mail on pragya.gujrati@wipro.com
pls reward points if you find this usefull.
regards
Pragya
‎2007 Jun 27 12:39 PM
hi shaik,
u didnt specify that which method ur using.
if u r using direct input/ recording method u can code in MAPPING STEP
in that u can write for individual field r u can write for all .
for this in the MAPPING STEP (5 th step) top there is a variant icon if u click that u have to check buttom three boxes and enter then u can find functionality in the MAPPING screen in that u can write the logic where u can handle the errors/ not only that whatever the logic u want
‎2007 Jun 28 8:22 AM
hi
u have'nt specify the method u r using in LSMW
With IDOC:
1) if 51 error occured then u should check your mapping and test file
2) if 64 error occured then u have to reprocess the idoc with the help of "BD87" transaction
These are the 2 most commonly error occured in IDOC method
Reward points if helpful