When a new screen will appear after clicking on layout button, the following error is occurred then follow below steps as a solution:
RFC callback call rejected by whitelist error

Solution:
What is an RFC callback?
It's a mechanism the called server can initiate to the calling client during synchronous RFC calls.
Step :1
Use "RZ11" tcode enter this parameter "rfc/callback_security_method" and hit F8

Step :2
Click on Change Value Then add New Value that value to "0" and save the changes

the behavior of value is introduced below
Value 0:
Emergency fallback mode:
All whitelists are ignored.
Value 1:
Compatibility mode (default value):
Only callbacks prohibited by active whitelists are declined.
Value 2:
Simulation mode:
Only callbacks prohibited by active whitelists are declined.
Callbacks prohibited by non-active whitelists are qualified but logged in SAL.
Value 3:
Most secure mode:
Callbacks prohibited by active or non-active whitelists are declined.