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

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

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

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

Reply from Pierre_Richer on Mar 15 at 1:24 PM
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,

---------------Original Message---------------
From: Robert Seehafer
Sent: Friday, March 15, 2013 1:09 PM
Subject: In Background Task

Hi Experts,

I created a FM (FM1) which is calling another FM (FM2).
I would like to have FM2 executed in background task because it should be stored in SM58 in case something went wrong.
But it seems that FM2 is not executed at all. If I skip "IN BACKGROUND TAKS" then FM2 is doing what is expected.
However if it's called to run in background nothing happens.

Does anybody have an idea why FM2 is not executed when running in background?
I also tried to debug (with given hints like set background task: do not process). But still sm58 is empty.
Where can I find the LUW?

I really need your help.
Regards
Robert

 
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
Pierre_Richer  

Senior SAP System Analyst
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

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