cancel
Showing results for 
Search instead for 
Did you mean: 

DMS Error 26136 - File coule not be accessed

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

Hi Pherasath,

Thanks for such a prompt response.

I have already checked these threads and none of it is working for me,

Regards

Neha

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Neha,

have you checked the situation in the mentioned coding in your system? What values are used for the parameters?

Is the file already checked in correctly and the lock icon is closed and a storage category is displayed?

Best regards,

Christoph

Former Member
0 Kudos

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

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Neha,

thanks for the detailed information. As you mentioned to use only '\' in DC20 customizing I would kindly ask you to change this parameter to a complete static path like "C:\temp\" and test again.

Best regards,

Christoph

Former Member
0 Kudos

Hi Christoph,

In DC20 , we have already maintained the static path as C:\temp .And as you suggested that the user should have read & Write Access to this location , I am not sure about this so i need to confirm on this.

Please let me know if there is anything I can check.

Regards

Neha

Answers (2)

Answers (2)

Former Member
0 Kudos

This is till an issue.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Ravindra and Neha,

I´m having the some problem. The document has a status that does not allow some modifications. I can´t find the button to make the check-in.

Why can i close the lock?

Regards,

Teresa

Former Member
0 Kudos

Hi,

Did u finally solve your issue cause I still can't access my SRM attachment from MM ?

Best regards,

Manu

Former Member
0 Kudos

Hi,

in DC20, under PATH, Pls maintain as C:/TEMP/

Thank You,

Manoj

Former Member
0 Kudos

Hi Manoj,

We have the path maintained in DC20 as C:\temp only.

Regards

Neha

Former Member
0 Kudos

Hi Neha,

Wanted to confirm incase you have defined two back-slashes in C:\temp\ as opposed to one that you have indicated above in C:\temp? (backslash after temp is missing,hence the question)

Regards,

Pradeepkumar Haragoldavar

Former Member
0 Kudos

Hi Pradeep,

We have C:\temp in DC20.Not C:\temp\ .

Regards

Neha

Former Member
0 Kudos

Could you please use C:\temp\ instead and re-test the scenario and let know the results?('\' allows content to be created in Temp folder)

Regards,

Pradeepkumar Haragoldavar

Edited by: Pradeepkumar Haragoldavar on Jul 8, 2010 1:24 PM

Former Member
0 Kudos

Could you share the resolution approach that finally worked for you?

Regards,

Pradeepkumar Haragoldavar

Former Member
0 Kudos

Hi Pradeep,

Its not yet resolved as dev & Test Env has been frozen so can't make the changes.

Will definitely update the thread if I find anything.

Regards

Neha