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

back ground batch input processing error log handling

Former Member
0 Likes
1,475

Dear Friends,

Currently im am scheduling job for batch processing of goods receipt through bapi, now after the succesfull run of this program im appending all the success and error logs in one internal table and sending this table to spool for future reference.

Is there any other way to handle the error logs??

bcoz in the method im using every time user has to run transaction sp01 to access that spool request to check the error logs.

Kindly suggest ....

Regards,

Sunny V

8 REPLIES 8
Read only

Former Member
0 Likes
1,148

you can send the log in mail(or as attachment) to the user.

you can read the job log by FM BP_JOBLOG_READ and produce them as a report...

Read only

Former Member
0 Likes
1,148

Best way will be creating Application Logs of the reports log.This will be forever in the system unless you delete it.

Few one time settings are required. After that you can use tcodes

SLG1 (Analyze application log) and

SLG2 (Application Log: Delete expired logs).

For more info take the help from below link:

[Create Application Log|http://help.sap.com/saphelp_nw04/Helpdata/EN/2a/fa0216493111d182b70000e829fbfe/frameset.htm]

Let me know if you find any difficulty in doing this.

Read only

0 Likes
1,148

This message was moderated.

Read only

0 Likes
1,148

Will post sample code once i have access to my system.

Read only

0 Likes
1,148

thnks amit i will be waiting for your reply

Read only

0 Likes
1,148

This message was moderated.

Read only

0 Likes
1,148

This message was moderated.

Read only

0 Likes
1,148

This message was moderated.