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] Asynchronous Update of Objects (Batches)

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

Reply from sapwes on Mar 15 at 1:52 PM
Robert:
You should be able to call the same enque function modules that the BAPI is using before calling the BAPI. I'd modify Pierre's suggestion only that in step 2 - attempt to lock using the appropriate enque FM(s) , if lock is granted then unlock and call the BAPI.

As a note, you haven't told what BAPI you are calling. Help can be more specific if you are
wes.

---------------Original Message---------------
From: Robert Seehafer
Sent: Thursday, March 14, 2013 6:02 AM
Subject: Asynchronous Update of Objects (Batches)

Hi Experts,

We have a process where specific objects (batches) need to be updated.
I would like to avoid that the update fails because e.g. the object is used by another user or process.
How can I archive that the system is periodically trying again to perform the update?

I am not sure if below solutions are really doing what I want (except 3)

1) Using "in background task". But I don't know if this won't already raise an unresolvable error if there is a lock on the object
2) Using "in update task". Same concerns as in 1
3) Monitor if the update was successful. If not store respective data in a z-table and implement a report scheduled by a job which is trying the update again.

I don't like option 3. Do you have any good ideas with Standard SAP?

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
sapwes  

Jack
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