Skip to Content
Nov 03, 2017 at 01:10 PM

SAP PI module development (7.5)

1419 Views Last edit Nov 03, 2017 at 02:08 PM 2 rev

Hello, experts,

I would like to get into the development of SAP PI modules. My first goal is to develop a generic module that writes "Hello world!" to the message log. I've used the following documentation as starting point:

SAP Help Portal - NW 7.5 - PI

In the example sources the creation of an adapter as well as an module is beeing presented. I was wondering whether is possible to create a generic module without the need to develop an entire adapter.

If I'm not misstaken the code for this approach would be as follows:




public class SayHelloWorld implements Module {
	private static final Location loc = Location.getLocation(SayHelloWorld.class);

	public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException {

		try {
			loc.infoT("Hello World!");
		} finally {
		return inputModuleData;


If this approach would be correct I'd like to package my sources and deploy them to our local SAP PO system. But due the fact that I could not find any possibility to upload my sources using the ESR / ID tools I was wondering whether I need to connect my NWDS to the PO system and run some kind of deployment process. I thought it would be possible to upload an standalone RAR. Can anyone provide me information on how to deploy the module to the server and use it within my integration scenario?