You can use transaction SMQR to register a destination.
Call transaction SMQR. On the initial screen, you see a list of all registered queue names.
● 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.
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.
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.
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:
● Register Without Activation: The queue is not triggered immediately; the scheduler is inactive.
● Deregisters the destination. The queue is no longer processed.
● Takes you to the qRFC Monitor. The monitor (transaction SMQ2) displays all qRFC entries and their destinations.
Deletes all selected queues
Updates the display
Displays the scheduler status
Your queue name is registered and the queue status changes from INACTIVE to ACTIVE. The queue is then processed.