Skip to Content
avatar image
Former Member

Class that checks switch status in s4hana (Cloud and OP)

Hi Experts,

I have a requirement to check the switch status. So i have directly written query to SFW_SWITCH_STATE table to know the status and then followed by error messages if user is not authorised. So is there any other way to check status of switch??

Thank in Advance

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Which errors do you have when you "query this table" ? Is it a compiler error or at run time? Is it because of the "package check" ?

  • Former Member Sandra Rossi

    Can you please read the question properly

  • Sorry, I read again, and I still don't see the answers to my questions. You say you have "error messages if user is not authorised", but you didn't paste the texts nor the technical IDs (which are useful to search for answers). I'm still not able to understand whether it's a compiler error or an error at run time.

  • Get RSS Feed

2 Answers

  • Apr 26, 2017 at 05:46 AM

    Did you check with class CL_ABAP_SWITCH?

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26, 2017 at 07:29 AM

    Check the class CL_COS_UTILITIES.

    Add comment
    10|10000 characters needed characters exceeded