02-19-2019 6:13 PM - edited 02-04-2024 5:06 AM
I am using function module 'ARCHIVOBJECT_DISPLAY' to display PDF document stored at Arhivelink repositories.
Document is getting diplayed in Adobe Acrobat Reader which has Save button enabled. How to suppress Save functions so that confidential document is not saved locally by front end users. Will using SAPGUI ArchiveLink Viewer can help to overcome this issue?
I tried uploading protected PDF and retrieved the same from function module 'ARCHIVOBJECT_DISPLAY', surprizingly Save button got disappeared. How can we set document properties while storing PDF. I am generating SD invoice smartform output PDF at Arhivelink repositories.
CALL FUNCTION 'ARCHIVOBJECT_DISPLAY'
EXPORTING
objecttype = 'ZSDINVDIGI'
ar_object = 'ZGOS_INV1'
multiple = 'X'
IMPORTING
returncode = returncode
TABLES
dispdocs = lt_dispdocs
EXCEPTIONS
error_archiv = 1
error_communicationtable = 2
error_kernel = 3
OTHERS = 4.
Hi Stefan,
Good to see your reply. I am willing to avoid Acrobat Reader subscription. We are storing our documents on IBM Filenet content repository. I am willing to use document viewer provided by IBM filenet to view documents from SAP. For that I have done required changes in OAA3.
Under defined protocol >> 'Display Stored document' >Choose the document type 'PDF' >choose the communication type as 'ARCHIVELNK' >
This works fine when I view document via OAER or OAAD. But when I retrieve document via CALL FUNCTION 'ARCHIVOBJECT_DISPLAY' I am getting error "HTTP error: 505 HTTP Version Not Supported" If you can advise on the same will be good.
Gopal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gopal,
the FM ArchivObject_Display uses in Microsoft Windows Environments ShellExecute with the verb Open to launch the Adobe Acrobat Reader application. But before the PDF document was saved locally on the frontend server, via the data provider, to grant Acrobat access to it. In my opinion you have no possibility to disable any control elements inside Acrobat Reader application from SAP on this way. You can restrict the possibilities by the PDF document itself, but it seems not possible to do that with Acrobat Reader. Please look at a discussion about this requirement at Adobe forum here.
Best regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.