Show TOC Start of Content Area

Procedure documentationImporting Adaptive Remote Function Call (RFC 2 ) Models  Locate the document in its SAP Library structure

Prerequisites

·        You have entered the required SAP systems into the SAP logon group.

·        You have obtained authorization to access the SAP systems.

·        You have obtained authorization for the function group SYST, to reuse BAPIs and remote function modules.

·        You have created a Web Dynpro DC.

Procedure

...

       1.      In the Web Dynpro Explorer, click the required model with the secondary mouse button and choose Create Model.

       2.      In the New Model wizard, choose Adaptive RFC 2 Model.

       3.      Choose Next

       4.      Ensure that the destination details are as explained in the following table.

Destination details

Field Name

Description

Value

Model Name

Name of the model

A meaningful alphanumeric text

Model Package

Name of the folder in which you want to store the model class files

The name of an existing package that is empty

Default logical system name for model instances

System used to store the generated RFC model instances

The default value is WD_MODELDATA_DEST

Default logical system name for RFC metadata

System used to store the RFC metadata

The default value is WD_RFC_METADATA_DEST

Logical Dictionary

Name of the dictionary in which you want to store the Simple types and Structure types for the model

<model name>

Dictionary Types Package

Name of the package in which you want to store the Simple types and Structure types for the model

<model package>.types

       5.      To add SAP backend information, Choose Configure R/3 Destination.

Enter the required data and choose OK.

More Information: Creating RFC Destinations

       6.      To select the required RFC modules, perform the following steps.

                            a.      Enter a function name or a wildcard character “*”

                            b.      Enter a function group or a wildcard character “*”

                            c.      Choose Search

                            d.      Select the desired RFC modules

       7.      Choose Next

       8.      Optional: Edit the names of the model classes in the Editable Model Class Names column

       9.      Choose Next

The Import log screen appears.

   10.      Choose Finish

   11.      In the Web Dynpro Explorer, click the required model with the secondary mouse button and choose Reimport Model.

Note

    To preview the changes in a model structure due to reimport, choose the Reimport Preview using the right mouse button on the model.

    Use the information provided in the Reimport Preview wizard such as, addition, deletion or modifications in model class relations or properties and decide if you wish to proceed with the model reimport.

                            a.      In the Reimport Model wizard, view the imported RFCs in the Working Set area.

                            b.      Repeat steps 7 to 10.

More Information

Migrating Adaptive RFC Model to Adaptive RFC 2 Model

Invalidating Metadata Caches

End of Content Area