---
title: Dialog Processing in SAP S/4HANA
description: Learn about dialog processing in SAP S/4HANA and how it improves performance and efficiency.
image: https://blog.sap-press.com/hubfs/Dialog%20Processing%20in%20SAP%20S4HANA.png
---

[![rheinwerk-sappress-logo-header-1](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://blog.sap-press.com/) [Blog](https://blog.sap-press.com)

- Books 
    - Get an overview of our books and courses on every relevant SAP topic. 
          - [Programming](https://sap-press.com/programming/)
          - [Administration](https://sap-press.com/administration/)
          - [BI](https://sap-press.com/business-intelligence/)
          - [Finance](https://sap-press.com/finance-controlling/)
          - [Logistics](https://sap-press.com/logistics/)
          - [HR](https://sap-press.com/human-resources/)
          - [CRM & Sales](https://sap-press.com/marketing-sales/)
          - [HANA](https://sap-press.com/hana/)
          - [Introductions](https://sap-press.com/introductions/)
          - [E-Bites](https://sap-press.com/e-bites/)
          - [Certification Guides](https://www.sap-press.com/certification-guides/)
          - [Rheinwerk Courses](https://www.sap-press.com/online-courses/)
- Book Subscription 
    - Get unlimited access to all SAP PRESS books! 
          - [SAP PRESS Subscription](https://sap-press.com/subscriptions/)

[Administration](https://blog.sap-press.com/tag/administration)

# Dialog Processing in SAP S/4HANA

![SAP PRESS](https://blog.sap-press.com/hubfs/Twitter_profile_pic.svg)  by [SAP PRESS](https://blog.sap-press.com/author/sap-press)

In SAP S/4HANA, the end user uses the frontend (SAP GUI) to connect the dispatcher of the application server.

 

The dispatcher selects a free dialog work process (DIA) to process the logon request. If load-balancing is configured, the connection will be made to the message server, after which the user will be redirected to the dispatcher of the application server with the most available resources. During the logon process, the assignment of the user to the application server is fixed. The user remains in the assigned application server until he or she logs off.

 

A DIA work process is not reserved for a single user. Once a user request is processed, the work process becomes available again for another request from the same or a different user. In this way the processing of transactions that consist of multiple screens can be executed using multiple dialog work processes. This distribution process is called *multiplexing*. Work process multiplexing means that a function with content that is logically connected but consisting of multiple substeps can be processed by different dialog work processes.

 

Dialog work processes use different memory areas. Some memory areas are used exclusively for the dialog work process (heap memory) while others are shared by all work processes (cross-process memory). As work processes are not exclusively assigned to user sessions, data and context must be made available at the beginning of a dialog step (rolled in) and saved at the end of the dialog step (rolled out), so that the next user request (screen in the same transaction) can be dealt with by another work process starting where the first left off.

 

The number and types of work processes are configured in the instance profile and determined at the startup of the application server. There might be situations in which all work processes are busy. To resolve such deadlocks, standby and dynamic work processes can be activated:

- *Standby dialog work processes:* are started together with the other work processes at the startup of the instance. They are kept free in normal operation and are only used when the application server identifies a bottleneck and needs extra work processes to resolve the issue. The number of standby work processes is defined by profile parameter rdisp/wp\_no\_restricted. In process overview Transaction SM50, standby dialog work processes are indicated by the status standby (see figure below).
- *Dynamic work processes:* can be of type dialog or update. When all work processes have status hold, the dynamic work processes are started by the application server. When the bottleneck is resolved, they are stopped again. When the application server is started, the value of profile parameter rdisp/wp\_max\_no is set automatically to the sum of the configured work processes plus five dynamic work processes.

![Transaction SM50: Active and Standby Dialog Processes](https://blog.sap-press.com/hs-fs/hubfs/2392_03_002.png?width=758&height=580&name=2392_03_002.png)

 

Long-running tasks in online transactions are aborted after they exceed a configurable time limit. This ensures that dialog work processes are not blocked by long-running programs and forces users to start those tasks in background. The maximum runtime can be further prioritized by setting different time caps on high, medium, and low requests. Parameter rdisp/scheduler/prio\_high/max\_runtime sets the runtime for high-priority requests such as requests coming from end users. Parameter rdisp/scheduler/prio\_ normal/max\_runtime does the same for requests with a medium priority such as RFC requests. The maximum runtime for low-priority requests, such as dialog tasks triggered by background requests, can be set via parameter rdisp/scheduler/prio\_low/max\_runtime. Note that parameter rdisp/max\_wprun\_time supersedes the others. If it has been set, it overwrites the more detailed settings. We recommend replacing the rdisp/max\_ wprun\_time parameter with the above parameters as they give much more flexibility.

**Parameter rdisp/max\_wprun\_time Is Deprecated:** The older, and widely used, mechanism to control session time-outs is to set the rdisp/max\_wprun\_time profile parameter. As of [SAP S/4HANA](https://learning.sap-press.com/sap-s4hana) 2020, this parameter is removed from the [ABAP](https://learning.sap-press.com/abap) kernel and the priority-based time-outs must be used (see SAP Note 2918906).

 

Large productive systems have multiple application servers. These have in most cases the same number and type of work processes to improve load-balancing and to guarantee continuity, in case one of the application servers fails. Although it is good practice to configure the application servers equally, it is not required. Application servers may have a different number of work processing depending on their hardware resources such as their amount of memory and CPUs.

 

Performance can be improved by using logon groups to separate dialog load from other load generated by for example, background processing. Logon groups can also be used to separate the processing of Remote Function Calls (RFC). Logon groups can be created and maintained with Transaction SMLG (Maintain Logon Groups).

 

**Operating System Command to Monitor the Message Server:** Operating system command lgtst can be used to test the connection to the message server and to list the available logon groups. The command lists the available SAP instances and the logon groups with their favorites. For more information, see SAP Note 64015.

 

Editor’s note: This post has been adapted from a section of the book *[SAP S/4HANA Administration](https://www.sap-press.com/sap-s4hana-administration_5663/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2392_chapter3&utm_content=2392)* by Mark Mergaerts and Bert Vanstechelman.

## Recommendation

[![SAP S/4HANA Administration](https://blog.sap-press.com/hs-fs/hubfs/social-suggested-images/2392-4-1-2-2-2-2.jpg?width=170&name=2392-4-1-2-2-2-2.jpg)](https://www.sap-press.com/sap-s4hana-administration_5663/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2392_chapter3&utm_content=2392)

**SAP S/4HANA Administration**

Manage and maintain your SAP S/4HANA system! Understand the architecture of the ABAP platform, from its technical requirements to your options for configuration. Set up the system landscape, administer the client and database, and maintain your instances. Put proper security in place using authorizations, user profiles, encryption, and more. From archiving to virtual systems, this is the A-to-Z guide you need to perform all essential administration tasks in SAP S/4HANA.

[Learn More](https://www.sap-press.com/sap-s4hana-administration_5663/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2392_chapter3&utm_content=2392)

![SAP PRESS](https://blog.sap-press.com/hubfs/Twitter_profile_pic.svg)

**by [SAP PRESS](https://blog.sap-press.com/author/sap-press)**

SAP PRESS is the world's leading SAP publisher, with books on ABAP, SAP S/4HANA, SAP IBP, intelligent technologies, SAP Business Technology Platform, and more!

[Administration](https://blog.sap-press.com/tag/administration)

[![Share on facebook](https://7528309.fs1.hubspotusercontent-na1.net/hub/7528309/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/facebook-color.png?width=24&name=facebook-color.png)](https://www.facebook.com/share.php?u=https%3A%2F%2Fblog.sap-press.com%2Fdialog-processing-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://7528302.fs1.hubspotusercontent-na1.net/hub/7528302/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/linkedin-color.png?width=24&name=linkedin-color.png)](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fblog.sap-press.com%2Fdialog-processing-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://7528304.fs1.hubspotusercontent-na1.net/hub/7528304/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/twitter-color.png?width=24&name=twitter-color.png)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fblog.sap-press.com%2Fdialog-processing-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fblog.sap-press.com%2Fdialog-processing-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://7528311.fs1.hubspotusercontent-na1.net/hub/7528311/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/email-color.png?width=24&name=email-color.png)](mailto:?subject=Check+out+https%3A%2F%2Fblog.sap-press.com%2Fdialog-processing-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Demail&body=Check+out+https%3A%2F%2Fblog.sap-press.com%2Fdialog-processing-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Demail)

### Comments

### Latest Blog Posts

[![How to Create Clients in an SAP S/4HANA System](https://blog.sap-press.com/hs-fs/hubfs/How%20to%20Create%20Clients%20in%20an%20SAP%20S4HANA%20System.png?height=600&name=How%20to%20Create%20Clients%20in%20an%20SAP%20S4HANA%20System.png)](https://blog.sap-press.com/how-to-create-clients-in-an-sap-s4hana-system)

[Administration](https://blog.sap-press.com/tag/administration)

## [How to Create Clients in an SAP S/4HANA System](https://blog.sap-press.com/how-to-create-clients-in-an-sap-s4hana-system)

[Read More](https://blog.sap-press.com/how-to-create-clients-in-an-sap-s4hana-system)

[![SAP S/4HANA: Database Administration Tools You Should Know](https://blog.sap-press.com/hs-fs/hubfs/SAP%20S4HANA%20Database%20Administration%20Tools%20You%20Should%20Know.png?height=600&name=SAP%20S4HANA%20Database%20Administration%20Tools%20You%20Should%20Know.png)](https://blog.sap-press.com/sap-s4hana-database-administration-tools-you-should-know)

[Administration](https://blog.sap-press.com/tag/administration)

## [SAP S/4HANA: Database Administration Tools You Should Know](https://blog.sap-press.com/sap-s4hana-database-administration-tools-you-should-know)

[Read More](https://blog.sap-press.com/sap-s4hana-database-administration-tools-you-should-know)

**Subscribe to our blog!**Get notified about future blog updates.

- <https://www.facebook.com/sappress>
- <https://twitter.com/sappress>
- <https://linkedin.com/company/sap-press>
- <https://www.instagram.com/sap_press/>
- <https://blog.sap-press.com/rss.xml>

### The official SAP PRESS Blog

As the world’s leading SAP publisher, SAP PRESS’ goal is to create resources that will help you accelerate your SAP journey. The SAP PRESS Blog is designed to provide helpful, actionable information on a variety of SAP topics, from SAP ERP to SAP S/4HANA. Explore ABAP, FICO, SAP HANA, and more!

### SAP Blog Topics

- [All Topics](https://blog.sap-press.com)
- [Logistics](https://blog.sap-press.com/tag/logistics)
- [Programming](https://blog.sap-press.com/tag/programming)
- [FICO](https://blog.sap-press.com/tag/fico)
- [Administration](https://blog.sap-press.com/tag/administration)
- [Business Intelligence](https://blog.sap-press.com/tag/business-intelligence)
- [What Is?](https://blog.sap-press.com/tag/what-is)
- [Featured](https://blog.sap-press.com/tag/featured)
- [CRM & Sales](https://blog.sap-press.com/tag/crm-sales)
- [Video](https://blog.sap-press.com/tag/video)
- [Human Resources](https://blog.sap-press.com/tag/human-resources)

### Blog curated by

[![Rheinwerk Publishing & SAP PRESS Logo](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://sap-press.com) [Visit the SAP PRESS Store](https://sap-press.com)

### About

- [Home](https://sap-press.com/)
- [About Us](https://sap-press.com/the-publisher/)
- [Contact](mailto:info@rheinwerk-publishing.com)
- [Legal Notes](https://sap-press.com/legal-notes/)
- [Privacy Policy](https://sap-press.com/privacy/)
- [Terms of Use](https://sap-press.com/terms/)
- [Guest Posting](https://blog.sap-press.com/guest-posting)

© 2026 Rheinwerk Publishing, Inc. | Change Privacy Options

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "SAP PRESS",
    "url" : "https://blog.sap-press.com/author/sap-press"
  },
  "dateModified" : "2024-05-15T13:35:53.408Z",
  "datePublished" : "2024-02-12T14:00:00.000Z",
  "headline" : "Dialog Processing in SAP S/4HANA",
  "image" : [ "https://blog.sap-press.com/hubfs/Dialog%20Processing%20in%20SAP%20S4HANA.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.sap-press.com/dialog-processing-in-sap-s4hana",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.sap-press.com/hubfs/Logo-1.jpg"
    },
    "name" : "Rheinwerk Publishing, Inc."
  }
}
```