Online Tutorials & Training Materials | STechies.com
Register Login

bgRFC - Create a bgRFC destination for the outbound queue

|| 0

bgRFC - Create a bgRFC destination for the outbound queue
Stechies

The bgRFC is a Background Remote Function Call which offers the developers an API that allows applications to transfer and record the data. The bgRFC organizes the different calls using queues.

You must create a Background Remote Function Call (bgRFC) destination for communications in an outbound queue or an inbound queue respectively. The most important tool in terms of bgRFC administration is the bgRFC monitor. The monitor allows you to display and edit the individual queues and units.

To ensure optimum performance of bgRFC communication, various settings need to be made. You can perform all the relevant steps in transaction SBGRFCCONF.

To perform bgRFC configuration tasks, you need authorizations from authorization object S_BGRFC.

Steps to create a bgRFC destination for the outbound queue, proceed as follows:

  • In transaction SPRO open the SAP Reference IMG and navigate to: SAP NetWeaver ->Gateway-> Configuration ->Connection Settings SAP NetWeaver Gateway to Consumer ->Create RFC Destination for Outbound Queues then click on the Activity icon.
  • Choose Create.
  • In RFC Destination, enter IWFND_BGRFC_DEST(enter the name of the RFC destination).
  • In Connection Type, enter 3(Connection to ABAP System).
  • In Description 1, enter RFC Destination for Outbound Queues.
  • Choose Enter and then select the Special Options tab.
  • In the Select Transfer Protocol section, select the option Classic with bgRFC from the list and save your settings.
  • Accept the warning message with Yes.
  • Save the RFC destination and choose Connection Test to test the connection.

Information about the connection type displays.

Steps to delete individual queues or units manually

If you regularly delete processed units, you can use delete program that runs asynchronously in the background. Using transaction SBGRFCCONF (in the System-Specific Settings area), you can define the time intervals at which the units are to be selected for deletion. You can also find this transaction in the IMG under SPRO -> SAP NetWeaver -> Application Server -> RFC -> bgRFC.