Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Get time of activation

MichaelSt
Discoverer
0 Kudos

Hi,
I'm currently working on a method which should read the activation time of a report and uses this to output a version number.

First I tried with the table VRSD but I realized that there is just the import time, I'm a bit clueless.

Can someone tell me how to get the time of activation of a report?
Is there a function module or something similar?

Thanks in advance.

1 ACCEPTED SOLUTION

iftah_peretz
Active Contributor

Hey,

Tables COVREF and REPOSRC has a field with versions of the prog. I think you need field REPOSRC-VERN. Note that there is a calculation being made in the background when you go to the version management tool, and the versions differ from the number that is shown on the tables . There are many reasons why, I suspect that in system upgrades and other different service packs installations or DB layer upgrades (that the SAP DB maps onto) the numbers don't add up, thus in the version management tool the count is done based on requests that were found (so for example if in an upgrade some requests are not loaded the count differs) and not the real activation version.

2 REPLIES 2

iftah_peretz
Active Contributor

Hey,

Tables COVREF and REPOSRC has a field with versions of the prog. I think you need field REPOSRC-VERN. Note that there is a calculation being made in the background when you go to the version management tool, and the versions differ from the number that is shown on the tables . There are many reasons why, I suspect that in system upgrades and other different service packs installations or DB layer upgrades (that the SAP DB maps onto) the numbers don't add up, thus in the version management tool the count is done based on requests that were found (so for example if in an upgrade some requests are not loaded the count differs) and not the real activation version.

Sandra_Rossi
Active Contributor
0 Kudos

Agreed for REPOSRC, but only take into account the line with status 'A' (active). The time is also updated if the activation is KO but the user chooses to "activate anyway".

If the activation is truly OK, the date will also be updated in the fields UDAT and UTIME of the table REPOLOAD. But these fields are also updated in case of automatic recompilation (after some of the DDIC used by the program has been changed).