cancel
Showing results for 
Search instead for 
Did you mean: 

Dialog work process

former_member182921
Participant
0 Kudos

Hi SAP Experts,

If we have 20 dialog work process in SAP .

Then does it mean that if 20 people will login then there will be no  DIA work process available ???

Regards,

Abhishek

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Abhishek,

The answer to your question is NO, because it's not a 1-to-1 relationship between DIA workprocess and user. One DIA workprocess can handle multiple users by switching between the context of those users. This is also because one user will not occupy a DIA workprocess 100% all the time, unless it goes to "private mode", which is seldom the case (if it's happened, then the user should probably using BACKGROUND workprocess anyway). So the user will not produce continuous "dialog-steps" in a normal working mode.

The Dispatcher handles all the request of all users and put them in the Dispatcher-queue, and this will be forwarded to a DIA workprocess as soon as it became idle, even in milliseconds, so that's why it can handle hundreds of requests in this queue.

I hope this will help you.

Regards,

Andre

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Abhishek,

To add on to Wahjudi's response. This behavior of the work processes are known as "multiplexing". Where if a transaction/report requires multiple sub programs/transactions to execute, each sub program could potentially be using different dialog WP's to complete the entire final transaction/report. Thus it is not a 1 - 1 relationship.

Thusjanthan Kubendranathan

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Abhishek,

You should check the architecture of SAP again.

There is something called dispatcher.

Go through it, an you will get the answer .

Regards,

Divyanshu

former_member182921
Participant
0 Kudos

Yes Divyanshu Thanks

divyanshu_srivastava3
Active Contributor
0 Kudos

In Short, all client request goes to the queue, are processed and forwarded by dispatcher to its work processes using FIFO principle.

Regards,

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Abhishek,

Point to note is the parameter rdisp/elem_per_queue.

If you got your answers, please mark and close the thread

Regards,

Divyanshu