cancel
Showing results for 
Search instead for 
Did you mean: 

How to see source code of Function Module ? SE37 does not help

0 Kudos

HI Experts,

There is one Function module called in a Report . I am not able to open this FM in se37 and get message that FM does not exist.

However this FM gives the output by creating entry in a table as I checked in debugging of report. Debugger also does not go to the source code of this FM.

Does anyone know how to see source code of this Function Module ?

SE37 does not help.

Regards,

Pradeep

View Entire Topic
Former Member
0 Kudos

Can you provide screenshot with source code where this FM is called?

0 Kudos

HI Roman,

Thanks for your reply.

It is a local report and below FM is called inside it.

    call function 'Y_ADR_REPL_SADRPX'

         destination dest

      exporting

       adrnr_from                   = adrnr_fr

       adrnr_to                     = adrnr_to

      tables

        repl_SADRpx                  = i_VVSADRpx

      exceptions

        invalid_adrnr_interval       = 1

        user_not_authorized          = 2

        others                       = 3

If I try to open this FM by double clicking on it or in se37 it says FM does not exist.

However , In debugging mode I found that i_VVSADRpx gets one entry assigned after execution of this FM.

Regards,

Pradeep

Former Member
0 Kudos

Check destination 'dest' settings in SM59. More likely you have external RFC server that provide business logic for this FM. In SAP system you create only definition for this FM not code.