Hello SAP Support Team,
We would like to identify whether a particular RFC destination is currently being used within our SAP landscape. Specifically, we need to determine:
Could you please advise on the best approach or SAP-provided tools to identify all dependencies and usage of the RFC?
Thank you for your support.
Regards,
Yash Panchwani
Request clarification before answering.
Perhaps not the best idea, but you could activate the RFC trace in SM59 for a given destination and then monitor for a week or two, whether this destination generates any trace. This would show, whether someone uses the destination.
But for a detailed analysis of who is using it and which function modules / scenarios are executed via this destination, this approach is probably not feasible, because if there are thousands of calls going over this destination each day, the trace output would be huge and very difficult to evaluate manually.
Making some kind of "where-used list" of RFC destinations in ABAP code, is not possible, because a destination does not need to be specified directly by name in the ABAP code that makes an RFC call, it can also be specified "dynamically" via a variable, whose contents are filled at run-time.... 😞
DATA: destname(40).
...
destname = ... "(some code that computes the value of destname)
...
CALL FUNCTION 'BAPI_...' DESTINATION destname
EXPORTING
...
IMPORTING
...
EXCEPTIONS
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.