In this section: |
SAP supports many different types of processes (for example, batch, dialog (online), dynamic, print, and so on). Each WebFOCUS for SAP query creates a process within the SAP application server. This process can execute as either a dialog (online) or batch process.
These processing mode options allow you to adapt to the SAP application server configuration where there are a specific number of processes allocated for each process type per SAP application server.
You can change mode settings from the Web Console by clicking Data Adapters in the navigation pane, clicking the name of a configured adapter, and choosing Change Settings from the menu. The Change Settings pane opens.
You can set execution processing to dialog (also called online) mode or batch mode.
In this mode, the report is executed online. The session is blocked until execution is completed. Execution time is bound to limits preset in the SAP system.
The following command sets your Adapter for SAP to dialog processing mode:
ENGINE SQLSAP SET EXECUTIONMODE ONLINE
You would use this command if you had explicitly set batch execution mode and wanted to switch back to dialog mode within a single session on the server.
If you have a WebFOCUS for SAP report that requires longer processing time, consider Batch processing.
The following command will set your Adapter for SAP to batch processing mode:
ENGINE SQLSAP SET EXECUTIONMODE BATCH
To implement these settings from the Web Console, click Data Adapters in the navigation pane, click the name of a configured adapter, and choose Change Settings from the menu. The Change Settings pane opens. Choose Online or Batch from the Execution mode drop-down menu.
Note that you can also insert these commands directly into the server profile (for example, edasprof.prf) or included within the report procedure.
Before you issue any requests for batch execution, you can define how often the engine will check for the completion of these requests.
The syntax is
ENGINE SQLSAP SET NONBLOCK n
where:
Is the polling interval defined in number of seconds. The default is 30 seconds.
To implement this setting from the Web Console, click Data Adapters in the navigation pane, click the name of a configured adapter, and choose Change Settings from the menu. The Change Settings pane opens. Enter a value in the NONBLOCK field.
Note that you can also insert this command directly into the server profile (for example, edasprof.prf) or include it within the report procedure.
WebFOCUS |