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 to use system fields in program dynamically

Former Member
0 Likes
448

Hello gurus,

How to get system fields dynamically when we execute program.

For eg.

After creating of program using se38 how to populate dynamically program name , date when program created , user name .

So after execution of program I want to see these detail on output screen  .

If possible can u provide me the code .

Thank you very much.

Prasad Krishna naralkar

Moderator message: please search for information before posting.

Message was edited by: Thomas Zloch

2 REPLIES 2
Read only

SharathYaralkattimath
Contributor
0 Likes
414

you can get the details from TRDIR table.

select single *

from trdir

into wa_trdir

where NAME = sy-repid.

Read only

Former Member
0 Likes
414

Your requirement is not clear.

Do you want a report of SAP objects? In that case, as Sharath said, its in TADIR or TRDIR table.

If you want to see how frequently the program is run, you can use ST03 transaction or take help of Basis.