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!] RE:[sap-dev] Asynchronous Update of Objects (Batches)

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:39 PM
Hi Robert,

Did you encapsulate the BAPI within an RFC? I did it using STARTING NEW
TASK and it works.

For locking mechanism, you can create your own using a kind unique process
ID for that LUW representing batches.

You have to find a way to identify the Batches as a unique process id and
use it with your own locking mechanism. If the user try to modify this
batches the relevant process id is locked, unlock at the end when released.
During that time, the other RFC process Tries to lock the Batches to
perform his updates. As soon as there a free window, Lock perform updates
Unlock. Worst case, the user will have message if he tries to modify
during RFC updates.

Or park all the updates in a Z table and run a batch job during night, as
long as the updates won't overwrite what the user has done during the day.

Maybe I'm not clear enough.

Pierre,

---------------Original Message---------------
From: Robert Seehafer
Sent: Friday, March 15, 2013 1:13 PM
Subject: Asynchronous Update of Objects (Batches)

Hi Pierre,

Unfortunately I cannot set the locks myself as I am calling a BAPI which is already doing the lock.
Now I try to call the BAPI via background task because I hoped to see it in SM58 if it fails.
But in background task nothing happened. The BAPI seems not to be executed at all.

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
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

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