Skip to Content
avatar image
Former Member

SAP Batch Job is failing

Hi All,

I have a program which is run in batch. Within my program i am calling a function module where the error message is handled using raising statement. All the cases for sy-subrc checks for function modules are hadled by me within the program, still the program in batch ends up as cancelled and the job log shows that it is due to error message within the function module.

Has anyone faced with this situation earlier?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 14, 2010 at 05:14 PM

    Hi,

    Please paste logs of the batch job.

    Thanks,

    Shobhit Garg

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 14, 2010 at 05:44 PM

    Can you please click on the job log in SM37 and paste the log as requested earlier.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      even if this is a quite old thread, I am very interested to know wether you found a solution to this issue. We are using the FM : MD_MRP_LIST_API in batch program, and could not find the way to get the message back to the calling program when a raise exception happens.

      Best regards,

      Luc