‎2023 Oct 25 10:34 PM
Hello,
Wondering if there is a way to check if any Work Process is running in PRIV mode using a Remote Function Module? I was thinking something like TH_WPINFO might have it but couldn't find anything in the output (any "PRIV" field). Maybe there is some other Remote Function Module which might provide this type of info?
PS: I will pull this data using RFC, hence it has to be a Remote Function Module.
Thanks in advance!
‎2023 Oct 26 8:05 AM
This is not an RFC question, it's a Kernel question.
Let's assume, you want to now, what's the telephone number of somebody. Would you ask the factory that's producing the copper cables used for the telephone lines? They would not know the telephone numbers of all the millions of people, who have a telephone (and use their cables)...
Similarly in this case: RFC is only a communication protocol (the "copper cable"...). The RFC team can explain to you, how it works, or how to use it from an ABAP/Java/etc. program, but we don't know all the millions of remote-enabled function modules that various SAP applications and basis components have created over the last 30 years... 🙂
You should add more tags to this question, e.g. for SAP_BASIS, Kernel or TaskHandler, so that it gets the attention of people with the required knowhow.
‎2023 Oct 26 2:40 PM
Thanks ulrich.schmidt
I have added the Basis Technology tag as per the tags mentioned here: https://answers.sap.com/tags.html
Couldn't find the Kernel/Task Handler ones but hopefully someone from Basis side can help. I wish there was a tag dedicated for Function Modules 🙂
I know how to get this as an Basis Admin (ex: SM50) but the main focus here is a Remote Function Module that gives this info so that I can call it using JCo.
‎2023 Oct 26 3:46 PM
In case you can't find any, but you can create ABAP code in your backend system, you could try the following:
‎2023 Oct 29 5:53 AM
Hi Sunjit,
1. Regarding the Remote Function Module you can check in the transaction code ST03 to monitor the workload, and active users on the SAP system.
2. Priv mode you can check online in SM50 or SM66 global work process of the SAP system.
Regards
SS