Application Development 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: 

Program to get the list of zprogs

kiran_k8
Active Contributor
0 Kudos

Hi

Do anyone here have a zprogram which can give the list of zprograms available as per the mandt.I mean to say I want a report which shows.

mandt,

zprogram name

ztcode (if any)

development class

msg class

description

program type.

etc.

K.Kiran.

1 ACCEPTED SOLUTION

amit_khare
Active Contributor
0 Kudos

Use this FM to read them -

REPOSITORY_INFO_SYSTEM_F4

Regards,

Amit

6 REPLIES 6

Former Member
0 Kudos

Hi

from TADIR table you will get all ZPROGRAM names along with the dev class

and pass the same program name in TSTC table you will get the Transaction codes

and from TSTCT you will get the Descriptions

From TRDIRT you will get the Program Texts

from TRDIR you will get the Program Type

For message class search the table T100

Reward points if useful

Regards

Anji

Message was edited by:

Anji Reddy Vangala

0 Kudos

Anji,

Do you have any zprogram for the same ?

K.Kiran.

0 Kudos

Hi,

Check this example.

tables trdirt.

data : begin of it_prog occurs 0,

name like trdirt-name,

end of it_prog.

select name from trdirt into table it_prog

where name like 'Z%'.

loop at it_prog.

write: / it_prog-name.

endloop.

amit_khare
Active Contributor
0 Kudos

Use this FM to read them -

REPOSITORY_INFO_SYSTEM_F4

Regards,

Amit

former_member196299
Active Contributor
0 Kudos

Hi Kiran ,

You can solve this by using FMs DYNP_READ_VALUES and REPOSITORY_INFO_SYSTEM_F4 ...

write a prog and make use of these FMs . your problem will be sotred out .

Regards,

Ranjita

kiran_k8
Active Contributor
0 Kudos

Thanks