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

ABAP data type for system information

Former Member
0 Likes
674

Hi Experts,

I have a report program in SAP BW environment and this program needs to get information about the system in which it is running (ex. Sandbox, Dev, Quality, Production etc) in order to set a file path.

Is there any function module, or table or ABAP data type that can give me system information like Server name etc.

Any clues on this will be very helpful.

Thanks a lot

Deepthi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
627

SY-SYSID will give you the sid that you are looking for. I am assuming you want the value like DEV, QAS, PRD etc not the original server box name.

3 REPLIES 3
Read only

former_member181966
Active Contributor
0 Likes
627

Try

/SDF/SCSI_GET_SYSTEM_INFO OR

BDL_SYSTEM_INFO

Please award the points

<u><b>Tip: Go to SE37-> search Systeminfo* , you`ll get the list of FM.</b></u>

Thanks

Saquib

Message was edited by: Saquib Khan

Read only

LucianoBentiveg
Active Contributor
0 Likes
627

Check TMSCSYS-SYSNAM.

Regards

Read only

Former Member
0 Likes
628

SY-SYSID will give you the sid that you are looking for. I am assuming you want the value like DEV, QAS, PRD etc not the original server box name.