Application Development 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: 

Logical system determination

Former Member
0 Kudos

Hi,

how can I determine own logical system.

Thanks.

Marian

6 REPLIES 6

Former Member
0 Kudos

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>

former_member181962
Active Contributor
0 Kudos

Go to sale transaction to know it.

Regards,

Ravi

Former Member
0 Kudos

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

former_member181962
Active Contributor
0 Kudos

Write a select single on this table: TBDLS

select single LOGSYS from TBDLS into v_logsys.

REgards,

Ravi

former_member181966
Active Contributor
0 Kudos

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"

nishanthbhandar
Contributor
0 Kudos

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