Skip to Content
author's profile photo Former Member
Former Member

I.P address of the server

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Mar 24, 2008 at 09: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2008 at 09: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...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2008 at 09: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2008 at 09: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2008 at 09:56 AM

    Use FM : SLDAG_GET_ALL_SERVER_IDS

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2008 at 09:57 AM

    Go to SAP LOGON,

    CLICK ON CHANGE ITEM,THERE YOU CAN GET THE IP ADDRESS

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.