cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in reading PDF file

Former Member
0 Kudos

Hi all.

Iam Ajay, here my requirement is to read the PDF file via XI. i go through SDn blog i.e.,

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2089. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] There i found a java program for Module Processor.

  • First i need to know where to write the Module prog.

*Even after i downloaded PDFBox-0.7.1 , Netweaver couldn't identify the class name ModuleData,ModuleContext,XMLPayload and message.getDocument.

please give solution

Thank u

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Ajay,

If you are finding difficulty in Adapter Modules you can use Conversion Agents, its a userfriendly tool to convert unstructured data to XML fomrat.

http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/frameset.htm

/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield

Regards,

Raks

Former Member
0 Kudos

Hi Ajay,

If you want your file adapter to read contents from a PDF file, check out the folloing blog,

<a href="/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter File Adapter with PDF</a>

If you want your file adapter to generate its output into a PDF file, then check the following blog,

<a href="/people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter File Adapter With PDF</a>

Sriram's blog on FILE to HTTP scenario might of be help to you too. It also deals with Syn / Async Bridge which can be ignored.

<a href="/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi to HTTP</a>

Regards,

Abhy

Former Member
0 Kudos

.

Former Member
0 Kudos

Hi Ajay,

Please take a look at these similar threads.

cheers,

Prashanth

Former Member
0 Kudos

Hi Ajay,

After downloading necessary Jar files you need to refer them in Netweaver dev stdio.

Create a project -> Right click -> properties -> Java Build path -> libraries -> Add external jars -> Select your Jar file from PC.

In order to develop Adapter modules you need the following Jar files for using ModuleData,ModuleContext,XMLPayload and Message.

1.aii_af_cci.jar

2.aii_af_cpa.jar

3.aii_af_mp.jar

4.aii_af_ms_api.jar

5.aii_af_ms_spi.jar

6.aii_af_svc.jar

7.aii_af_trace.jar

Regards,

Ananth

Former Member
0 Kudos

Hi ajay,

You have to implement this through the Netweaver developer studio....here is an sample example....Follow this guide....for ur scenario

https://websmp201.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf

sekhar