Start of Content Area

Procedure documentation SMQR: Registering a Queue Name  Locate the document in its SAP Library structure

Use

You can use transaction SMQR to register a destination.

 

Procedure

Call transaction SMQR. On the initial screen, you see a list of all registered queue names.

This graphic is explained in the accompanying text

 

      Clt.: Client in which the scheduler is running.

      Queue Name: Name of the inbound queue.

      Type: Type: Displays whether the queue is registered (R) or not registered (U). You can deregister a queue by selecting it and choosing Deregistration.

      Mode: You use the EXEMODE parameter to specify the processing mode. D indicates that the qRFC LUWs in this queue run in a dialog work process; B indicates that they run in a background work process.

Caution

Mode ‘B’ schedules the queue entry to be executed in a background job. Since it does not have an error handling mechanism and there is no scaling, mode ‘B’ is never recommended (for more information, see also SAP Note 1579728).

 

      Max. Runtime: Here, you specify the maximum runtime of this queue.

      Attempts: Retry counter.

 

When you choose Registration, a dialog box opens in which you can enter the required queue name.

This graphic is explained in the accompanying text

 

You can enter the following information:

      Queue Name – Enter the name of your registered destination (single or generic).

      EXEMODE – You use the EXEMODE parameter to specify the processing mode. D indicates that the qRFC LUWs in this queue run in a dialog work process; B indicates that they run in a background work process.

      MAXTIME – Maximum runtime in seconds.

      USERDEST – Logical destination with reference to destination NONE. The logical destination is used to define the logon data (client, user) with which your event function is executed.

Note If you do not enter anything here, the current user is used, with the default destination NONE.

       

      NRETRY – Number of retries. If the LUW had a CPICERROR error when it was first processed, a background job is scheduled to restart the LUW. This job is scheduled NRETRY times if a CPICERROR error occurs.

      TDELAY – Delay between a background job and the next background job in the same LUW.

 

You also have the following options, in addition to Registration:

 

      This graphic is explained in the accompanying text  Register Without Activation: The queue is not triggered immediately; the scheduler is inactive.

      This graphic is explained in the accompanying text      Deregisters the destination. The queue is no longer processed.

      This graphic is explained in the accompanying text        Takes you to the qRFC Monitor. The monitor (transaction SMQ2) displays all qRFC entries and their destinations.

This graphic is explained in the accompanying text     Deletes all selected queues

This graphic is explained in the accompanying text     Updates the display

This graphic is explained in the accompanying text     Displays the scheduler status

 

Result

Your queue name is registered and the queue status changes from INACTIVE to ACTIVE. The queue is then processed.

 

 

 

 

 

End of Content Area