Adding Operations Using RFC Function Module

This option allows you to provide the destination and name of the RFC consumer.

Context

You need to add operations as the RFC consumer proxy object uses operations at runtime to call remote function modules. You need to add at least one operation before activating and using the RFC consumer proxy object.

Procedure
  1. In Project Explorer, select a RFC Consumer.
  2. Double-click to open the proxy editor window.
  3. Click Add Operation.

    The Add RFC Operation window appears.

  4. Select RFC Function Module.
  5. Click Next.
  6. In the RFC Function Module wizard, provide a RFC Destination and a RFC Name.
  7. Click Finish.

    The operation appears in a tree format under the RFC consumer proxy object.

  8. On the top right corner of the proxy editor window, select (Activate ABAP Object) to activate the RFC consumer object.