‎2015 Sep 15 5:37 PM
Hi,
I'm using the function module SVRS_GET_VERSION_DIRECTORY_46 to get versions of a given object of type SENVI.
I'm using the following code:
CALL FUNCTION 'SVRS_RESOLVE_E071_OBJ'
EXPORTING
e071_obj = ls_e071_obj
TABLES
obj_tab = lt_vers_obj
EXCEPTIONS
OTHERS = 0.
LOOP AT lt_vers_obj INTO ls_vers_obj.
REFRESH: lt_versions, lt_versno.
CALL FUNCTION 'SVRS_GET_VERSION_DIRECTORY_46'
EXPORTING
objname = ls_vers_obj-objname
objtype = ls_vers_obj-objtype
TABLES
version_list = lt_versions
lversno_list = lt_versno
EXCEPTIONS
OTHERS = 0.
This was working fine with objects like reports, tables, ...
But when I tried it with an object of type TRAN (a transaction), the FM SVRS_GET_VERSION_DIRECTORY_46 doesn't return anything (the table lt_versions stays empty).
Please help me find a solution to this.
Thanks in advance.
‎2015 Sep 15 6:08 PM
There is no version history for transactions(TRAN), try going to SE93 there is no menu option.
‎2015 Sep 15 6:08 PM
There is no version history for transactions(TRAN), try going to SE93 there is no menu option.
‎2015 Sep 17 9:55 AM
In this case, how can I find transport requests of non versionable objects ?
Because I was using FM SVRS_GET_VERSION_DIRECTORY_46 to get transport requests history of versionable objects. So I need a FM to get history of transport requests as given by transaction se03.
I also need a FM to figure out if a given object of type SENVI is versionable or not.
Thanks in advance.
‎2015 Sep 17 11:55 AM