10-01-2007 12:40 PM
Hi,
Our background job is getting failed if we are having warning meesage , why it is happening , could any one provide inputs .
In bacground it's considering Warning message as Error message .
10-01-2007 12:43 PM
Hi Garima,
CHange the code as follows:
if sy-batch = 'X'.
Message 'Error updating data !' type 'I'.
else.
Message 'Error updating data !' type 'W'.
endif.
i..e When executed in bckground display INFORMATION Message & in Foreground display WARNING message.
Best regards,
Prashant
10-01-2007 12:44 PM
Hi,
I think you are not provided the sufficient data for Batch job execution.
Thanks & Regards,
Satish.
10-01-2007 12:52 PM
Hi Garima..
In Backgroumd processing Warning message is treated like Error Message bcoz the Processing cannot continue unless the ENTER key is pressed.
So it is better if u give Information message (Type I) instead of Warning, in case of a Z program.
<b>reward if Helpful.</b>