cancel
Showing results for 
Search instead for 
Did you mean: 

Only Latest Document version in view

Former Member
0 Kudos

Hi everybody,

the requirement is that user must see only latest version of document, and he/she should know if some-one is working on new-version. To avail this- earlier version must get obsolute status and there should some way/provision that he/she should not able to look into it- How can we achieve it?

Regards

Sandeep

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sandeep,

An other alternative whch i have used is setting the release indicator on the required status. We then created a z report, which is a truncated version on CV04N and displays only the latest version - which has a release indicator against it.

The other solutions given also work and are simpler, but require the users to be aware of the status network for that particular doc type (not easy if the user is not referring to that doc type regularly).

Let me know if you need more details

Anand

Former Member
0 Kudos

Hello sandeep,

Solution given by siva will work for you. Rather than implementing the BADI, you go by authorisation. When you create next version set display activity for other user. USE Tcode pfcg and su01

Authorization Object C_DRAW_TCS (Status Dependent Authorization) if the issue is related to status. otherwise simply use C_DRAW_TCD

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

Activity 03 display

use the following page for more help

http://help.sap.com/erp2005_ehp_02/helpdata/en/c1/1c24ac43c711d1893e0000e8323c4f/content.htm

regards,

nitin

Edited by: nitin bhagat on Feb 21, 2008 10:49 AM

Former Member
0 Kudos

Sandeep

Once you feel that a particular version is obsolete set the status Obsolete to the document.Create a new version of the document and start the status network again.The setting of the status Obsolete has to be done manually.

If you want it automatic, implement a user exit wherein you can write your code to set the status Obsolete to the old version whenever you create a new version.

To restrict the users not able to see the obsolete document, you can achieve this thru creation of a role with the Authorization Object C_DRAW_TCS wherein u give display rights to statuses other than Obsolete.

When a person has created a version and working in it, if another person tries to login to the same version he will get the message "The document version is locked by another user".

Regards

S.Sivakumar

-


Reward points if useful----