05-25-2006 3:55 PM
05-25-2006 4:01 PM
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>
05-25-2006 4:02 PM
05-25-2006 4:08 PM
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
05-25-2006 4:09 PM
Write a select single on this table: TBDLS
select single LOGSYS from TBDLS into v_logsys.
REgards,
Ravi
05-25-2006 4:15 PM
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 thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"
05-25-2006 7:10 PM
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