Start of Content Area

Procedure documentation Importing an Adaptive RFC Model  Locate the document in its SAP Library structure

Prerequisites

You have already created a Web Dynpro project and a Web Dynpro component.

Procedure

       1.      Choose the context menu entry This graphic is explained in the accompanying textCreate Model on the This graphic is explained in the accompanying textModels node of the relevant Web Dynpro component.

       2.      In the model wizard, choose Import Adaptive RFC Model followed by Next.

       3.      Make the required entries – for example, to specify where the generated RFC model instances and RFC metadata are to be stored. You do not have to use an existing model package, as you can create a new one in the wizard. For the logical dictionary, you generally enter a new name for each model. The default package name for the dictionary types is <myModelPackage>.types.

       4.      In the next wizard window, you enter your user data for the SAP System that contains the BAPIs from which you want to generate the proxies. You use it to log on to the SAP System online.

Note

To be able to log on to the SAP System, it must be entered in the logon group.

       5.      The tool SAP Enterprise Connector is started. Select the BAPIs for which you want to create Java proxies in a generation process. Then choose Next to proceed to the next wizard window.

       6.      The import log provides information about the generated model classes, properties, and model relations. Choose Finish to start the generation process.

Result

The RFC model, including the model classes and properties, is displayed at logical level in the Web Dynpro Explorer view. You can display the generated classes in the Navigator view.

Additional Information

As your next step, you can use the proxies for the data retrieval in your Web Dynpro application. Proceed as described under Context Structure.

 

End of Content Area