Powered By

Free XML Skins for Blogger

Powered by Blogger

Wednesday, August 6, 2008

Importing IDocs and RFCs in SAP XI

Use

By importing interfaces you make the signature and the technical name of the interface known to the Integration Builder, thus easing further design and configuration:

· You can use the imported message schema as an output or input message in message interfaces. This enables you to generate a proxy as a counterpart to an imported interface (see also: Communication Parties (Case Examples)).

· In mapping you can import the parameters and structures for the imported interface directly to the mapping editor for the source or target structure.

· During the design and configuration phase you must constantly reference the interfaces you have used. If the interface has been imported, you can avoid typing errors by using the input help.

You do not have to import an interface to use it in SAP Exchange Infrastructure; however, it eases the entire design and configuration process. You can import RFCs (and thus BAPIs as well) and IDocs.

Prerequisites

The SAP system from which you want to import the RFCs or IDocs must contain function modules for calling metadata. You can import RFCs and IDocs from SAP Release 4.0 and higher. The table below gives an overview of the required support packages:

Support Packages Required for IDoc Imports

Release

Minimum Support Package Requirement

40B

SAPKH40B48

45B

SAPKH45B26

46A

SAPKB46A20

46B

SAPKB46B12

46C

SAPKB46C05

Note

If you experience problems with the IDoc or RFC import, see SAP Notes 677732 (authorizations), 672745 (missing function modules), 212011 (access to IDoc metadata), and 718320.

The import of interfaces must be permitted for the software component version for which you want to import interfaces from an SAP system. To check this, call the context menu for the software component version concerned and choose Open. The Interfaces from SAP Systems Permitted checkbox must be selected on the Definition tab page, and the connection data for the SAP system concerned must be maintained (see also: Displaying/Editing a Software Component Version). You must also log on with a user that has the authorizations required to import interfaces. For a SAP Web Application Server Release 6.20, the following authorizations are required:

Authorizations Required to Import from Systems Based On SAP Web Application Server 6.20

Authorization Object: S_RFC

Authorization Field

Authorization Required

ACTVT

16 (Execute)

RFC_NAME

ATSV, EDIMEXT, RFC1, RFC2, SDIFRUNTIME, SDNT, SDDO, SDOC, SDTB, SEF1,SG00, SIFD, SIMG, SRFC, SUNI, SYST, SYSU

RFC_TYPE

FUGR (Function group)

Authorization Object: S_DEVELOP

Authorization Field

Authorization Required

ACTVT

Display

DEVCLASS

*

OBJNAME

*

OBJTYPE

*

P_GROUP

*

Note

In systems of release <>

Activities

You are on the design maintenance screen in the Integration Builder.

1. Expand the subnodes for the software component version for which you want to import interfaces.

2. Call the context menu for the Imported Objects subnode of this software component version and choose Import of SAP Objects.

3. The first step of the import wizard is Logon. Enter the user that you want to use to import the interfaces from the SAP system. To display the connection data for the SAP system, choose Display Connection Data (This graphic is explained in the accompanying text). You can also overwrite the connection data temporarily in the expanded area.

4. The second step of the import wizard is Choose Objects. Select the RFCs and IDocs that you want to import. After approximately one minute, the import wizard displays the objects on the Objects tab page (sorted alphabetically) and on the Component Hierarchy tab page (sorted by application components).

¡ The functions of the navigation area correspond to those of the navigation tree in the Integration Builder (see: Navigation Area).

¡ To check your selection, use the functions Display Selected Objects in List (This graphic is explained in the accompanying text) and Close List of Selected Objects (This graphic is explained in the accompanying text).

5. In the third step, Execute Import, you can delete RFCs or IDocs from the list of selected objects. To execute the import, choose Finish.

Result

The selected interfaces are imported from the SAP system and are then available in your software component version under Imported Objects. All imported RFCs and IDocs use the same repository namespace.

You cannot change the interface description of the IDocs and RFCs in the Integration Builder. You can use the following parts in the Integration Builder:

Interface Description or Part Thereof

Use

IDoc or RFC interface

In interface mappings at design time or in interface determinations at configuration time

IDoc message, RFC message (request, response, or fault)

Source or target message in message mappings

IDoc message, RFC message (request or response)

Output or input message in message interfaces

Complex type (RFC or IDoc)

Source or target data type in mapping templates

No comments:

Archives