on 2015 Sep 14 1:30 PM
Hi Experts,
We recently upgraded to SAP E-Sourcing V10 from V7. We have created a customized module. While trying to change the some field value for these customized documents through Import, we faced an issue wherein most of the import failed because the documents were locked.
We got below error:
# Failed: object 157: You cannot edit the document because you do not have sufficient permissions. Contact the document owner to request access to it.
We were not getting this issue in version 7. Is there some parameter setting that we have missed.
Kindly help us to resolve this issue.
Thanks
Rahul
Request clarification before answering.
Hi Experts,
I have noted that this issue exists for Standard modules as well.
For example if we try to change Project document that is in Locked state through Import sheet, we are getting same error.
Please provide any comments on this issue.
Thanks
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you confirm that the "Break Document Locks" is set under the Super Admin rights for the user that is importing. Please see below. It must be set to Allow. Not Set or Deny will not allow the lock to be broken. If this is set and it is still not working, you can submit a ticket to the Support team and we can look at it further.
Best Regards,
Nicole Fong
Hi Nicole,
We are aware of this feature but we don't want to unlock these documents. We just want to do bulk import to modify a field for documents without unlocking them. But there are some thousand records that are locked and we are not able to change them. We were able to do bulk import for locked documents in version 7 without any error. We are facing this issue only after upgrading the system to Version 10.
Has SAP upgraded some security feature in Version 10 that is preventing us from changing locked documents?
Regards,
Rahul
Hello Rahul,
Does the 'Break Document Locks' option actually unlocks the document and leaves it unlocked? Or just bypasses the lock and updates the document, keeping it locked?
If it leaves the document unlocked it will be a bit complicated to achieve your requirement but still possible:
Regards,
Bogdan Toma
Hi Bogdan Toma,
I created a script with context Import Life-cycle Event and Target Pre-Process Row. But this script is not triggered at all while doing the import.
Also I tried unlocking the document in a script that has context Import Life-cycle Event and Target Process Row. Even this is not working.
Kindly suggest some other way.
Thanks
Rahul
This is most likley do to improvements in the security model. You will need to review what security profile access the import user has in regards to these documents and that the import user has edit rights as a collaborator.
Regards,
Gary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.