‎2006 Nov 13 1:24 PM
Hi friends,
I am doing MM01 upload using direct input program with LSMW.
I want to know, how to handle the errors? i mean when i am running the LSMW, if some error occurs after say 100 records, how to handle it.
after correcting the error do i need to delete the 100 records from flat file??
i am just using direct input program from LSMW. when i execute it shows a selection screen for input file, this i am manullay executing in background without creating the job from SM36. is this the way or is there any other way to run the batch job?
thanks a lot.
‎2006 Nov 13 1:31 PM
if u get error, u need to correct the input file & also delete records already posted...Instead create a session for all the records..then execute it and if u get errors u can correct them and automatically goes to next record data.
‎2006 Nov 13 1:43 PM
Thanks for the reply,
Ramesh let me know how can i create the session, when i am using the direct input program in LSMW.
Thanks a lot.
‎2006 Nov 13 1:48 PM
Hi
Ramesh, he chose a direct input as method to load the data, so any session will be created.
You can't do it, if you use a direct input u should elaborate all records or nothing, because if some error occurs while direct input's working after I could be hard to understand which records of the file have been loaded.
So try to check the records before running the step for direct input.
Max
‎2006 Nov 13 4:06 PM
But how would i know after which record i have got the error?? is there any log file stored somewhere?? i can see only the transaction number on the output application log.
thanks a lot
‎2006 Nov 13 1:32 PM
Hi
U should do all validations in Mapping Step, in this way you can check the errors before running the method to load the data.
Your way is right because you make sure to run all steps of LSMW project.
Anyway every step is a program and you can run it just as a normal abap program.
Max
‎2006 Nov 13 1:45 PM
exactly i dont remember...but u need to check a box which will create the session