Skip to Content

SAP-R/3 Workflow in SAP-3 Tier Architecture

This document describes how SAP R/3 work flow works.

User Request —->DISPATCHER—> PAI (Processing After Input) Block—–> Assign to Work Process ——> RDBMS—–

                                  |                                                                                                                                                          |

                                  |                                                                                                                                                          |

                                  |                                                                                                                                      PBO (Processing Before Output)

                                  |

                                  |                                                                                                                                                            |

                                  |                                                                                                                                                            |

                            SHARED MEMORY                                                                                                                                    |

                          (holds record temporarily…                                                                                                                          |

                            when dispatcher is busy)                                                                                                                              |

                                                                                                                                                                                      DISPATCHER

                                                                                                                                                                                                  |

                                                                                                                                                                                                  |

                                                                                                                                                                                            RESULT

Note :- For detail kindly go through with the attachment.

Regards,

JUNAID AHMAD

SAP BASIS

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Isaias Freitas

    Hello,

    Your diagram suggests that the Dispatcher processes the PAI block before assigning the request to a Work Process (at least this is my understanding of your diagram).

    This would not be correct.

    The Dispatcher only assigns requests to Work Processes. The PAI block is processed by the Work Process.

    Regards,

    Isaías

    (0) 
    1. Junaid Ahmad Post author

      Hello,

      According to me..what i understand about the SAP-R/3 workflow is :-

      SAP-R/3 Work flow:-

      Dispatcher :- is a logical unit  which receives user input and sent result to the user                                        accordingly and it cannot hold the data itself.

      Note :- If Work Processes are busy,Dispatcher sent requests to the Shared                                          Memory temporarily(because Dispatcher cannot hold the data itself).

                   When Work Processes are free then Request again sent from Shared memory to the              Dispatcher for further processing.

      PAI (Processing After Input) :- As the name suggests,this block decides which input is                                                              going to which Work Process(W.P.).

      PBO (Processing Before Output :-PBO block checks & validate the result whether the result is appropriate according to the query/Input or not.

      For eg.: If user input some background job/Spool job,only PAI block decide that the user input goes to the corresponding Work Process for processing.

      Then corresponding Work process fetched the data from the Database(if the query is for saving the data-then OLAP works for it,and if the query is for data retrieval-the OLTP works).

      Database responds to the work process accordingly

      Result data sent to the corresponding work process.Work Process sent the result to the PBO (Processing Before Output) block.

      PBO block checks & validate the result whether the result is appropriate according to the query/Input or not.

      If not then it again sent to the Work process for re-processing(same as described above..).

      If result matches according to the query then it goes to the dispatcher for the output to SAP-GUI.

      Note :- If Dispatcher are busy,Dispatcher sent results to the Shared Memory temporarily                     (because Dispatcher cannot hold the data-(Request/Result) itself).

                  When Dispatcher are free then result data sent from Shared memory to dispatcher                 for  displaying the output to SAP-GUI.



      Remark :-For graphical display of R/3 workflow,go through with the attachment.




      Best Regards,

      JUNAID AHMAD

      (0) 
  2. Junaid Ahmad Post author

    SAP-R/3 Work flow:-

    Dispatcher :- is a logical unit  which receives user input and sent result to the user                                 accordingly and it cannot hold the data itself.

    Note :- If Work Processes are busy,Dispatcher sent requests to the Shared                                          Memory temporarily(because Dispatcher cannot hold the data itself).

    When Work Processes are free then Request again sent from Shared memory to the            Dispatcher for further processing.

    PAI (Processing After Input) :- As the name suggests,this block decides which input is going to which Work Process(W.P.).

    PBO (Processing Before Output :-PBO block checks & validate the result whether the result is appropriate according to the query/Input or not.

    For eg.: If user input some background job/Spool job,only PAI block decide that the user input goes to the corresponding Work Process for processing.

    Then corresponding Work process fetched the data from the Database(if the query is for saving the data-then OLAP works for it,and if the query is for data retrieval-the OLTP works).

    Database responds to the work process accordingly

    Result data sent to the corresponding work process.Work Process sent the result to the PBO (Processing Before Output) block.

    PBO block checks & validate the result whether the result is appropriate according to the query/Input or not.

    If not then it again sent to the Work process for re-processing(same as described above..).

    If result matches according to the query then it goes to the dispatcher for the output to SAP-GUI.

    Note :- If Dispatcher are busy,Dispatcher sent results to the Shared Memory temporarily                   (because Dispatcher cannot hold the data-(Request/Result) itself).

                When Dispatcher are free then result data sent from Shared memory to dispatcher                for  displaying the output to SAP-GUI.



    Remark :-For graphical display of R/3 workflow,go through with the attachment.




    Best Regards,

    JUNAID AHMAD

    (0) 

Leave a Reply