cancel
Showing results for 
Search instead for 
Did you mean: 

How to upload the Pdf Document?

Former Member
0 Kudos

Hi Gurus,

I have a requirement to design the screen using Java Webdynpro, where I have to give a option of uploading PDF form (which can be maximum of 10 mb size each) .it can be 2 or 3 files( maximum) per commit statement.

Also I need to have to validation to validate the document whether its a Pdf formatted or not? If not I have to raise the information Message saying that"Upload the PDF format file only".

and also need to design one more field in the (Java Webdynpro screen below the above described field) which need to have the history of the attachment with button to remove the selected attachments?

how to acheive this requirement Please advice

Thanks in Advance,

Dharani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

To upload a document in WD you can use the FileUpload UI element

http://help.sap.com/saphelp_nw2004s/helpdata/en/42/fdf9c528d45171e10000000a1553f7/content.htm

Tutorial for the same.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a...

To check if the document is PDF or not you might have to use Java API for that.

Thanks,

GLM

Former Member
0 Kudos

HI GLM,

Thanks for your useful input.

Now Once i uploaded the document into WD it has to go to SAP R/3 for every commit statement.

Is there any RFC available for that?

Thanks in Advance,

Dharani

Answers (0)