on 05-07-2013 8:20 AM
Hi Friends,
I have to process large Data of HR for Infotype Operation Using WebDynpro. It may take few hours also. Suggest techniques to avoid Time Out.
Regard's,
Shivesh Ranjan.
Hello Shivesh,
It does not make sense to let the user wait too long within a WebDynpro Application.
I would suggest, to create a background-processing job and give the user a view, where he can see the current processing status. Only if this status is ready to view for the user, the WebDynpro change to the next views.
Use class CL_BP_JOB or the corresponding function module JOB_OPEN. When using this, you should build a customer-status table and eventually an enqueue object, so the processing can only be started once.
Kind regards,
Hendrik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shivesh,
In addition to what Hendrik has mentioend, you can also do parallel processing.
Lets say, you have a function module which you are calling from WD. Normally it is a synchronous call and WD session will be on hold till the time FM is processed.
What you can do is, create a wrapper function module and call your main FM like below:
CALL FUNCTION STARTING NEW TASK
This will create an internal session. However, you still need to create the status screens where user can check the current status of the request.
Cheers!
Abhinav
User | Count |
---|---|
76 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.