cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Java Module and use them in SAP PI?

Former Member
0 Kudos

Hi Experts,

I want to know how do we develop Java Modules for various requirements and use them in SAP PI's Integration Directory Module tab of the channel.

Also for using them in Module tab where and how we deploy them in the server?

For Example:

We currently have a requirement to pick up files from SFTP server. The data files needs to be picked up based on the availability of a trigger file having the same prefix as the data files.

i.e. if we have trigger file 1234trigger.txt then only the data files 1234data1.txt,1234data2.txt will be picked up from the SFTP server.

I am completely unaware of Java Module and its creation and usage. Please help me.

Thanks,

Shaibayan

Accepted Solutions (0)

Answers (5)

Answers (5)

sugata_bagchi2
Active Contributor
0 Kudos

Hi Shaibayan,

There are lot of docs available in sdn for module developments. Request you to please check out those.

Apart from this, the most important thing will be required is  the JAVA API which is SAP specific and known as SAP Java Docs-

You can get it from here-

http://help.sap.com/javadocs/NW73EHP1/SPS01/PI/index.html

You also need to check on the Jar files based on the XI version you are using.
For this please refer this --

http://wiki.sdn.sap.com/wiki/display/XI/XI+libraries+for+development

Thanks

Sugata B Majumder

smavachee
Active Contributor
0 Kudos

Adding few cents to above replies..

Look for SAP Note # 819761, it may help you.

Hope it helps.!

Regards,

Sunil

Former Member
0 Kudos

Hi,

>>I want to know how do we develop Java Modules for various requirements and use them in SAP PI's Integration Directory Module tab of the channel.

First develop a normal project and code as per functionality .Make sure it is working fine as per ur requirement .

For module development follow the below  doc blindly.You need to have NWDS s/w .

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e674...

For module sap had given its own api to develop .say for reading ,writing ,trace  etc.You can simply reuse this piece of code from any example of modules.

Put the above developed core logic in module .

You can deploy the EAR file from NWDS to PI server.It is given in above link.

Regards

Venkat

former_member201264
Active Contributor
iaki_vila
Active Contributor
0 Kudos