2011 Nov 10 12:22 PM
hello everybody
I have created an internal error to cross check the entries in LSMW for the necessary fields
I would like to display the error messages if there are any before executing the batch input.
does anybody know how to do this?
thanks for your help
2011 Nov 10 12:36 PM
You can put any ABAP code you like into the mapping and conversion rules, so also WRITE statements or ALV list output. I used to collect errors in an internal table and output the result as ALV list in section "END_OF_PROCESSING", this allows catching and correcting errors before loading the data into the system.
The list is being displayed after "convert data" has been executed, before the standard output of this step.
Thomas
2011 Nov 10 12:30 PM
Hi
You can do this in LSMW step 'Maintain Fixed Values, Translations, User-Defined Routines' by deining your roitines. Create any dummy routin here & try to put break point to understand in detail how this routine called during record processing.
Hope it will solve your purpose.
Thanks.
Nimesh S. Patel
2011 Nov 10 12:36 PM
You can put any ABAP code you like into the mapping and conversion rules, so also WRITE statements or ALV list output. I used to collect errors in an internal table and output the result as ALV list in section "END_OF_PROCESSING", this allows catching and correcting errors before loading the data into the system.
The list is being displayed after "convert data" has been executed, before the standard output of this step.
Thomas