Application Development 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: 

Job getting cancelled while running in background

Former Member
0 Kudos

Hi,

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.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

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 ?)

Regards,

Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

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 ?)

Regards,

Raymond

0 Kudos

Hi,

Thanks for your reply.

It was a  Basis issue. Issue got resolved.

Regards

Siva