cancel
Showing results for 
Search instead for 
Did you mean: 

Module Adapter XI

iprieto
Contributor
0 Kudos

Hi Guys,

I need yours help for creating a Module Adapter. In my scenario I have to implement a Java Module that receive a Microsoft Word document. I must to convert this file en Base64 format and push in the principalData.

The first problem that I saw is when I have captured the file xx.doc in inputModuleData.getPrincipalData is null.

The suplementary data contains the fileName and FileCompleted parameters with the fileName and FileCompleted have the value 1.

How can I get the binary data from a java object?

I don't know any SAP site where I can see the API for Module Adapter.

Thanks

Ivá

Accepted Solutions (1)

Accepted Solutions (1)

former_member185881
Active Participant
0 Kudos

Answers (4)

Answers (4)

iprieto
Contributor
0 Kudos

Thanks for your help. It has been very helpful.

Former Member
0 Kudos

Hi,

Check some links on Module adapter.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c...

http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/12/f9bb2fe604a94cbcb4c50dc510b799/content.htm

/people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further

/people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter

/people/john.ta2/blog/2006/12/20/to-create-or-not-to-create-an-sap-xi-adapter

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac2...

[original link is broken]

/people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter

/people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi

PPT: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e21106cc-0c01-0010-db95-dbfc0ffd...

How to Guide: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b...

Regards,

Phani

Former Member
0 Kudos

Hi Carlos !

Check this out:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00838345-708c-2a10-1199-9514c0b0...

/people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules

/people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further

/people/francesco.bersani/blog/2007/03/27/rename-attachment-adapter-module

/people/william.li/blog/2007/09/19/teched-2007-epi351--developing-user-enhancement-modules-in-the-adapter-engine

/people/ganesh.karicharla2/blog/2008/02/20/adapter-module-development-module-configuration

/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter

Regards,

Matias.

Former Member
0 Kudos

To find API, download XI ADAPTER FRAMEWORK CORE package in swdc section of sap maketplace.