11-02-2007 7:47 AM
Is there a way (preferably a BAPI/FM, and if not, then a table) to get version information about a given repository object?
11-02-2007 7:55 AM
Hi,
You can use this FM:
SVRS_FIND_VRSD_INFO
You have to give <b>Object Type</b> like REPS for Reports , REPT for Report TExt etc.
And version number for which you want info.
regards
Nishant
11-02-2007 8:26 AM
> SVRS_FIND_VRSD_INFO
That function module needs version number. It would be useful to me if this was optional. What I needed was the entire history. i.e. All versions.
The export parameters however, pointed me to the table VRSD, which I think serves my purpose very well (unless there is a standard FM for getting information for all versions).
Thanks!
11-02-2007 8:16 AM
Look at table TADIR, you will get version of repository object and release of R3.
Look also at VRSD to get the transport order associated.
Regards
11-02-2007 8:27 AM
Thanks for the pointer. I will probably need TADIR at some point too.
11-02-2007 8:37 AM
If anyone needs to do this:
If you need to get entire version history for an object, query table "VRSD".
If you know which version you need info on, use the FM "SVRS_FIND_VRSD_INFO".
The FuncGrp "SVRA" might be interesting too.