SAP ABAP 获取终端IP

当Web Dispatcher或其他负载均衡器部署在ABAP系统前,SM04/AL08中不会显示客户端IP。解决方案包括设置ABAP应用服务器参数icm/use_xforwardedfor_header = true,并确保Web Dispatcher配置wdisp/add_xforwardedfor_header = true。可以使用'TH_USER_INFO'函数获取终端IP地址。

1464242 - Display of Client IP via Web Dispatcher in SM04/AL08

Symptom

When a Web Dispatcher or other load balancer is deployed in front of the ABAP system, the terminal client IP addresses are not displayed in SM04 / AL08.

Other Terms

Web Dispatcher, Load Balancer, Client IP, SM04, AL08

Reason and Prerequisites

This problem is caused by a program error.

Solution

Apply at least the patch level specified in the section "SP Patch Level".

To enable the use of the X-Forwarded-For header as provider of the terminal client IP address, the following parameter needs to be set in the ABAP app server:

icm/use_xforwardedfor_header = true

The parameter cannot be set dynamically with RZ11. A restart of the ABAP app server is required to activate the parameter after adding it to the profile.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值