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

Logical system determination

Former Member
0 Likes
2,206

Hi,

how can I determine own logical system.

Thanks.

Marian

6 REPLIES 6
Read only

Former Member
0 Likes
1,150

hi

use the FM

<b>OWN_LOGICAL_SYSTEM_GET</b>

u can refer to the <b>LOGSYS</b> field of table <b>TBDLS</b>

<b>

plz reward if useful</b>

Read only

Former Member
0 Likes
1,150

Go to sale transaction to know it.

Regards,

Ravi

Read only

Former Member
0 Likes
1,150

Hi,

Logical system name is stored in the table T000.

u can have more than one client for the system. for each client there is logical system name.

select single LOGSYS from T000

into lv_sys

where MANDT = sy-mandt.

there is other info present for the same.

Mark Helpfull Answers.

Regards

Read only

Former Member
0 Likes
1,150

Write a select single on this table: TBDLS

select single LOGSYS from TBDLS into v_logsys.

REgards,

Ravi

Read only

former_member181966
Active Contributor
0 Likes
1,150

Go to TR.SSC4 .. There you can determine the logical system name. Which your client is using.

You can also execute this in TR.SLAE

Hope this’ll give you idea!!

<b>P.S award the points.</b>

Good luck

Thanks

Saquib Khan

"Some are wise and some are otherwise"

Read only

nishanthbhandar
Contributor
0 Likes
1,150

U can determine the own logical system using the FM OWN_LOGICAL_SYSTEM_GET.See the example code below :

data : l_ownsys TYPE logsys.

CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'

IMPORTING

own_logical_system = l_ownsys

EXCEPTIONS

own_logical_system_not_defined = 1

OTHERS = 2.

l_ownsys will contain the logical system.

Cheers

Nishanth