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

Any Function Module/Class to get Program's Package Name??

Former Member
0 Likes
2,064

Hi Guys,

Are there any Function Modules/Classes that return the Package name of any given Program?

I have had a look but have been unable to find any...

thanks,

C

PS POINTS WILL BE REWARDED

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,324

Christiaan Pistorius,

use below Fm.

RS_PROGRAM_GET_DEVCLASS

give program name and get package name in DEVclass.

Amit.

Edited by: Amit Gujargoud on Jul 7, 2008 11:44 AM

7 REPLIES 7
Read only

GauthamV
Active Contributor
0 Likes
1,324

hi,

u can get that details from table TADIR.

Read only

bpawanchand
Active Contributor
0 Likes
1,324

Hi

check out this link,IAm not sure but it has so many function modules

http://www.erpgenie.com/abap/functions.htm

Regards

Pavan

Read only

Former Member
0 Likes
1,324

Hi,

1)u can get Package name from SE93

go to SE93>give transaction code>display

2)you can also get from

go to t-code>system>status>d.click on program name>goto-->attributes

Thanks

Ankur Sharma

Read only

Former Member
0 Likes
1,324

hi

use table TRDIR

Cheers

snehi

Read only

Former Member
0 Likes
1,324

Hi,

there is a class--CL_PAK_TADIR_OBJECT_PROPERTIES which returns tadir entries.

the method IF_PAK_OBJECT_PROPERTIES~GET_PACKAGE will return you the package for any object.

You can try this out.

thank you,

Jose

Read only

kiran_k8
Active Contributor
0 Likes
1,324

Christiaan,

Just check if the function modules

TADIR_GET

TR_DEVCLASS_GET can give you some lead.

K.Kiran.

Read only

Former Member
0 Likes
1,325

Christiaan Pistorius,

use below Fm.

RS_PROGRAM_GET_DEVCLASS

give program name and get package name in DEVclass.

Amit.

Edited by: Amit Gujargoud on Jul 7, 2008 11:44 AM