Determine if a system is in development, test or production mode

If you need to determine if a system is in development, test or production mode, you can check the category field in table T000 to base your logic.

If you need to determine if a system is in development, test or production mode, you can check the category field in table T000 to base your logic.
select single CCCATEGORY from T000 into T000-CCCATEGORY where mandt eq sy-mandt.
if not T000-CCCATEGORY eq 'P'.
  "do stuff for non-prd here
endif.
This was first published in October 2003

Dig Deeper

PRO+

Content

Find more PRO+ content and other member only offers, here.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close