Skip to Content
author's profile photo Former Member
Former Member

System table to identify BEx Query?

We have request to provide report on Query Change info, for example. This data is available when manually going into each query, however we need to see this in a single view, rather than opening every query via BEx Query Designer.

We need the following:

Query Name

Last Changed Date

Time

User

Need to know system tables to browse or other way to provide this info. Have found <u>some</u> data in RSZ tables, however date/time is unreadable.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 09:38 PM

    Try table RSRREPDIR.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Mike,

      I think you might have used table RSZCOMPDIR where

      field COMPID for query technical name,

      and field LASTUSED is the last "timestamp" query executed.

      So you have to convert this timestamp(YYYYMMDDhhmmss) to time and date.

      For that Use a FM ADDR_CONVERT_TIMESTAMP_TO_DATE.

      Or

      Another option is a little bit of code:

      data: l_tmstp(30) type c,

      l_date type sydatum,

      l_time type syuzeit.

      write <timestamp field> to l_tmstp left-justified decimals 0 no grouping.

      l_date = l_tmstp(8).

      l_time = l_tmstp+8(6).

      Regards,

      San!

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.