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

RFC enabled Function Module to retrieve configuration parameters

Former Member
0 Likes
678

Hi All,

I am currently writting a simple python scirpt that should retrieve values of all configuration parameters on all SAP systems in our environemnt and do some checks on them. However, I am struggling to find a suitable FM that will allow me to retrieve configuration parameters through the RFC connection.

Is there such module? Does anybody know its name or link to its description?

Thanks a lot

1 ACCEPTED SOLUTION
Read only

Ulrich_Schmidt1
Product and Topic Expert
Product and Topic Expert
0 Likes
559

Hi Martin,

with "configuration parameters" do you mean "profile parameters"? For reading profile parameters there is the TaskHandler function module TH_GET_PROFILE_VALUE. But there are two "problems" with it:

  1. It's not RFC-enabled. So you would have to create your own RFC-enabled wrapper FM around it.
  2. It does not give a "list" of all profile parameters defined in the system, but reads only one parameter at a time. So either you are anyway only interested in a fixed set of parameters, then you call the FM x times for the x parameters you would like to read, or you look around a bit in the other TaskHandler FMs: there is quite a few of them, all starting with TH_ and some give quite interesting details about the current system state, like status of the work processes, logged in users, ressource usage of the app servers, etc. Perhaps there is also one that returns a full list of current profile parameters?!

Best Regards, Ulrich

1 REPLY 1
Read only

Ulrich_Schmidt1
Product and Topic Expert
Product and Topic Expert
0 Likes
560

Hi Martin,

with "configuration parameters" do you mean "profile parameters"? For reading profile parameters there is the TaskHandler function module TH_GET_PROFILE_VALUE. But there are two "problems" with it:

  1. It's not RFC-enabled. So you would have to create your own RFC-enabled wrapper FM around it.
  2. It does not give a "list" of all profile parameters defined in the system, but reads only one parameter at a time. So either you are anyway only interested in a fixed set of parameters, then you call the FM x times for the x parameters you would like to read, or you look around a bit in the other TaskHandler FMs: there is quite a few of them, all starting with TH_ and some give quite interesting details about the current system state, like status of the work processes, logged in users, ressource usage of the app servers, etc. Perhaps there is also one that returns a full list of current profile parameters?!

Best Regards, Ulrich