2009 Jun 19 12:21 PM
Hello,
There is one function module which is called in background task. Is there any chance that background task is not created and function module is not executed. That function module is supposed to send some outbound message. The FM is called in one user exit. I don't have any idea as why it is called as background task. The probem is that this message is not getting send sometimes.(sometimes it gets send ). Because of this I am not able to make any conclusion.
Please respond if anyone has come across such scenario before.
Thanks in advance,
Minal
2009 Jun 19 12:26 PM
Check the below link...it might be helpfull
It should be executed....check it with different data as to what might fail
http://help.sap.com/saphelp_nw04/helpdata/EN/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm
http://help.sap.com/abapdocu/en/ABAPCALL_FUNCTION_BACKGROUND_TASK.htm
2009 Jun 19 12:26 PM
Hi,
Please check the program which is calling that FM in backgroud.. If it retuns some error it will process it...
2009 Jun 19 12:27 PM
Hi Minal,
If it is called in background task; it will be processed when commit work happens.
Incase there is some problem with commit; this FM might not be called.
Regards,
Ankur Parab
2009 Jun 19 12:29 PM
2009 Jun 19 12:38 PM
Hi ,
PLease check whether it is giving any dump when it is executing.
Please let me know if you need any more help.
thanks and regards ,
Rajeshwar .
2009 Jun 19 12:46 PM
Thanks for your reply...
Commit work is working fine..
Is there any other scenario where it can fail? Is there any way to find out that creation of background task is failed?
Actually, when I am executing that transaction then it is working fine. But when user's are trying then sometimes it is working and sometimes it is not...
2009 Jun 19 12:50 PM
Hi ,
try to check whether you and the users are having the same roles ,if some are able to run it and some are not then i think it is due to some authorization missing.ask them to check it with SU53 tcode.
Let me know if you still need any more help.
thanks and regards,
rajeshwar.