Skip to Content
avatar image
-1
Former Member

Report is working fine in foreground but strange behavior in Background

Dear Veterans,

Good Day.

This is regarding one issue that I am facing with report that transfers materials from non MRP to MRP group. This report is working fine in foreground but its not working in background. The job gets completed in 0 seconds but no movement happens. When I try to debug the job using JDBG the job is successfully processed.

For your Information,

I am the user for background job also and I am having access to both the T-codes i.e. SM37 , SE38.

Many thanks in advance for your feedback.

Regards,

Dheeraj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jun 08, 2017 at 05:15 PM

    Add a temporary endless loop in the program so that you can debug in background.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 08, 2017 at 07:20 PM

    Check for any statement which is checking for SY-BATCH (if any). You might be skipping some statement.

    Do you have any UPDATE/MODIFY/INSERT or BAPI? You might need a commit work.

    Raju.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 09, 2017 at 04:38 AM

    Hi Dheeraj,

    Is there any upload happening in the program from Presentation server ?

    Thanks,

    Sijin

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 09, 2017 at 07:52 AM

    Use log points to track what's going on. Validation code and good error handling is also always a good thing.

    Add comment
    10|10000 characters needed characters exceeded