03-24-2008 9:44 AM
Hi All,
Is there any way by which i can know the I.P address of the server on which my program is running.
waiting for reply.
Thanks and Regards.
03-24-2008 9:47 AM
Ashish,
In the SAP Logon box just select on the Dev/Qual and click on the change item to see the IP address of that particular server.Is that what you are looking for?
K.Kiran.
03-24-2008 9:47 AM
Ashish,
In the SAP Logon box just select on the Dev/Qual and click on the change item to see the IP address of that particular server.Is that what you are looking for?
K.Kiran.
03-24-2008 9:48 AM
Hi,
on desktop
START----->run >cmd>type ipconfig>Enter
you will get the IP address..
If you want programatically
DATA terminal LIKE usr41-terminal.
CALL FUNCTION 'TERMINAL_ID_GET'
EXPORTING
username = sy-unamegf
IMPORTING
terminal = terminal.
WRITE:/ 'Terminal:',terminal.
Psl. reward if useful...
03-24-2008 9:52 AM
REPORT zipaddr
DATA: BEGIN OF KINFOSTRUC,
RSYN_FILE(40) TYPE C,
IP_ADDRESS(15) TYPE C,
KERNEL_RELEASE(3) TYPE C,
DATABASE_LIBRARY(16) TYPE C,
DATABASE_DBSLVERS(16) TYPE C,
KERNEL_COMPILATION(45) TYPE C,
KERNEL_PATCH_LEVEL(5) TYPE C,
SUPPORTED_SAP_VERS(40) TYPE C,
SUPPORTED_DATABASE(40) TYPE C,
VALID_OP_SYSTEM(50) TYPE C,
OP_SYSTEM_RELEASE(25) TYPE C,
ABAP_LOAD(5) TYPE C,
CUA_LOAD(3) TYPE C,
KERNEL_KIND(6) TYPE C,
END OF KINFOSTRUC.
DATA: BEGIN OF KERNEL_VERSION OCCURS 0,
KEY(21) TYPE C,
DATA(69) TYPE C,
END OF KERNEL_VERSION.
CLEAR KINFOSTRUC.
CALL 'SAPCORE' ID 'ID' FIELD 'VERSION'
ID 'TABLE' FIELD KERNEL_VERSION-*SYS*.
READ TABLE KERNEL_VERSION INDEX 11.
write :/1 KERNEL_VERSION-key, 25 KERNEL_VERSION-data.
Rgds
Vijay
03-24-2008 9:55 AM
Hi
Use t.code SM04. It will all the user logged on to the server with their list of user names. Which transaction codes they are working actively.System number on the network which they are working on.
Hope this helps.
Reward points if is useful
Thanks & Regards
Ganesh
03-24-2008 9:56 AM
03-24-2008 9:57 AM
Go to SAP LOGON,
CLICK ON CHANGE ITEM,THERE YOU CAN GET THE IP ADDRESS
03-24-2008 10:02 AM
Hi all thnx a lot for ur replies
but i want to know the I.P of the application server not the presentation server and through my abap program.
03-24-2008 10:55 AM
thnx a lot buddies..
got the answer.
Edited by: ashish pandey on Mar 24, 2008 11:56 AM
03-24-2008 10:59 AM
03-24-2008 11:02 AM
03-24-2008 11:55 AM
Try using the FM TH_SERVER_LIST.
The FM TH_SERVER_LIST will give you the list of all the application servers that you see in SM51 transaction.
The HOSTADDR_V4_STR / HOSTADDR_V6_STR field returned thru the tables LIST_IPV6 will give you the IP address of the application server.
Hope this helps.
Thanks,
Balaji