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

bw system and client

Former Member
0 Likes
482

Hi,

can anybody help me with a code or function module that can get me the BW system i am working on along with the client. example: BW development, BW Production etc.

Thanks in advance,

Ravi.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
439

If you need to know the system id and the client at runtime in your program, the values are system values.

SY-SYSID = System Id

SY-MANDT = Client

Regards,

Rich Heilman

Hi,

can anybody help me with a code or function module that can get me the BW system i am working on along with the client. example: BW development, BW Production etc.

Thanks in advance,

Ravi.

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
440

If you need to know the system id and the client at runtime in your program, the values are system values.

SY-SYSID = System Id

SY-MANDT = Client

Regards,

Rich Heilman

Read only

0 Likes
439

hi,

Programatically SY-SYSID fetches you the system ID and SY-MANDT fetches you the client of BW or R/3 System as Rich has already answered.....

Regards,

Santosh