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

FM: DOCUMENT_SHOW_DIRECT (Read-Only)

Former Member
0 Likes
1,106

Hi,

Could somebody please tell me how can I open a document (CV01N) original file in Read-only/Display mode? I am using function module DOCUMENT_SHOW_DIRECT but it opens the file with editing capability. I have looked for any display mode parameter but the FM does not have any. Is there any way to open the file in display only mode? are they any other FM that I can use for this? Thanks in advance!!

--Miguel A. Nieves

Hi,

Could somebody please tell me how can I open a document (CV01N) original file in Read-only/Display mode? I am using function module DOCUMENT_SHOW_DIRECT but it opens the file with editing capability. I have looked for any display mode parameter but the FM does not have any. Is there any way to open the file in display only mode? are they any other FM that I can use for this? Thanks in advance!!

--Miguel A. Nieves

4 REPLIES 4
Read only

Former Member
0 Likes
766

Instead of calling the function, you should try making a call transaction.

Best regards,

Esteban

Read only

0 Likes
766

Hi Esteban,

Thanks for your input. But what I need is to open a file in his respective application (like MS word for a word document) with editing features disabled. Is this posibble? I found CL_GUI_FRONTEND_SERVICES=>EXECUTE() which opens the file also but once again it does not have any parameter to disable editing. Thanks!!

--Miguel A. Nieves

Read only

0 Likes
766

Hi,

What I am thinking of was to upload a Read-Only file and then when using the FM it will not be editable.

Regards,

Ernesto

Read only

0 Likes
766

Hi,

That's a workaround that I might need to use. But I was wondering if there was a FM or class to manage this situation. Anyways, Thank you for your help!

--Miguel A. Nieves