Sei sulla pagina 1di 1

Parallel Processing in ABAP

Parallel processing in ABAP is processed in asynchronous mode. With parallel processing, there is a
possibility of increase the performance to a huge extent.

Whenever we are processing a function module in a loop what happens is the looping will be performed
by a dialog work process and it wait till the execution of the function module completes and then
resume the operation from there (Synchronous). Here in the case of parallel processing the function
module is assigned to be executed with a new work process, here there is no need for the dialog work
process processing the loop to wait till the execution of the function module it continues to resume the
process with the next set of data(Asynchronous mode).

 Parallel processing is not suitable for data that are to be processed sequentially. Hence logically
independent work can only be processed by this method.
 All function modules that are RFC enabled can be processed by this mode.
 When RFC enabled function module is called we are supposed to specify a group in which the
RFC is supposed to be executed. You can find this RFC group in TCode RZ12. A group includes the
application server instances and that instance in turn can contain any no of dialog work process
configured by the basis team. I noticed that there was group created with ‘parallel generator’
and it must be available in all servers for parallel processing.
 Before we are going to process the task let’s check for the available no of dialog work process
and split our processing accordingly. Try to utilize only a min of work process that are free so as
not to soak up the jobs running in other applications.

Parallel processing is implemented in the application reports that are to run in the background. You can
implement parallel processing in your own background applications by using the following function
modules and ABAP keywords:

Function module SPBT_INITIALIZE: Optional. Use to determine the availability of resources for parallel
processing.

You can do the following:

Check that the parallel processing group that you have specified is correct.

Find out how many work processes are available so that you can more efficiently size the packets of data
that are to be processed in your data.

Potrebbero piacerti anche