2007 Apr 17 1:27 PM
Hi,
I am using LSMW to upload listing condition record. I am using Batch Input Recording for 'VB01' and the records will be updated through processing of Batch Input Session. In the file the are fields like customer, material, material group4 etc. These fields may be empty or may have invalid values.How to handle these errors and populate a error file?
Please provide me the steps and actions to do in details.
regards,
Tanmay
2007 Apr 17 1:41 PM
Hi Tanmay,
During the Mapping and Convertion step where you have assigned your input file fields to the recording fields, you can add some ABAP code to validate the field contents and write out an error message or output to an error file, with field contents if required.
If you are familiar with ABAP this should be no problem for you.
Regards
Kevan
2007 Apr 17 1:43 PM
Hi ...
Since it is creating Session , once u execeute the LSMW object,
so a LOG will be created for the session.there only u can analyse.
as per my knowledge . u cant collect the error records to a table or a file.
Reward Points if it is useful"
Thanks,
Manjunath MS
2007 Apr 17 3:50 PM
If the Fields Mapping and Conversion rules, you can edit and write validation logic.
You can also skip a record using the skip_record statement.