Asynchronous Working

Terminal and WEB APP > WEB APPS Version 2.1 > General information > Asynchronous Working

Top  Previous  Next
Expand/Collapse Toggles

If the WEB client starts a transaction, the WEB Server must create the SAP Transaction, which can take long.
With the Asynchronous working, the WEB Server moves the SAP Transaction request to the Beas Common Service and returns a request ID only.

In this case, the WEB Client and the WEB Server do not need to wait for the SAP Transaction.

 

The client itself can wait for the result (Standard), but this does not block the WEB Server.
The Common service executes the SAP Transaction if the Service has time and returns the result back to the WEB Server.

 

If the client asks for the result, the WEB server sends this to the client and the client can display the result.

 

General information about Asynchronous Working:

 

Settings
- Activate "Asynchronous Processing" in Administration > Utilities > Beas Manage Server > Extended tab.

- Activate Common Service in Tools > Web Server.

- Go to HR > Master Data > Terminal functions > Authorization program group: Terminal > "Basic settings" button. Set parameter WebApps Common Service Result Behavior.

- Go to HR > Master Data > Terminal functions > Authorization program group: Terminal > "Edit" an entry > Click on an app:

  Time to wait (sec.): Define the time on how many seconds the app should wait before moving on to the next transaction.

 

See more details on the setup of asynchronous working in this video:

 

hmtoggle_plus1   More about Common Service

The functionality of beas common service

- print asynchronously (Example WEB Application)

- create all SAP transaction asynchronously (Example WEB Application)

- simple interface to third applications.

 

 

Idea of asynchronous working

If lots of clients are working parallel with SAP Transaction on one SAP Table, it does not work because SAP must lock the database for every transaction.

This working tends to get unstable causing long waiting time for clients.

 

common_parallel

 

 

In the Beas common service work is carried out with a Stack. Every service sends the transaction command in this stack.

The Beas common service executes this in SERIAL and not PARALLEL.

 

This does not create deadlocks or an overload of the database and results in stable execution.

The worker does not need to wait for a response and can continue since the web service does not execute the transaction itself.

 

The Beas common service sends the answer (good, docentry number, error message etc.) in an answer stack.

The client can check if an answer is available at any moment, and can display it in the window (= synchronous working).

common_asynchron

 

 

In Beas you can see the current stack in the Beas common dashboard.

 

common_dashboard2

To open the Beas common dashboard from Beas manage server, click on the configuration Icon see image below.

 

server_dashboard_icon

 

 

The WEB APP print solution uses the asynchronous concept, as well.

Beas 2020.02


Help URL: https://help.beascloud.com/beas202102/index.html?asynchronous_working.htm