cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing two PDf documents and merging them

former_member187658
Participant
0 Kudos

Hi,

I have and application where on click of a button, 2 pdfs are read from the server and merged into one pdf document. My pdf documents are placed in a folder in irj folder on server. For this i referred to the blog:

/people/nagamohan.devisetty/blog/2008/05/05/merging-pdf-files-using-java-apis

As per this blog, i created a java file.But I wrote the code written in the main method of this java file in the OnAction of the web dynpro view. So my java file just contains concat () for merging the pdfs. And from this view itself i created the object of the java file and called the concat (). But when i execute this application i get the error message stating "The system cannot find the path specified".

Can anyone please help in this regard.

Thanks & regards,

Anupreet

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Was your previous application already web dynpro? Or did you include your concat fonctuinnality to a web dynpro application?

From WD, if you want to write files, they are written by default in the server folder \usr\sap\J2E\JC00\j2ee\cluster\server0\persistent\developmentserver

Check if you have rights to write out of this folder, in the portal.

Yann