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

SOST - table for error log

Former Member
0 Likes
3,587

We are creating material masters using an upoload program and the error log is sent to various user Ids.

The table SOOD does not give details of the error log.

Where are the error logs stored?

How can we view the error log , by giving the Jobname, created date and user ID ? is it possible to see at table level? Which are the tables for viewing the attachments / error logs?

(without going to SOST)

Thanks,

Manohar

6 REPLIES 6
Read only

Former Member
0 Likes
1,845

Hi,

Function Module 'BP_JOBLOG_READ' can be used to read the job logs.

Hope this helps!!!

Regards,

Hemanth

Read only

Former Member
0 Likes
1,845

Hi,

Use function module BP_JOBLOG_SHOW to display a job log to a user.

BP_JOBLOG_SHOW cannot usually be part of the same program that you used to schedule a job, since the job log is complete only when the job has been completed.

However, you could offer display of a job log as a separate function to your users.

You will need the job name and ID number to identify the job log. You must either:

save these specifications yourself when you schedule a job

or use BP_JOB_SELECT to find and select from jobs

Also Check this link..

http://help.sap.com/saphelp_nw70/helpdata/EN/fa/096ddc543b11d1898e0000e8322d00/content.htm

Regards,

Omkaram.

Read only

0 Likes
1,845

Thanks for your replies.

I tried to execute the fucntion module BP_JOBLOG_READ.

I have the jobname but where can I get JOBCOUNT and JOBLOG.

Please advise.

Thanks,

Manohar

Read only

0 Likes
1,845

Hi,

The jobcount and joblogid can be obtained from the TBTCO table for the date/time of the job execution..

Or you can use GET_JOB_RUNTIME_INFO function module in your program to get the details.

Regards,

Omkaram.

Read only

Former Member
0 Likes
1,845

Hi,

Check this FM 'GET_JOB_RUNTIME_INFO '

Regards,

Jyothi CH.

Read only

0 Likes
1,845

Thank you again for your responses.

the background job was run about a month ago and there are no entries in table TBTCO.

We have the log in SOST but we do not want to give this access to users to see the job log.

I am trying to see the joblog from SOST but without giving access to SOST.

The table SOOD gives the message details and on displaying it , shows the log of errors.

How can we display this log stored in SOST/SOOD to users and there is no record in table TBTCO because it has exceeded the storgae limit set by our basis.

We have no records in TBTCO but we have the log in SOST . How to display this log to users without giving access to SOST.

Please advise.

Thanks,

Manohar