问题描述:配置SM59 连接时报错CALLBACK_REJECTED_BY_WHITELIST
报错简介:
RFC callback call rejected by positive list
报错内容:
An RFC callback has been prevented due to no corresponding positive
list entry being configured. The original RFC called function module
“RS_SCRP_GF_PROCESS_640” in the target system with destination “EU_SCRP_WN32”.
The callback called
function module “RS_SCRP_GF_RBUILDINFO” in the original system.
前置条件:
rfc/callback_security_method = 3
解决办法:
方法1.使用非图形化的ABAP编辑器
SE80->Utilities -> Settings->Screen Painter
取消勾选Graphical layout editor
方法2.在SM59中指定callback allowlist
Called function module / callback function module
RS_SCRP_GF_PROCESS_640 RFC_GET_FUNCTION_INTERFACE
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RBUILDINFO
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RDDICFIELDS
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RDOCU
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RELEMTABLE
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RHELPGETTEXT
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RICONS
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RKEYS
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RKEYTEXTS
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RMESSAGES
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RPROPTABLE
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RPROP_DELETE
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RSHLP
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RSTATUS_40
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RTEXTS
方法3.(最省事)修改参数跳过回调安全验证
rfc/callback_security_method = 0
Value 0: Emergency fallback mode: All whitelists are ignored.
Value 1: Compatibility mode (default value): Only callbacks prohibited by active whitelists are rejected.
Value 2: Simulation mode: Only callbacks prohibited by active whitelists are rejected.
Callbacks prohibited by non-active whitelists are allowed, but logged in SAL.
Value 3: Most secure mode: Callbacks prohibited by active or non-active whitelists are rejected.
参考SAP NOTE 2251931