Show TOC Start of Content Area

Procedure documentation Importing Adaptive RFC Models (deprecated)  Locate the document in its SAP Library structure

If you want to reuse existing business functions in the Web Dynpro application, you need to create an Adaptive RFC model using the Web Dynpro model tools. The tools provide a wizard for the automatic generation of RFC adapter classes from Business APIs (BAPIs) and function modules delivered by SAP or developed by yourself. The generated classes are conventional Java classes. The generation itself is triggered and executed by the integrated tool SAPEnterprise Connector. The defined model is displayed at logical level in the Web Dynpro Explorer view, together with the model classes and properties. Generated classes can be displayed in the Navigator view. As final step, you will use the proxies for data retrieval in your Web Dynpro application.

Prerequisites

      To be able to log on to the SAP system, this system must be entered in the SAP logon group.

      You have all the authorizations required for accessing an SAP backend system, including single sign-on (SSO). For reusing BAPIs and remote function modules, user needs RFC authorization for function group SYST.

      Before starting the model import process, you must have already created a Web Dynpro project.

      You have started the model import wizard via the context menu entry Create Model on the Models node in the relevant Web Dynpro component.

Procedure

       1.      In the model wizard, choose Adaptive RFC Model.

       2.      Specify where the generated RFC model instances and RFC metadata are to be stored. For the model instances, select WD_MODELDATA_DEST; for the RFC metadata, choose the other drop down list entry WD_RFC_METADATA_DEST.

       3.      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 would enter a new name for each model, default name is the same as for the model itself. The default package name for the dictionary types is <myModelPackage>.types.

       4.      Enter your user data for the SAP system that contains the BAPIs from which you want to generate the proxies. By doing this, you log on to the SAP system online.

       5.      Select the BAPIs for which you want to create Java proxies in a generation process.

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

More Information

Invalidating Metadata Caches

End of Content Area