Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get the System Type

1MoreDev
Explorer
0 Likes
1,585

Hi all.

Im sorry if this question is simple, but ive searched for some time now and didnt find a good answer.

I need to get the system type in Abap, because im making a program that for non PRD systems prints a special message.

Thanks.

Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
995

Hi,

Welcome to SDN.

You could take a look at table T000, field CCCATEGORY, if it is set to P this indicates the client is productive.

Regards,

Nick

3 REPLIES 3
Read only

Former Member
0 Likes
996

Hi,

Welcome to SDN.

You could take a look at table T000, field CCCATEGORY, if it is set to P this indicates the client is productive.

Regards,

Nick

Read only

Former Member
0 Likes
995

the SY fields hold a lot of general info of your system.

SY-SYSID is the field you can use i think.

Also you can check T000 table with field CCCATEGORY. P is production, the rest is not.

Read only

1MoreDev
Explorer
0 Likes
995

Thanks for the fast help , it solved my problem