Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WL022 - User & is not a permitted user for callback


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WL - Workflow: run-time messages

  • Message number: 022

  • Message text: User & is not a permitted user for callback

  • Show details Hide details
  • What causes this issue?

    An inbound XML response document always has to be connected with a
    valid user/ password combination so that the SAP System accepts the XML
    response document. You can define permitted users for the Web work
    item. The logon to the SAP System has to be performed under these
    users so that the content of the XML response document is also edited
    from the Web work item.
    However, the logon of the XML response document was performed under the
    user &V1&, which is not one of the permitted users.

    System Response

    The XML response document is not edited and the Web work item is not
    changed.

    How to fix this error?

    Check whether the user under which the logon took place is one of the
    permitted users. Check whether the determination of the permitted users
    gave the desired result. Note that the user for the Web activity also
    has to be a possible user of the associated reference workflow.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WL022 - User & is not a permitted user for callback ?

    The SAP error message:

    WL022 User & is not a permitted user for callback

    typically occurs in the context of SAP Web Dispatcher or SAP Gateway when a user tries to perform a callback operation but is not authorized or configured as a permitted user for such callbacks.


    Cause

    • The user attempting the callback is not listed in the allowed users for callback operations.
    • SAP Web Dispatcher or the SAP Gateway has a security setting that restricts which users can perform callbacks.
    • This is a security measure to prevent unauthorized users from initiating callback connections, which could be a security risk.

    Explanation

    In SAP systems, callbacks are used in scenarios where the server needs to initiate a connection back to the client or another system. To prevent misuse, only certain users are allowed to perform these callbacks. If a user who is not in the permitted list tries to perform such an operation, the system throws the WL022 error.


    Solution

    1. Check the list of permitted users for callback:

      • For SAP Web Dispatcher, check the parameter icm/HTTP/callback_users in the profile or instance parameters.
      • For SAP Gateway, check the parameter gw/callback_users.
    2. Add the user to the permitted users list:

      • Add the username (or a pattern matching the username) to the callback users parameter.
      • Example:
        icm/HTTP/callback_users = user1,user2,user3
      • Or for Gateway:
        gw/callback_users = user1,user2,user3
    3. Restart the SAP Web Dispatcher or Gateway service to apply the changes.

    4. Verify the user ID used in the callback is correct and matches the one configured.


    Additional Information

    • Security Consideration: Only add trusted users to the callback users list to avoid security risks.
    • SAP Notes: Check SAP Notes related to WL022 for any patches or updates.
    • Logs: Review SAP Web Dispatcher or Gateway logs for more details on the error.
    • Transaction /IWFND/MAINT_SERVICE: In case of OData services, ensure the user has the correct authorizations.

    Summary

    Aspect Details
    Error WL022 User & is not a permitted user for callback
    Cause User not authorized for callback operations
    Solution Add user to icm/HTTP/callback_users or gw/callback_users parameter and restart service
    Security Only add trusted users to avoid security risks
    Related Areas SAP Web Dispatcher, SAP Gateway, ICM parameters

    If you need help with the exact steps to modify parameters or check logs, please let me know!

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant