Skip to Content
avatar image
Former Member

alert message for job failed in sm37

Hi,

I have kept employee transfer report in background .

if job fails, say system is down.....it should alert the user with "employees which has not been updated in the system".

so that the same can be run manually.

Kindly let me know what is the best way to resolve the above.

Regards,

Rachel.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jun 22, 2010 at 05:56 AM

    Hi ,

    What you can do is ,

    1> when job gets run successfully , Export a flag = Y in memory.

    2> If job fails then Export a flag = N in same memory.

    3> You will have aseperate program running in background who will keep on reading this status at some time interval. Or if possible for polling , user can execute some transaction zabc to see the status and in that transaction this program will get executed which will read this flag, If this flag is N then show the status message to User about this. along with the Flag you can aslo Export and Import Employee Name/No and show that in message upon failure.

    Hope this is helpful.

    Regards,

    Uma Dave

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2010 at 06:24 AM

    Through program, how will i find out job has run successfully?

    Regards,

    Rachel

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 28, 2010 at 10:03 AM

    I have tried the Fm "/BDL/_READ_JOB_STATUS" , but i am not getting any output.

    Is there any other function module which will give me about job failed in sm37.

    Regards,

    Rachel

    Add comment
    10|10000 characters needed characters exceeded