Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error log

Former Member
0 Likes
730

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

3 REPLIES 3
Read only

Former Member
0 Likes
621

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

Read only

Former Member
0 Likes
621

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

Read only

Former Member
0 Likes
621

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