10-08-2007 2:05 PM
Hi All,
when a job is failed i have to insert a new message in job log.
for ex: Job log for job BTCH_RSORAVSH
08.10.2007 01:44:47 Job started 08.10.2007 01:44:47 Logon of user F.TABI1 in client 100 failed
08.10.2007 01:44:48 Job cancelled
now i have to insert my message in third line
08.10.2007 01:44:48 Job failed due to XXX problem.
Please any one let me know whether this can be possible.
Thank you all in advance.
10-08-2007 2:08 PM
Hi All,
when a job is failed i have to insert a new message in job log.
for ex: Job log for job BTCH_RSORAVSH
08.10.2007 01:44:47 Job started
08.10.2007 01:44:47 Logon of user F.TABI1 in client 100 failed
08.10.2007 01:44:48 Job cancelled
now i have to insert my message in third line
08.10.2007 01:44:48 Job failed due to XXX problem.
Please any one let me know whether this can be possible.
Thank you all in advance.
10-08-2007 2:13 PM
Hi,
use message e(xxx) when you encounter any problem. This message text will get automatically captured in job log
10-08-2007 2:13 PM
Just send an information message :
MESSAGE Innn(XXXXX) WITH &1 &2.
The message will appear in log.
Message with 'E' error or 'A' abort will appear too, but will break job.
Regards
10-08-2007 2:14 PM
Hi there,
If you insert a message statement within your ABAP code this will apear in the job log.
i.e.
MESSAGE i003(zz) WITH 'Job failed due to XXX problem'.
Regards
Mart
<a href="http://www.sapdev.co.uk">SAP / ABAP Development help and information using ABAP, ABAP OO, BSP, Web dynpro for all SAP modules including FI, HR, BW</a>