We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] [Possible SPAM!] In Background Task

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from ERPel on Mar 16 at 9:15 AM
Hello Pierre,

The reason why I want to use background task is to enable a repeat try if something went wrong.
My assumption is that if the update fails and I raise an error that the LUW will be placed in sm58 where it could be repeated.
However my call in background task seems to do nothing.
You are right starting new task worked - in success case it did an update but when the object was locked there was no hint that it failed. So no chance to try again.

Btw. I do the commit in FM2 to enable the raise error.

Robert

---------------Original Message---------------
From: Pierre Richer
Sent: Friday, March 15, 2013 1:24 PM
Subject: [Possible SPAM!] In Background Task

Robert,

By using In background task, don't forget that your RFC will be called
after a COMMIT WORK is done, not right after the CALL. If there is no
COMMIT in FM1, a COMMIT will be done at the end of current process and FM2
will be started after.

For testing, try using STARTING NEW TASK instead and you will see right
away in SM51 if something is running.

Pierre,

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2013 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
ERPel  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language