on 07-06-2010 12:06 PM
HI,
I am facing this issue wherein a user is getting this error "File could not be accessed- Message 26136" when trying to open the
original from SAPGUI.
Also the lock is open in the SAPGUI but the DIR Change History (Environment--> Display changes)doesnt have any entry for
the checkout of the DIR.
I have gone through all the threads in SDN for this error but none of it seems to resolve our issue.
Any help is appreciated.
Thanks& Regards
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christoph,
I referred the article on Wiki
http://wiki.sdn.sap.com/wiki/display/PLM/26136-Filecouldnotbe+accessed.
After debugging I realise that its failing in this code only but there are no exceptions occurring and the value of lf_exist is INITIAL only
IF pf_check_file = 'X'.
PERFORM doc_file_existence_check
USING space space
pf_file
CHANGING lf_exist.
IF lf_exist IS INITIAL.
MESSAGE e136 WITH pf_file RAISING file_not_found.
ENDIF.
The below code is returning INITIAL value for lf_rc but there are no exceptions thrown so I conclude that the parameter values in the DC20 should be fine.I have also checked the DC20 customisings and we are using "\" only .
Main Program SAPLCV120
Source code of LCV120F29
FORM DOC_FILE_EXISTENCE_CHECK
Check if file exists
lf_file = pf_file.
CALL METHOD cl_gui_frontend_services=>file_exist
EXPORTING: file = lf_file
RECEIVING: result = lf_rc
EXCEPTIONS: cntl_error = 1
error_no_gui = 2
wrong_parameter = 3
not_supported_by_gui = 4
OTHERS = 5.
IF lf_rc = abap_true.
Also its not getting into below code at all ... it throws the error b4 this only ... i placed a breakpoint here and it didn't get into it so I guess we cannot say anything abt SAPHTTP & SAPCMS connectins... NOT SURE...
Main Program SAPLSCMS_HTTP
Sourcecode of LSCMS_HTTPU18
FUNCTION SCMS_HTTP_GET_FILE
if frontend = 'X'.
perform crep_check_bad using crep_id changing crep_is_bad.
endif.
if crep_is_bad = space. <<<<<<< set Breakpoint
perform perf_init.
perform http_get_file
tables response_headers
using crep_id absolute_uri path status_code status_text frontend t
The original that I am trying to open is showing lock open in SAPGUI but the change history doesnt have any entry for checkout.The storage category is also dispalyed correctly.
Hope this helps you to figure out whats happening.I am kind of lost because this error is not consistent and it occurs only sometimes....
Regards
Neha
This is till an issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
You have not checked-in this file. As I read your first thead carefully ,you said that lock is open. First you need to check-in this file with check-in option ( green button) besides the check in original button. Then this file can be accessed and opened.
Hope this will help.
Regards,
Ravindra
Hi,
in DC20, under PATH, Pls maintain as C:/TEMP/
Thank You,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
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.