Posted by: DOCSERVE | November 1, 2011

Exception handling in LSMW

Error handling in LSMW object we can write validation logic in step “5 Maintain Field Mapping and Conversion Rule”. All custom codes written in this section will be part of the conversion program once we generate it.

Following steps are required for error handling:

  1. Define an internal table to store all error messages
  2. Write logic to validate the data and populate the error table when validation fails
  3. Display error messages as part of conversion program output

All these steps should be performed under step “5 Maintain Field Mapping and Conversion Rule” from transaction LSMW.

Using Routines and exception handling in LSMW(doc)


Categories