<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: system fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227922#M138437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks alot dudes proble solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2006 15:15:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-24T15:15:42Z</dc:date>
    <item>
      <title>system fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227917#M138432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello friends,&lt;/P&gt;&lt;P&gt;i need some help from u, is there any system variable to findout the system (workstation) name becz i have print this when i print a smartform alont with the username&lt;/P&gt;&lt;P&gt;so as sy-uname is there any variable exists to identify the workstation name where i am working currently&lt;/P&gt;&lt;P&gt;if so plz let me know otherwise please guide me how to find out this &lt;/P&gt;&lt;P&gt;thanks in adavanse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 14:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227917#M138432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T14:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: system fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227918#M138433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can us ethe method GET_COMPUTER_NAME in the class&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 14:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227918#M138433</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-03-24T14:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: system fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227919#M138434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi naveenkumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Not only the workstation name,&lt;/P&gt;&lt;P&gt;  u can also get the IP Address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. use this FM&lt;/P&gt;&lt;P&gt;  TERMINAL_ID_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In that u will have to split&lt;/P&gt;&lt;P&gt;   the text&lt;/P&gt;&lt;P&gt;   for getting ip address and computer name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 14:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227919#M138434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T14:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: system fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227920#M138435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the method from the class CL_GUI_FRONTEND_SERVICES.  Make sure that you flush to the frontend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0001 .

data: name type string.

call method cl_gui_frontend_services=&amp;gt;get_computer_name
  changing
    computer_name        = name.

&amp;lt;b&amp;gt;call method cl_gui_cfw=&amp;gt;flush.&amp;lt;/b&amp;gt;


write:/ name.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 14:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227920#M138435</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-24T14:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: system fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227921#M138436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST_IPGET                             .

DATA: BEGIN OF USR_TABL OCCURS 10.
        INCLUDE STRUCTURE UINFO.
DATA: END OF USR_TABL.

DATA:TH_OPCODE(1)  TYPE X.
DATA: IPADDR(30).

CONSTANTS: OPCODE_LIST  LIKE TH_OPCODE VALUE 2.

CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE_LIST
ID 'TAB' FIELD USR_TABL-*SYS*.



LOOP AT USR_TABL.

  CALL FUNCTION 'GWY_IPADR2STRING'
    EXPORTING
      IPADR  = USR_TABL-HOSTADR
    IMPORTING
      STRING = IPADDR.

  WRITE:/ USR_TABL-BNAME ,USR_TABL-TERM, IPADDR.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;check the above code , it will give sytem name , ip address.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 14:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227921#M138436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T14:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: system fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227922#M138437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks alot dudes proble solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 15:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227922#M138437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T15:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: system fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227923#M138438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;chk this also

report ychatest .

data: name(25).

    CALL FUNCTION 'GUI_GET_DESKTOP_INFO'
      EXPORTING
        type          = 1
      changing
        return        = name
              .
write : name.

different options for type

1:  Host name (host name of current system)

2:  Windows directory

3:  System directory

4:  Temp. directory

5:  Domain user name

6:  Platform

7:  Windows build number

8:  Windows version

9:  Program name

10: Program path&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sekhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 15:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-fields/m-p/1227923#M138438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T15:20:42Z</dc:date>
    </item>
  </channel>
</rss>

