获取用户IP地址及用户名

 获取用户IP地址及用户名:
  call function 'TH_USER_INFO'    " Get user IP,hostname
   importing
     hostaddr = iporg”转化前的IP地址
     terminal = host”计算机名
*其他省略
  exceptions
    others   = 1.
 
 
http://blog.sina.com.cn/sapliumeng
原文地址:https://www.cnblogs.com/senlinmu110/p/3802238.html