Skip to Content
author's profile photo
Former Member

How to check if a Function Module is available in a specific Release

Hi Developers,

How do I check if a Function Moudle is available before actually calling it ? (If I simply call a Function Module, it might not give any errors as it would be available in my development system. But, for some reasons, the same function would not be available in the Customer system)

Is there some way (may be another Function Module) to check if a Function Module is avaialble in the system ?

Thanks,

Suma

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Jan 07, 2004 at 08:21 PM

    Hi Suma,

    you will find all function modules in the table "TFDIR".

    Regards,

    Dirk

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jan 07, 2004 at 08:21 PM

    You can also call function module FUNCTION_EXISTS - much the same as reading table TFDIR, but some prefer not to access SAP tables directly if it can be avoided.

    Cheers,

    Scott

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10, 2004 at 01:37 PM

    Or to avoid "Short dumps": use the CATCH - ENDCATCH command...

    Jakob

    Add comment
    10|10000 characters needed characters exceeded