Application Development and Automation 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: 
Read only

Function module not working properly

former_member355261
Participant
0 Likes
1,121

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.

1 ACCEPTED SOLUTION
Read only

larshp
Active Contributor
0 Likes
724

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

3 REPLIES 3
Read only

larshp
Active Contributor
0 Likes
725

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

Read only

0 Likes
724

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.

Read only

larshp
Active Contributor
0 Likes
724

transparent table E071 contains object list for transports