<?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's Physical Address in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576888#M260424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea on this.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2006 14:13:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-12T14:13:30Z</dc:date>
    <item>
      <title>system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576885#M260421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you go to command prompt, type IPCONFIG/all then you will get the physical address. Is it possible to know the same from SAP. Is there any FM or Class to get the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the IP Address using the class &lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;get_ip_address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 10:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576885#M260421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T10:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576886#M260422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this Fm /SDF/SYSTEM_INFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 10:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576886#M260422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T10:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576887#M260423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry vasanth it's not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will look like&lt;/P&gt;&lt;P&gt;Physical Address. . . . . . . . . : 00-14-C2-0F-6E-2E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 10:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576887#M260423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576888#M260424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea on this.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 14:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576888#M260424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576889#M260425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mr.Ramu, &lt;/P&gt;&lt;P&gt;  May be try to execute local shell script with WS_EXECUTE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL 'ThUsrInfo' ID  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vivekanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 14:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576889#M260425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T14:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576890#M260426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ysample60 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : o_alvgrid TYPE REF TO cl_gui_frontend_services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ip_address TYPE char50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;get_ip_address&lt;/P&gt;&lt;P&gt;RECEIVING&lt;/P&gt;&lt;P&gt;ip_address = ip_address&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;cntl_error = 1&lt;/P&gt;&lt;P&gt;error_no_gui = 2&lt;/P&gt;&lt;P&gt;not_supported_by_gui = 3&lt;/P&gt;&lt;P&gt;OTHERS = 4.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT ip_address IS INITIAL.&lt;/P&gt;&lt;P&gt;write i_address.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM &amp;lt;b&amp;gt;ARFC_GET_TID&amp;lt;/b&amp;gt;will return the IP address of the terminal in hex. Again you have convert HEx to dec format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 14:36:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576890#M260426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T14:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576891#M260427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This FM &amp;lt;b&amp;gt;TERMINAL_ID_GET&amp;lt;/b&amp;gt;  directly provides IP address. Tested working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 14:42:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576891#M260427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576892#M260428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vivek,&lt;/P&gt;&lt;P&gt;Thanks for the effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't want the IP Addess, I have already got that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the &amp;lt;b&amp;gt;system's Physical address&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 14:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576892#M260428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T14:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576893#M260429</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;This kind of information is highly dependent on the Operating System (I guess it is not the same for IP address ??)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating an external command (say Y_MAC_ADDRESS) in &amp;lt;b&amp;gt;transaction SM69&amp;lt;/b&amp;gt; based on this document and on your OS :&lt;/P&gt;&lt;P&gt;&lt;A href="http://www-dcn.fnal.gov/DCG-Docs/mac/index.html" target="test_blank"&gt;http://www-dcn.fnal.gov/DCG-Docs/mac/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, run the &amp;lt;b&amp;gt;transaction SM49&amp;lt;/b&amp;gt; with the new command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do it programmatically, use &amp;lt;b&amp;gt;FM 'SXPG_COMMAND_EXECUTE'&amp;lt;/b&amp;gt; with the name of the external command (Y_MAC_ADDRESS) !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 15:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576893#M260429</guid>
      <dc:creator>guillaume-hrc</dc:creator>
      <dc:date>2006-10-12T15:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576894#M260430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some googling.. i found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A physical address is a unique hardware-level address associated with a specific network controller. A device's physical address is also called its Media Access Control (MAC) address. On Ethernet, the physical address is a six-byte hexadecimal number assigned by the Ethernet hardware manufacturer. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0000D801CFF2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think the same can be obtained from SAP. Also try to contact BASIS guys. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 16:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576894#M260430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T16:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576895#M260431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guillaume,&lt;/P&gt;&lt;P&gt;Thanks for your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what should be given in &lt;/P&gt;&lt;P&gt;Operating system command and &lt;/P&gt;&lt;P&gt;Parameters for operating system commands&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried with Operating system command  = ipconfig/all. But is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 16:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576895#M260431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576896#M260432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code:&lt;/P&gt;&lt;P&gt;If folder c:\temp\ doesnt exist, create or change to a different one.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: appl type string,
      param type string.

data: gt_ipconfig type table of char255,
      gs_ipconfig type char255.

appl = 'cmd'.
param = '/c ipconfig /all&amp;gt;c:tempipconfig.txt'.

call method cl_gui_frontend_services=&amp;gt;execute
   exporting
*    DOCUMENT               = appl
     application            = appl
     parameter              = param
*    DEFAULT_DIRECTORY      =
*    MAXIMIZED              =
*    MINIMIZED              =
     synchronous            = 'X'
*    OPERATION              = 'OPEN'
  exceptions
    cntl_error             = 1
    error_no_gui           = 2
    bad_parameter          = 3
    file_not_found         = 4
    path_not_found         = 5
    file_extension_unknown = 6
    error_execute_failed   = 7
    synchronous_failed     = 8
    not_supported_by_gui   = 9
    others                 = 10
        .
if sy-subrc &amp;lt;&amp;gt; 0.
  message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.

call function 'GUI_UPLOAD'
  exporting
    filename                = 'c:tempipconfig.txt'
  tables
    data_tab                = gt_ipconfig
  exceptions
    file_open_error         = 1
    file_read_error         = 2
    no_batch                = 3
    gui_refuse_filetransfer = 4
    invalid_type            = 5
    no_authority            = 6
    unknown_error           = 7
    bad_data_format         = 8
    header_not_allowed      = 9
    separator_not_allowed   = 10
    header_too_long         = 11
    unknown_dp_error        = 12
    access_denied           = 13
    dp_out_of_memory        = 14
    disk_full               = 15
    dp_timeout              = 16
    others                  = 17.
if sy-subrc &amp;lt;&amp;gt; 0.
  message id sy-msgid type sy-msgty number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.

loop at gt_ipconfig into gs_ipconfig.
  if gs_ipconfig cs 'Physical Address'.
    write:/ gs_ipconfig.
  endif.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sridhar K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 16:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576896#M260432</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-10-12T16:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: system's Physical Address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576897#M260433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sridhar. Problem is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 16:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-s-physical-address/m-p/1576897#M260433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T16:13:43Z</dc:date>
    </item>
  </channel>
</rss>

