cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

jakob_steen-petersen
Active Participant
0 Kudos

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

Jakob

Former Member
0 Kudos

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

Peter_Inotai
Active Contributor
0 Kudos

Just kidding:

How to check if FM FUNCTION_EXISTS exists or not?

Incho

Former Member
0 Kudos

LOL

DirkAltmann
Active Participant
0 Kudos

Hi Suma,

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

Regards,

Dirk