Webinar: Secure Invoicing March 7 Registration

inquiry@gopus.de

+49(0)5943-914255

Online event: “E-invoicing obligation on the home stretch” on December 12th!

While checking transports, our ABAP experts encountered a runtime error when entering the graphical layout editor in the new SAP release S/4HANA. In the following blog post, we will explain how the runtime error occurs and how you can use the ABAP dump CALLBACK_REJECTED_BY_WHITELIST remedy.

The reason for the error message is a callback reject caused by whitelisting. The error can be resolved by adding an exception whitelist to your standard service whitelist (TCP/IP service).

The error is due to an RFC destination that allows a call from the SAP system to another program. The security guidelines have been tightened in S/4HANA, which means that calls from the SAP system to other programs can be problematic. By whitelisting you can ensure that the call is approved and the error is avoided.

Step-by-step instructions:

1. Go to SM59 and expand TCP/IP connection for port "EU_SCRP_WN32"

2. Go to the Logon and Security tab.

3. Now you need to add the following positive callback whitelist FMs. These callback FMs are called when the Graphical Layout Editor is opened. If we forget any of the FMs, the ABAP dump will continue.

Function called is RS_SCRP_GF_PROCESS_640 and callback functions are different. The following FMs (Called FM –> Callback FM) are changed:

RS_SCRP_GF_PROCESS_640 RFC_GET_FUNCTION_INTERFACE
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_PROCESS_640RFC_GET
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RBUILDINFO
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RELEMTABLE
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_RSTATUS_40
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RTEXTS
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RDDICFIELDS
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RHELPGETTEXT
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RPROP_DELETE
RS_SCRP_GF_PROCESS_640 RS_SCRP_GF_RSHLP

Tip: There must be no spaces after the FM name in the whitelist, otherwise the bump will continue to occur.

4. Conclusion: Once these FMs are serviced, the layout will open. This ensures security when calling RFC with the target parameter.

  1. Due to the parameter profile listed below, which is set to 3, the RFC callback check "Secure" is set to "Green", otherwise it shows "Red".

6. RFC callback status is highlighted in green

If you have further questions about the runtime error, feel free to contact us.

en_GBEnglish
SAP helpHow to fix the runtime error "CALLBACK_REJECTED_BY_WHITELIST" when starting the Graphical Layout Editor in S/4HANA