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

Getting the Package a Function Modules is in

Former Member
0 Likes
6,591

I have been given the task of moving a lot of ABAP code that was developed for several products from one SAP system to another.

What I have been given is a very large list of custom function module names. I was hoping to discover if there is a way (preferably through some sort of SQL statement) to determine what package(s) these function modules are in.

I need to get this list of packages so I can review each one and see if they include other repository objects that they do not want moved, or if I can move the package in it's entirety, so I can build a proper transport.

I guess I am hoping someone can tell me how and where these are stored in the DB tables so I can locate which function group each function module is in, and then what package that function group is in. Gonig one by one in SE37 is gonna take a very long time...

Any help would be greatly appreciated.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
4,451

Hi,

You can use the table ENLFDIR by providing the Function Module name and obtain the Function Group.

Using the Function Group you can use table TADIR to obtain the package.

5 REPLIES 5
Read only

Former Member
0 Likes
4,451

Hi Tom,

if you want to know the develop class of your function module:

Goto se37

CTRL-F

in f.m. name put all of your functions.

execute search

change output layout and select field package.

Hope this is usefull

Andrea

Read only

Former Member
0 Likes
4,451

Hello Tom,

To check package of fucntion group you can go to transaction SE80 select fucntion group and than enter fucntion group name and click display. Double click on fucntion group name new window will pop up and package name will be mentioned in that window.

or

Goto transaction SE03 clcik on change object directory entries put check box on second row i.e. on function group and give your function group name click on execute button. It will display package name.

Read only

Former Member
0 Likes
4,451

If you simply go to the attributes tab of any function module and press F1 on the package name, and then select the technical information, you'll see the table name.

Not that difficult.

Rob

Read only

Former Member
0 Likes
4,452

Hi,

You can use the table ENLFDIR by providing the Function Module name and obtain the Function Group.

Using the Function Group you can use table TADIR to obtain the package.

Read only

0 Likes
4,451

Thank you so much Aneel, exactly what I was looking for.

Again, thank you.