cancel
Showing results for 
Search instead for 
Did you mean: 

Local file in webdynpro

Former Member
0 Kudos

Hi All,

I have a RFC which copies the list of attachments on presentation server (local desktop from where the application is called).

I want to open this attachment in webdynpro. Could you guide me how to achieve this?

These can't be copied under mimes folder because those attachments are generated at runtime. Is there a way to copy these dynamic generated attachments to the mimes folder and then open them up in some of the UI element.

OR

Is there a UI element that directly takes the file system path to open up the documents?

Expecting quick help from sdn.

Regards,

Murtuza

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please have a look at the below thread.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi All,

Thank you for your time and help.

My requirement was met using this [blog|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5526] [original link is broken] [original link is broken] [original link is broken];

sanyev
Active Participant
0 Kudos

Hi Murtuza,

Please do through this document on uploading and downloading files in Webdynpro. [Tutorial|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f]. Hope this helps.

Regards,

Sanyev

Former Member
0 Kudos

Hi,

why do you use RFC to get files on the desktop ?

Thanks.

Former Member
0 Kudos

Hi,

I do not know the exact way, but a workaround canbe if you can use fileupload Uielement to load the file at the server and then use the standard io package in java to read that file.

Regards.

Rajat

nikhil_bose
Active Contributor
0 Kudos

hi Murtuza,

If those files are got as byte[], we can make IWDResource and can be opened in Dynpro.

[Plz go through similar thread|]. The method OnactionClick() is used to open a cached file.

Nikhil