One thought on “SAP中获取当前用户相关信息的两个函数

  1. Hi:
    You can try the following RFC to get user`s IP.
    If you omit the key word “DESITNATION”,You will get
    the application server IP.
    best regards.

    DATA RFCSI TYPE RFCSI.
    CALL FUNCTION ‘RFC_SYSTEM_INFO’
    DESTINATION ‘SAPGUI’
    IMPORTING
    RFCSI_EXPORT = RFCSI.
    WRITE RFCSI-RFCIPADDR.

发表评论

电子邮件地址不会被公开。