‎2009 Jan 14 1:54 PM
Hi,
I wanted to get the CPU performance data to be populated in Z table. The data that is displayed in ST06 transaction. I fetched it using FM 'GET_CPU_ALL'. But it give me data related to only one Batch server.
Data about other Batch servers and the Enqueue server are not getting fetched.
Can you please guide me with this.
PS : Similiarly I tried to fetch data of SM66 using STUM_WP_TOTAL_ACTIVITY. But getting only of one server.
Regards,
Nirmal
‎2009 Jan 14 2:00 PM
These FM are remote call enabled, you have to loop through the server list and cumulate the data in your table. (You could also periodically execute one run in every server specifying server names in job scheduling)
You can get the server list via FM like [TH_SERVER_LIST|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=th_server_list+obsolete&adv=false&sortby=cm_rnd_rankvalue] or RFC_GET_LOCAL_SERVERS.
Regards
‎2009 Jan 14 2:00 PM
These FM are remote call enabled, you have to loop through the server list and cumulate the data in your table. (You could also periodically execute one run in every server specifying server names in job scheduling)
You can get the server list via FM like [TH_SERVER_LIST|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=th_server_list+obsolete&adv=false&sortby=cm_rnd_rankvalue] or RFC_GET_LOCAL_SERVERS.
Regards
‎2009 Jan 14 3:29 PM
Hi,
My system is a BW system.
While using the Remote option, It calls FM 'GET_PERF_DATA_RECORDS'. This FM is not available in my system.
Regards,
Nirmal
‎2009 Jan 14 3:41 PM
Use one of this two options
Fill the parameter LOCAL_REMOTE with the 'INTERN' value, and only fill the logical_destination parameter
fill both parameters to space and use a syntax like
call function 'GET_CPU_ALL'
destination logical_destination
(You will remottely execute a local execution
NB: Get1PerfData is a system function.
Regards
‎2009 Jan 14 4:05 PM
I dont have the SAP System with me now. But I guess that I tried the INTERN option too.
Can you help with the C Function option that you are speaking of?
Regards,
Nirmal