Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Batch job cancellation

Dear Experts,

I have a program which is being used by many users at the same time .

The program is an interface that updates the SAP database table for the sales order pricing conditions.

I cannot have this program run in a sequential manner.

The program HAS to run parallely(business requirement) since it is used by about 25 countries.

The program also uses the function module "ENQUEUE_ESFUNCTION" , but this throws the error message that , "The program is being locked by another user".

My Question:

1.Is it possible to BYPASS the Function module?

2. I am in a fix here because i should and must use the FM since the updates to tables are happening.

And i should also let the parallel processing to happen. Seems like a deadlock!!!!

3.Can a wait of about 1000ms or so ( suggested by one of the experts) fis this issue?

Please suggest me a workaround for this. Help me fixing this issue please.



Not what you were looking for? View more on this topic or Ask a question