‎2006 May 15 1:32 PM
plse guide me how to create error logs in report.
if there is no data in the table,if we write select statement then error message should be created in 'error log' when it run on background.
thank you for your help
with regards
serma rao
‎2006 May 15 1:34 PM
Hi Serma,
YOu can write a log file into an application server file by using
open dataset /transfer/ close dataset commands.
2) Use the function module nast_protocol_update to update the log as you do in output control programs.
3) you can find functions like BAL_LOG_MSG_ADD.
Regards,
Ravi
‎2006 May 15 1:36 PM
Hi Seema,
When u ran the program as background, u can check the program log in SM37 transaction.
If there is an list output for the program, then check with the spool list there.
U can also see the job logs there.
If found useful, award points pls,
Regards,
Bharadwaj
‎2006 May 15 1:37 PM
Hello Serma,
You need to create a Custom table , where you can store the Error Log.
say report name and error text , Date of run , user name etc.
Best is create a Include , which you can use in all reports for future.
Later you can use the table to retrive log.
Regds,
Manohar