I am using a frontend with multiple logon IDs to call an RFC with a single SAP user ID (for spool job creation).
Now ths issue is :
When a single front-end(non sap) user logs in and does the process of sales order/deliver creation/sapscript/pdf conversion/ftp to web server a single PDF document is obtained.
When two or more front-end users simultaneously hit the button for the process of sales order/deliver creation/sapscript/pdf conversion/ftp to web server, then the pfd get merged with the two or more documents.
The first process after hitting the button for the process of sales order creation is the call to an RFC.
Maybe there is a process to make the user 2 wait until user 1 has called RFC and the entire process is over. How can this be achieved in ABAP/4.
WAIT UP TO 10 SECONDS. will not work because effectively user A and B will be a few micro seconds away from each other. Is there any other process to delay the RFC call.The front-end call to RFC is supposed to be synchronous.
Any pointers to the solution.Thanks.