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

How do you find what objects you modified?

Former Member
0 Likes
2,343

I am leaving my current company soon and they want me to document all objects that I touched. Is there a simple way to do this? I am thinking of a program that I can run (create) by searching z-objects (programs, structures, tables, forms, etc...) that I have modified. Is this possible?

Regards,

Davis

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
1,975

Hi Davis,

it is eveen simpler:

first use SE16 on table E070 transport requests. Put your user name in the selection. Then copy the column with the transport # to clipboard. Then do SE16 on table E071, copy the requests from clipboard to request selection.

Then you have a nice list of all objects in all your transports. The main work will be to sort them and remove the duplicates. Then look at the objects in editor or data dictionary and check the version history - happy documenting!!

You might ask your company as well why you should document anything as nobody ever does

Regards

Clemens

I am leaving my current company soon and they want me to document all objects that I touched. Is there a simple way to do this? I am thinking of a program that I can run (create) by searching z-objects (programs, structures, tables, forms, etc...) that I have modified. Is this possible?

Regards,

Davis

3 REPLIES 3
Read only

Clemenss
Active Contributor
0 Likes
1,976

Hi Davis,

it is eveen simpler:

first use SE16 on table E070 transport requests. Put your user name in the selection. Then copy the column with the transport # to clipboard. Then do SE16 on table E071, copy the requests from clipboard to request selection.

Then you have a nice list of all objects in all your transports. The main work will be to sort them and remove the duplicates. Then look at the objects in editor or data dictionary and check the version history - happy documenting!!

You might ask your company as well why you should document anything as nobody ever does

Regards

Clemens

Read only

Former Member
0 Likes
1,975

Clemens, thank you very much for that info!

Regards,

Davis

Read only

Former Member
0 Likes
1,975

Just in case anybody finds it useful, here is a quick little program that I wrote. It accepts a user name and a date range. It then saves the objects in an excel file.

Davis.

*&---------------------------------------------------------------------*
*& Report  Z_TRANSPORTED_OBJECTS
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT  z_transported_objects.

TABLES: e070.

DATA: t_e070 TYPE e070 OCCURS 0 WITH HEADER LINE.

DATA : BEGIN OF t_e071 OCCURS 0.
        INCLUDE STRUCTURE e071.
DATA : END OF t_e071.

DATA : BEGIN OF t_header OCCURS 0,
       name(30) TYPE c,
       END OF t_header.
DATA: v_pass_path TYPE string.

PARAMETERS: p_user LIKE t_e070-as4user.

SELECT-OPTIONS s_date FOR e070-as4date.

*Get the header details for all transports created by p_user in the date range of s_date
* if s_date is empty (no dates specified) then it will return all transports created by p_user
SELECT * FROM e070 INTO TABLE t_e070 WHERE as4user = p_user AND as4date IN s_date.

*Get the details (objects) in each transport
SELECT * INTO TABLE t_e071 FROM e071 FOR ALL ENTRIES IN t_e070 WHERE trkorr = t_e070-trkorr.


*Sort the table and delete all duplicate entries.  This will leave you with a list of all objects
* which were "touched" by p_user ONLY if p_user created the transport.
SORT t_e071 BY pgmid object obj_name.
DELETE ADJACENT DUPLICATES FROM t_e071 COMPARING pgmid object obj_name.

*Delete all transports which are included as objects in e071.
DELETE t_e071 WHERE pgmid = 'CORR' AND object = 'RELE'.


*Add the header lines for the output file:
t_header-name = 'Request/Task'.
APPEND t_header.
t_header-name = 'Dictionary: Line item'.
APPEND t_header.
t_header-name = 'Program ID'.
APPEND t_header.
t_header-name = 'Object Type'.
APPEND t_header.
t_header-name = 'Object Name'.
APPEND t_header.
t_header-name = 'Object Function'.
APPEND t_header.
t_header-name = 'Lock Status'.
APPEND t_header.
t_header-name = 'Language'.
APPEND t_header.
t_header-name = 'Language Key'.
APPEND t_header.
t_header-name = 'Activity'.
APPEND t_header.

*Save the file in an excel format.
CALL FUNCTION 'GUI_FILE_SAVE_DIALOG'
  EXPORTING
    default_extension = 'XLS'
  IMPORTING
    fullpath          = v_pass_path.

CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    filename   = v_pass_path
    filetype   = 'DBF'
  TABLES
    data_tab   = t_e071
    fieldnames = t_header.