cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SOLAR02 The document cannot be changed

Former Member
0 Likes
1,486

Hello,

I have developed a program that uploads files massively to Solution Manager, and the upload process works fine.

But when i try to edit a document that i uploaded using this program, the systems shows me this popup message.

The document cannot be changed.

Because:

it was copied from a template.

it was copied from the Business Process

Repository.

it is saved in a different context.

The document is flagged for copying, e.g.

because you are in a copied project.

<ZH>It has been copied.</>

The reference to the original document is

replaced by a reference to the copy.

Has anybody seen this before or why is this message being showed.

Kind regards

Jon

Edited by: Jon Azkorra on Dec 17, 2011 2:09 PM

Edited by: Jon Azkorra on Dec 17, 2011 2:15 PM

Edited by: Jon Azkorra on Dec 17, 2011 4:30 PM

View Entire Topic
former_member240824
Discoverer
0 Likes

Hi Fabricius,

Ok. Got it!

Let me explain my situation to see if you can help me:

I have a Maintenance Project, which has structure and documentation from a Template Project.

From what I understood, it is not possible to edit a document directly in a Maintenance Project if this document is derived from a Template Project, correct? The only option is to create a copy of the document?

The problem here is the document version control in the different projects.

Thank you and Merry Christmas!

Fernanda Viveiros

Former Member
0 Likes

Hi again Fabricius,

I have seen that the files are being stored in the correct folder in the KW workbench.

So the reason to show the message i told you is not the incorrect folder assignment, do you have any idea?

I have been lookign for the properties of the documents i upload from my program and documents that are uplodaded from solar01 and there is one difference, the documents i upload from solar have a property called bussines object and the others no.

MErry Christmas!!

kind regards.

Jon

Former Member
0 Likes

Hi Jon,

regarding your question, sorry but I'm out of ideas.

kind regards, Fabricius

Former Member
0 Likes

Hi Fernanda,

It depends, if the document is in the "general documentation" tab, then it can only be edit in the template projects. Other copied documents can be edited in the projects normally.

regaridng the version management, it only depends on how you're going to organize your documentation. You may use the documents in general documentation to keep always the projects up to date with the template's versions, or use other tabs documents as specific for each project.

In the case of maintenance projects, you may also associate the structure to a solution and work along with the solution.

kind regards, Fabricius

Former Member
0 Likes

Hi Again Fabricius,

I have been debugging standard code and i have seen the reason why the message is being showed.

In the include program LSOLAR05FB9 in line 421 there's the next piece of code

IF p_marked_item-dlockflag IS NOT INITIAL OR p_marked_item-change_context IS NOT INITIAL.

in the documents i upload manually the field p_marked_item-change_context is initial but with the documents i upload with my report, no. Doesthis give you any idea?

Kind regards

JOn

Edited by: Jon Azkorra on Jan 1, 2012 9:19 PM

Former Member
0 Likes

Hi Fabricius,

I have found the reason, i did not inform the value of the table IT_CONTEXTin the method CL_SA_DOC_FACTORY->UPLOAD_DOC.

Thank u very much for your help.

Kind Regards

Jon