Skip to Content
author's profile photo Former Member
Former Member

Job getting cancelled while running in background


I have a requirement to upload the data in the application server, I have written a code to upload the data in the application server.

When i am executing the program in foreground, it is working fine and i can able to see the file in application server using AL11 T code.

The problem is that when i am trying to execute the program in background, job status is cancelled but the file got written in the application server and no logs were there for the cancelled jobs in SM37.

I debugged the job using JDBG but i couldn't find anything.

Please help me on this.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 22, 2012 at 09:47 AM

    Check if there are message in System Log, call transaction SM21.

    (I suppose some statement cancel the job after the data is uploaded in application server, the cancel causing a rollback removing the job log ?)



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.