Application Development 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: 

Attachment via OOP

Former Member
0 Kudos

Hi all,

Thanking you in advance,

Does any one know please help me,

I want attach a file from the local system into one of the field in Customised screen and double clicking on the file path it has to open that particular file in a sepatate window.

Please provide me a sample code that will be a great ,

Thanking you,

Shiva prasad.

2 REPLIES 2

Former Member
0 Kudos

This guide may help you:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an easy reference for ole automation.pdf

0 Kudos

Hi Chiva

If you can do OLE calls you can refer to the tutorial Charles has mentioned.

Or, you can store the path info and use the static method<b>CL_GUI_FONTEND_SERVICES=>EXECUTE</b> or the function module<b>GUI_EXECUTE</b> (the older version WS_EXECUTE is obsolete) to call the relevant program to open the file.

Hope this helps

*--Serdar

ssimsekler@yahoo.com