cancel
Showing results for 
Search instead for 
Did you mean: 

user defined modules in File Adapters

venkatasap
Participant
0 Kudos

Hi SapAll.

i just want to know how and in what situations we will use user defined modules in the file communication channels under Module Tab.

can any body explain me briefly with a real time scenarios.

regards.

Varma.

Accepted Solutions (1)

Accepted Solutions (1)

former_member204873
Contributor
0 Kudos

hi,

user defined modules or custom adapter modules can be used to do few thing which can't be done by standard SAP modules, typical example in file adapter would be:

Reading/ Writing excel file through file adapter

https://wiki.sdn.sap.com/wiki/display/stage/AdapterModuleToReadExcelFilewithMultipleRowsandMultiple+Columns

Generating PDF file through file adapter

/people/shabarish.vijayakumar/blog/2009/05/17/trouble-writing-out-a-pdf-in-xipi

Adapter Module to stop processing of duplicate file (FTP Location)

/people/sandeep.jaiswal/blog/2008/05/13/adapter-module-to-stop-processing-of-duplicate-file-ftp-location

Doing PGP Encryption for the payload in receiver payload.

/people/dijesh.tanna/blog/2008/09/15/sap-pi-integrating-macafee-e-business-server-with-sap-pi-70-for-pgp-encryptiondecryption

Check this forum:

Thanks,

Mayank

venkatasap
Participant
0 Kudos

Hi Mayank.

i wnet through the link /people/sandeep.jaiswal/blog/2008/05/13/adapter-module-to-stop-processing-of-duplicate-file-ftp-location for Adapter Module to stop processing of duplicate file (FTP Location) but when i clicke don link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d7... for step by step Procedure of creation of adapter module.

can you just provide me another link to proceed.

regards.

Varma

former_member204873
Contributor
0 Kudos

If you are working on PI 7.1 you can use below links:

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

https://wiki.sdn.sap.com/wiki/display/XI/XIlibrariesfor+development

Adjust your PI 7.0 Adapter Modules for PI 7.1 in 15 minutes

/people/stefan.grube/blog/2008/12/11/adjust-your-pi-70-adapter-modules-for-pi-71-in-15-minutes

JavaDoc:

http://help.sap.com/javadocs/pi/SP3/xpi/index.html

venkatasap
Participant
0 Kudos

Hi Mayank Gupta.

here iam in a new xi project ,we using PI7.0 in our project.

i cont find netweaver developer studio for creating Adapter Modules,here i have only got SAP-PI Logon pad through which i can only work on Integration repository(Design),Integration Directory (Config).

can u just guide me on how i can get adapee modules with or without Netweaver developer studio.

regards.

Varma

venkatasap
Participant
0 Kudos

Hi Mayank.

here currently iam in a support role for Xi /PI 7.0,i cont find any netweaver developer studio in my company domain to create User Defined Adapter Modules adn Assing in Communication channles (Configuration).

so can you guide me on how to achieve this.

regards.

Varma

Former Member
0 Kudos

Hi,

You can also use Eclipse if you dont have NWDS. But I think you can't directly deploy it from Eclipse. You can use SDM for deployment.

former_member204873
Contributor

Answers (2)

Answers (2)

justin_santhanam
Active Contributor
0 Kudos

Varma,

We have used Custom modules for encryption and decryption purpose. There might be lot of other custom needs to, as specified by shabz above.

Raj.

Shabarish_Nair
Active Contributor
0 Kudos

there can be many situations. Some common ones are;

1. you want to perform a custom file validation on the incoming file and report it

2. you want to add an extra tag or message to the outgoing file

well the above are some samples... the decision is basically based on what your scenario demands and if it cannot be handled by the standard file adapter capabilities.

venkatasap
Participant
0 Kudos

Hi Vijay.

Thanks for your response.

but what my doubt is cont we get the same things that you explained earlier with UDF(UserDefinedFunctions) in message mapping and also can you give me some examples on the above mentioned scenarios.

will be waitng for yourresponse.

regards.

Varma

Shabarish_Nair
Active Contributor
0 Kudos

its a choice of design.

for example, in case of validation, i can choose to either do it in the mapping or in a module. Now if i choose to avoid the mapping and directly do it in a module, i might be able to achieve a better performance since i can avoid the mapping stage and maybe bypass it as part of my design.

another example is the creation of excel or PDF files or reading excel or PDF files.

These are not a standard feature and hence will need a custom module. As somebody mentioned earlier, another requirement would be to do PGP encryption or Decryption, again not a standard feature