Siebel Connector for SAP R/3 > Customizing Integrations > Building the Interfaces >
Creating SAP Integration Objects
Depending upon the SAP interface you have decided to use, you need to capture either a BAPI/RFC or IDOC from SAP and create an Integration Object in the Siebel application that represents the external object.
NOTE: Integration Objects must be compiled into the working copy of the .srf file after they are created with the Integration Object Wizard.
To create IDOC integration objects
- Start Siebel Tools.
- Make sure that you have a project checked out into which you can add the new integration object.
- Click New or File > New Object.
The New Object Wizards window opens.
- Click the EAI tab.
- Select the Integration Object icon and click OK.
The Integration Object Builder window opens.
- In the top drop-down list, choose the project into which you want to add the integration object.
- In the second drop-down list, choose the name of the wizard used to create the type of integration object you want.
In this case, choose EAI SAP IDOC Adapter Wizard.
- Click Next.
The second page of the wizard appears.
- From the drop-down list, choose an SAP Object.
A default name for the integration object appears in the name field.
- Edit the name to customize it for your use.
- Click Next.
Siebel Tools prompts you to continue.
- Click OK.
Siebel Tools connects to SAP and retrieves the metadata for the SAP object requested.
NOTE: For this connection to take place, you must have added connection information to your
saprfc.ini file and to your
tools.cfg file as described in Modifying SAP Configuration Files and Modifying Siebel Configuration Files.
The wizard displays a hierarchical display of the structure of the IDOC you have captured from SAP. The following figure shows a hierarchical list (tree list) starting with IDOC Segments and message names under it.
- If you do not intend to use a component, clear its check box. Components are captured only if they are not disabled at this point. Capture all components and disable those that you do not use by setting the Inactive flag for the component in the integration object.
- Click Next and click Finish to create the integration object in the Siebel repository.
- To view the integration object, select the Integration Objects in the Navigation window in Siebel Tools.
NOTE: For more information on the structure of IDOC Integration Objects and configuration of the IDOC Integration Object Wizard, read IDOC Interfaces.