Show TOC

Procedure documentationDeveloping a Java Adapter for SAP NetWeaver PI Locate this document in the navigation structure

 

SAP NetWeaver PI installation delivers a sample adapter. You can use this adapter as a template for developing your own adapters. Find the tasks required to change the sample adapter to your own adapter with a different adapter name and type, package name, deployment/JNDI name, trace and log file location, and configuration parameters. The step by step procedure shows you how you can use the com.sap.aii.adapter.sample.ra.rar adapter’s template to develop the YOURADAPTER adapter.

Note Note

This description gives you an overview of the required tasks.

For more information about detailed instructions for adapter and module development, see: Developing Adapters and Modules

End of the note.

Procedure

  1. Download the com.sap.aii.adapter.sample.ra.rar file.

  2. Provide a different adapter name and type, package name, JNDI name, trace and log file locations, and the metadata describing the configuration parameters for the sample_ra adapter’s Java program.

    More information: Modifying the Java and Metadata Files

  3. Change the configuration files used to build the RAR file.

    More information: Modifying the Configuration Files for RAR

  4. Include the Java code for the adapter.

  5. Create the RAR file and deploy it to the AS Java.

    More information: Creating and Deploying the Adapter

  6. Test the adapter. For testing you need to create a communication component, sender and receiver communication channels, and an Integrated Configuration object.

    More information: Testing Your Adapter