Skip to Content

Function module not working properly

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 15, 2015 at 05:08 PM

    There is no version history for transactions(TRAN), try going to SE93 there is no menu option.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.