‎2006 Oct 19 4:10 AM
Hi, I would like to continue the BATCH process even there has error. Does it work if I change the message from 'E' to 'W'? Or should I change the 'E' to 'I'?
If SY-BATCH = 'X',
LOOP AT gi_messages.
IF gi_messages-zzmsgty = 'W'.
g_message = gi_messages-zzmessage.
MESSAGE <b>e000</b>(z1) WITH gi_vbap-vbeln '-' g_message.
ENDIF.
ENDLOOP.
What is the 'e000'? Is this for 'error'? Do I need to change to other for 'Warning'?
Thank you very much!
Helen
‎2006 Oct 19 4:13 AM
Hi Helen,
E000 means an error and the program will stop and raise an error message.
If you want to continue the processing, you can use I000 or W000 or S000 instead.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Oct 19 4:12 AM
Hi,
If you want to continue...use the success message..
MESSAGE S000(Z1) WITH gi_vbap-vbeln.
Thanks,
Naren
‎2006 Oct 19 4:13 AM
Hi Helen,
E000 means an error and the program will stop and raise an error message.
If you want to continue the processing, you can use I000 or W000 or S000 instead.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Oct 19 4:17 AM
if you want to continue please replace the error 'E' with either a warning 'W' or information 'I' or success 'S' message type.
Regards
- Gopi