Start of Content Area

Procedure documentation Transferring Queue Names  Locate the document in its SAP Library structure

Use

You want to transfer queue names to the qRFC Manager.

 

Procedure

...

·        If the call function in the background task (qRFC call) is only assigned to one outbound queue, call the function module “TRFC_SET_QUEUE_NAME” to transfer the queue names to the qRFC Manager.

·        If the qRFC call is assigned to more than one outbound queue, start the function module "TRFC_SET_QUEUE_NAME_LIST" to transfer queue names to the qRFC Manager.

Caution

Note that this links queues together, which reduces performance.

 

·        If the qRFC call is assigned to one outbound queue, and you want to send this LUW to different target systems, start the function module “TRFC_SET_QUEUE_RECEIVER_LIST" to transfer queue names to the qRFC Manager. In this situation, the qRFC Manager only stores the LUW data in the database once, and then generates a reference counter for the LUW. The data for this LUW is not deleted until the LUW has been successfully executed in all target systems. 

·        Start the function module "TRFC_QUEUE_INITIALIZE" to inform the qRFC Manager that your application is using both tRFC and qRFC (=mixed mode) and the first call is a tRFC call. This is necessary because of a compatibility problem between tRFC and qRFC when assigning TIDs to the sub-LUWs in a LUW (tRFC: the same TID for different destinations, qRFC: different TIDs for different destinations).

 

Result

The qRFC Manager processes the queues in accordance with your configuration.

 

 

Continue by reading the following:

Calling a Function Module in “Module in Background Task”

 

 

 

End of Content Area