Show TOC Start of Content Area

Procedure documentation Importing RFC Modules  Locate the document in its SAP Library structure

Use

You can import Remote Function Call (RFC) modules from the ABAP back-end system and use them in your project.

Procedure

Configuring Connectivity to Back-End System

Before importing the RFC, you have to configure the connection to the back-end system.

...

       1.      From the menu path, choose Windows Preferences Destination Configurations R/3 Configuration.

       2.      Enter the relevant logon information. For more information, see Creating RFC Destinations.

Importing RFC Modules using Search Console

You can directly drag and drop the RFC you need using the Search Console. For more information about the search capabilities you can use in the Search Console, see Searching for RFC Function Modules.

Importing RFC Modules in Composed Service or Business Process

...

       1.      In the Project Explorer view, navigate to the Service Interfaces folder. Open the context menu and choose Import RFC.

       2.      In the dialog that appears, specify the search options, and choose Search.

To retrieve a list of all available functions, leave the Function Name and Function Group fields empty, and directly choose Search pushbutton.

       3.      Select the RFC modules that you want to import. Choose Finish.

Note

To see the working set with the modules you have already chosen, choose This graphic is explained in the accompanying text with the quick info text Show Working Set.

To switch between flat and application component hierarchy views, choose either This graphic is explained in the accompanying text with the quick info text Show Flat List or This graphic is explained in the accompanying text with the quick info text Show Component Hierarchy.

Importing RFC Modules in CAF Projects

For CAF project, you can also use the Search Console, or directly trigger the import fro the context menu. In addition, for CAF projects, you can define different name for the destination package of the imported RFC module, or to define RFC destination names to be used at runtime. To do that:

...

       1.      In the Project Explorer view of your CAF project, navigate to the metadata development component (DC). Note that you can import RFCs only in the external package and its subpackages.

       2.      Open the context menu and choose Import RFC.

       3.      In the dialog that appears, specify the search options, and choose Search pushbutton.

       4.      Select the RFC modules that you want to import. Choose Next.

       5.      Select new destination package. To do that, choose Browse… pushbutton.

Note

You reuse types you have already imported into the existing packages.

       6.      Enter an RFC destination name. To execute the RFC, you need to create and configure the RFC destination at runtime. For more information, see Maintaining RFC Destinations.

 

End of Content Area