Skip to Content
avatar image
Former Member

error log

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • May 15, 2006 at 12: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2006 at 12: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2006 at 12: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

    Add comment
    10|10000 characters needed characters exceeded