By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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.
Dig Deeper on SAP ABAP