Skip to Content
Former Member
Oct 04, 2012 at 08:42 AM

Upload & Read document - WebDynpro Java to/from KM



SAP NetWeaver 7.3

I have a requirement wherein I have to store a document/image from WebDynpro Java into KM repository & read that document/image back from KM to WebDynpro Java DC.

I have below in My WebDynpro Development component:

attribute uploadResource - type Resource & mapped to FileUpload UI element (to upload the attchment)

attribute downloadResource - type Resource & mapped to FileDownload UI element (to download the attachment)

In my KM:

a CM repository - LeaveRequestAttachments reository (wherein the attache documents to be store)

Kindly let me know the below

1) let me know any external jar files to be added and any dependent SC to be add.

2) How to store the attachment (which is in uploadResource attribute) into LeaveRequestAttachments CM repository

3) How to read the document/image from Repository into the downloadResource attribute.

Your support will be highly appricated.