cancel
Showing results for 
Search instead for 
Did you mean: 

Upload & Read document - WebDynpro Java to/from KM

Former Member
0 Kudos

Hi,

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.

Regards,

NS

Accepted Solutions (0)

Answers (1)

Answers (1)

Stefan-EA
Contributor
0 Kudos

If you dont find specific examples for NetWeaver 7.3, there are plenty of examples on how to achieve this for NetWeaver 7.0. The concepts should be more or less the same, however, you will have to adapt them for NetWeaver 7.3. Check out the blogs, wiki, help pages and the forums.

Former Member
0 Kudos

Hi all,

I could able to upoload the document into KM.

But I could NOT find any useful document for downloading the file from KM.

Kindly share me any useful link for downloading the document from KM.