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 last published in October 2003

Dig Deeper on SAP ABAP

PRO+

Content

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

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close