获取用户IP地址及用户名

 获取用户IP地址及用户名:
  call function 'TH_USER_INFO'    " Get user IP,hostname
   importing
     hostaddr = iporg”转化前的IP地址
     terminal = host”计算机名
*其他省略
  exceptions
    others   = 1.
 
 
posted @ 2014-01-22 09:20  胡来  阅读(238)  评论(0编辑  收藏  举报