Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FM to know if you are in Dev, QA or prod

Hi all,

I'm looking for a FM to know if the running system is dev, qa or Prod ??


Former Member replied

Check the table T000 field CCCATEGORY to see if the system is PROD etc.

  • run program in test system only

  SELECT SINGLE cccategory FROM t000
                INTO t000-cccategory
                WHERE mandt EQ sy-mandt.
  IF t000-cccategory EQ 'P'.
    MESSAGE e637.

Hope this helps.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question