on 11-15-2007 12:57 PM
hi,
The wheever user view any docs using cv02n/cv03n the documetns are temporaly stored in user local temp folder.
as the documetns are still there after log off from SAP.
this way imp files are visible to other user.
is there any way to delete the file when we logoff from sap
Shiv
Hello,
the easiest way is to delete the content from temp-folder by Windows customizing - clear temp folder when you log-off.
kind regards,
carl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shiv,
if you are using ECL Viewer or Office Integration for displaying originals in CV02N/CV03N you can use the OLE2 flag which is mentioned in SAP note 741388.
If you are using an external Viewer (%AUTO%) the OLE2 flag is not working.
As possible solution I can only offer you the following possibility.
Some time ago we developed a special solution for another customer
with the help of an implementation of BADI DOCUMENT_FILES01.
There exists the BAdI method DOCUMENT_FILES01~AFTER_START_APPL .
You can have an implementation like this, which might help to solve
your problem. This deletes the file even when the user is viewing
the file. So no copy will be left on the PC of the user.
method IF_EX_DOCUMENT_FILES01~AFTER_START_APPL .
DATA :
l_str_file TYPE string,
l_i_retval TYPE i.
l_str_file = TARGET_FILE-FILENAME.
CALL METHOD cl_gui_frontend_services=>file_delete
EXPORTING
filename = l_str_file
CHANGING
rc = l_i_retval
EXCEPTIONS
file_delete_failed = 1
cntl_error = 2
error_no_gui = 3
file_not_found = 4
access_denied = 5
unknown_error = 6
not_supported_by_gui = 7
wrong_parameter = 8.
endmethod.
I hope this solution may help to solve this issue.
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.