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 on SAP ABAP

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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:

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close