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

How to konw ternial id

Sir,

I have task through which I'm going to show created documents or master records on date basis. In that I'm showing

for example :- 1) material id 2) creation date or changing date 3) user and 4) TERNINAL i.e on which PC it was created

for that I'm using TERMINAL_ID_GET function module but I'm not getting results. Please, any one can explain me how to

use above function module or any other option if available..

Thanks

Manoj.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 11:50 AM

    Hi Manoj,

    try this.

    data: ip_address(50).

    call method cl_gui_frontend_services=>get_ip_address

    receiving

    ip_address = ip_address

    EXCEPTIONS

    CNTL_ERROR = 1

    ERROR_NO_GUI = 2

    NOT_SUPPORTED_BY_GUI = 3

    others = 4

    .

    write:/ ip_address.

    Refer above code.

    Regards,

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 11:51 AM

    Hi,

    Try FM 'ISH_N2_GET_TERMINAL_ID'. Gives IP and Terminal

    Thanks,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 11:53 AM

    Hi manoj,

    See this link

    https://wiki.sdn.sap.com/wiki/display/Snippets/IPAddressofasystem

    hope this helps

    Regards,

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 11:53 AM

    Hi,

    In FM 'TERMINAL_ID_GET' give username it will return terminal.

    or

    Try FM 'ISH_N2_GET_TERMINAL_ID'. Gives IP and Terminal

    Thanks,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 12:44 PM

    Execute the function module.

    In the import parameter give the user id.

    Execute.

    It will give the terminal ID.

    __Import Parameters_ Value_

    USERNAME RAGHAVRA

    Export Parameters Value

    TERMINAL 10.4.35.65-wludej650457

    Regards

    Ramesh Sundaram

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 09, 2009 at 12:51 PM

    Those functions only return the teminal of a user who is currently logged on. You are trying to retrieve this for historical data, which I strongly believe is not really feasible. You would need to scan through statistical records which link terminal id and user name at the time of document creation.

    Thomas

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Thomas,

      I am really appreciate for your answer. However, You said, I have to scan through statistical records which link terminal id and user name at the time of document creation. So, can you suggested the tables where I will get this necessary information.

      Thanks

      Manoj.

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.