Skip to Content

Find Task / Transport Request for Most Recent Change to an ABAP Program

Hello ABAP community,

for development-related statistics, I try to collect data about ABAP programs (or other ABAP code objects). What I would like to add is the task and transport request according to which the object was modified most recently.

I know that trasport-related data is stored in tables e070 and e071, and I already read the example given in Transport Request details in tabular format. Given a code object, the code given there basically selects and shows all requests that object belongs to and whose status is not released. It is of course possible that an object is included in multiple requests.

Is there a way to find out what request the most recent change to a code object "belongs to"? E070 contains change dates of the transport requests themselves, but this lets me only select the transport request that was modified most recently, which is not what I need. Do you see any way to achieve that?

Thanks a lot and best regards,

Andreas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 21, 2016 at 08:39 AM

    Execute some debug trace when displaying version thru SE80, you should find how to get information on current active and modified version (you shoud already have found released version in VRSD.

    Hint: If you are not successful (did you actually look for VRSD database access in some trace) look for some version related forms in function group SVRL, from GET_VERSION_LIST to GET_[ACTIVE,MODIFIED]_VERSION.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 21, 2016 at 06:46 AM

    Hello Juwin,

    Thanks for the suggestion. This is not what I was looking for, because of two reasons:

    1. I cannot check it manually, because I need the information for all my objects, which is why I am looking for a way to programmatically obtain it.
    2. As far as I recall, the version history automatically creates an entry once the request is released. I am particularly interested in ongoing development, i.e. changes to objects whose requests are not yet released.

    In the meantime, I also checked the "lockflag" in E071 and select only those entries where lockflag EQ 'X'. This will still in some cases return more than one request per object, bringing me back to the original question.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2016 at 07:21 PM

    Doesn't it show up in the version history of the program/ object?

    Thanks,

    Juwin

    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.