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: 

Getting sy-sysid from different server

Former Member
0 Kudos

Hi experts,

I have a scenario in had .........

In a CUA architecture there are many child servers and one parent servers........

I need to get sy-id (sy-sisid) of defferent child servers without RFC calls...

Is there any way doing it ....

Waiting for ur replies.............

Thanks

1 REPLY 1

former_member156446
Active Contributor
0 Kudos

without RFC its almost impossible.

you can get the comp name:

*PARAMETER: p_c TYPE c.
*DATA: BEGIN OF usr_tabl OCCURS 10.
*        INCLUDE STRUCTURE uinfo.
*DATA: END OF usr_tabl.
*
*DATA th_opcode(1) TYPE x.
*
*DATA: size TYPE i.
*CONSTANTS: opcode_list LIKE th_opcode VALUE 2.
*
*CALL 'ThUsrInfo' ID 'OPCODE' FIELD opcode_list
*ID 'TAB' FIELD usr_tabl-*sys*.
*
*DESCRIBE TABLE usr_tabl LINES size.
*READ TABLE usr_tabl INDEX size.