Skip to Content
avatar image
Former Member

Displaying latest version of document in CV02N/CV03N

Hi

1. We need to display the document having latest version of changable status when CV02N is run (irrespective of the document version entered). Similarly when CV03N is run then document having latest version of released status should be displayed.

E.g. Document Test1 has Version 00 and 01 in status "Created" and version 02 and 03 in status "Released". Then,

Output of CV02N should be Test1 version 01 and Output of CV03N should be Test1 Version 03.

How do I go about this?

2. Do we get the change history of the document? i.e. time of chaneg and what changes were done? I just found status log.

3. Is there any way in which we can have indicators for invalid versions of documents?

Please help me with these.

Regards

Preeti

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 04, 2010 at 08:49 AM

    Hi Preeti,

    I hope that the following information could be useful for you:

    1. We need to display the document having latest version of changable status when CV02N is run (irrespective of the document version entered). Similarly when CV03N is run then document having latest version of released status should be displayed.

    Here I think an implementation of BADI DOCUMENT_MAIN01 with method BEFORE_READ_DATA or AFTER_READ_DATA could be useful. With this mehtods you should be enabled to control which version of a document info record is displayed in CV02N or CV03N.

    2. Do we get the change history of the document? i.e. time of chaneg and what changes were done? I just found status log.

    The changes of a document info record could be displayed by using the menu 'Environment' >> 'Display Changes' in CV02N or CV03N transaction. This works if you have set the flag 'Change Docs' in transaction DC10 for the document type.

    3. Is there any way in which we can have indicators for invalid versions of documents?

    For this there is a menu entry called 'Versions' in menu "Extras". This entry lists up all existing versions and highlights the current one.

    Best regards,

    Christoph

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Chris/Ravi

      Thanks a lot for your replies.

      All my queries are resolved now. Thanks Chris!!!

      If I need some more help I'll definitely ask you again..

      Regards

      Preeti

  • avatar image
    Former Member
    May 04, 2010 at 09:23 AM

    Hi Preeti,

    in cv02n you aways find the latest status only as per the status network defined. I don't think that after Released status you will get inwork. In proper predefined scenario.

    In cv03n you can implement a badi as suggested by Chris or write a abap programe with help of abap consultant.

    I hope this will be helpful.

    Regards,

    Ravindra

    Add comment
    10|10000 characters needed characters exceeded