cancel
Showing results for 
Search instead for 
Did you mean: 

How to lock document ?

Former Member
0 Kudos

Hi there,

My requirement is to let user freely create a document with attachments and links (CV01N). Then the user will be given the possibility to alter the document data using CV02N. Once the document status is changed to let's say 'APPROVED' it becomes locked and no further changes are possible (status should be keep as APPROVED).

I have created a status via SPRO, marked it as a release status, I achieve the green light with the date of release, but in CV02N I am able to change the status back from released to any other, and modify all the data in document.

Also how can I mark document for deletion ?

How can I achieve the goal ?

Thanks,

Bart

Edited by: Bartosz Bijak on Mar 10, 2011 12:18 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey

You can handle the issue with change the document with authorizations on the status

Authorization Object C_DRAW_TCS (Status Dependent Authorization)

The following table shows authorization object C_DRAW_TCS. This object controls which users can process which document info records, based on a combination of activity, document type, and status.

Fields

Possible Values

Description

ACTVT

(Activity)

01

02

03

06

Create

Change

Display

Delete

DOKAR

(Document type)

The activities can be executed for the document type.

STATUS

(Document status)

Go to the menu someware and you will find mark for deletion

BR/Håkan

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hi,

I working on a similar similar scenario and have some further questions.

When we set our status to approved we want all changes to be locked.

Also the object Links. ie, it should not be possible to add or remove a linked material for example.

I see with your(read Håkan) explaination that we can solve it with authorization.

But this will only solve it if you enter the DIR, is that correct?

ie if another user enter the linked object they can delete the link from there.

How can this issue be solved?

Thanks in advance

/Mikael

Former Member
0 Kudos

Hi,

I working on a similar similar scenario and have some further questions.

When we set our status to approved we want all changes to be locked.

Also the object Links. ie, it should not be possible to add or remove a linked material for example.

I see with your(read Håkan) explaination that we can solve it with authorization.

But this will only solve it if you enter the DIR, is that correct?

ie if another user enter the linked object they can delete the link from there.

How can this issue be solved?

Thanks in advance

/Mikael