Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

errors in LSMW

Former Member
0 Likes
614

Hi,

please answer my question. <b>how to handle errors in LSMW</b> n rectify them.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
461

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

3 REPLIES 3
Read only

Former Member
0 Likes
461

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

Read only

Former Member
0 Likes
462

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

Read only

0 Likes
461

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