Entering content frame

Background documentation How Can I Catch a Timeout for Long-Running Processes?  Locate the document in its SAP Library structure

Question

In a BSP application, large collections in the OnInitialization event handler can cause a timeout on the following page. This timeout should be caught and an appropriate error message should be displayed without losing the session context.

Answer

You can solve the problem of long-running processes by starting the long processes in a second thread, so that the frontend thread can quickly display the next HTML page in the browser. In ABAP this corresponds to the call call function … in background task.

On this subsequent page, you can use the HTML refresh mechanism, that is, this page is automatically refreshed after 20 seconds, for example. The system displays a progress display and displays a friendly message informing you that the system is still busy.

The database synchronizes the frontend task with the process task.

 

 

Leaving content frame