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

Find where a remote-enabled function module is used

Former Member
0 Likes
3,180

Hi,

I have an existing Z finction module.

This is remote-enabled.

The where used option is not detectiong where tis FM is called.

Is there a way I can check where this FM is used/called ?

Thanks

4 REPLIES 4
Read only

Kiran_Valluru
Active Contributor
0 Likes
1,465

Hi,

If you don't find where used list of RFC, it means it is not using in that system. It will be called from some other Systems or from Portal.

Regards,

Kiran

Read only

Former Member
0 Likes
1,465

Hi Karen,

IF this is RFC call, then you need to find out from which RFC system it is being called.

Then in the calling RFC system , in se37 give the FM name and use where used list there itself.(donot click display )

Hope this will help you

Read only

DirkAltmann
Active Participant
0 Likes
1,465

Hi Karen,


you can use the where-use-list for all occurencies in programs. Calls from external systems you can find in the monitoring transaction ST03N (Analysis View: RFC Profiles). The available data and time period is depended from the configuration in your system.


Kind regards

Dirk

Read only

Clemenss
Active Contributor
0 Likes
1,465

You may modify the Z function module: Include like this

  DATA:

    lt_callstack TYPE abap_callstack,

    lv_subkey    TYPE string.

CALL FUNCTION 'SYSTEM_CALLSTACK'

      IMPORTING

        callstack          = lt_callstack.

  CONCATENATE sy-sysid sy-uzeit INTO lv_subkey separated by '-'.

  LOG-POINT ID ZMYGROUP

  SUBKEY lv_subkey

  FIELDS lt_loginfo.

Create and activate checkpoint group ZMYGROUP in transaction SAAB. From time to time, use SAAB to check your recordings.

Regards,

Clemens