Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

opening attachments

Former Member
0 Likes
412

Dear Friends,

I am facing problem in opening attachments stored in a share drive. My requirement goes like this..

I have a screen, which shows the invoice data, but supporting documents for this invoice will be stored in a common share drive(Not SAP Application server).

I can identify the file with its unique naming convention.

Now i have to give a button which has to open that file which is stored in other share drive

File can be .JPEG or .PDF

My problem is how do i open that file on click of a button from SAP screen?

Any help or clue on this is highly appreciated and rewarded.

Regards,

Simha

3 REPLIES 3
Read only

Former Member
0 Likes
384

Pls refer this thread :

Best regards,

Prashant

Read only

0 Likes
384

Hi Prashant,

thanks for the info.

I went thru the link and got some insight of what you meant.

I want to use CL_GUI_FRONTEND_SERVICES=>EXECUTE

but my doubt is can i open files which are stored in some share drive.

my intention is to have a report, where i will be providing the hyperlinks of attachments for each posted invoice.

so when user clicks on the hyperlink, it has to open the attachment, which is present in other share drive.

attachment can be .PDF/ . jpeg.

can i achieve this using CL_GUI_FRONTEND_SERVICES=>EXECUTE???

thanks in advance,

Simha

Read only

Former Member
0 Likes
384

Hi Simha,

once try with this fm

F4_FILENAME.

Thanks,

S.Gangi reddy