How To Fix KJ336 - Asterisk not allowed as masking character for assignment definition


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KJ - Cost Object Controlling for Make-to-Order Production

  • Message number: 336

  • Message text: Asterisk not allowed as masking character for assignment definition

  • Show details Hide details
  • What causes this issue?

    You used an asterisk (*) instead of a plus sign (+) as the masking
    character.

    System Response

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

    How to fix this error?

    Use a plus sign instead of an asterisk.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KJ336 - Asterisk not allowed as masking character for assignment definition ?

    The SAP error message KJ336, which states "Asterisk not allowed as masking character for assignment definition," typically occurs in the context of assignment definitions in SAP Controlling (CO) when you are trying to use an asterisk (*) as a wildcard character in a field that does not support it.

    Cause:

    The error arises when you attempt to use the asterisk (*) in a field where it is not permitted. This often happens in the following scenarios:

    • When defining assignment rules or criteria in SAP CO, such as in cost center accounting or internal orders.
    • When trying to filter or mask certain values in a way that SAP does not allow.

    Solution:

    To resolve this error, you should:

    1. Check the Assignment Definition: Review the assignment definition where the error occurred. Ensure that you are not using an asterisk (*) in fields that do not support it.
    2. Use Valid Masking Characters: Instead of using an asterisk, use valid characters or specific values that are allowed in the context of your assignment definition. For example, you might use specific cost center numbers or ranges instead of wildcards.
    3. Consult Documentation: Refer to SAP documentation or help resources for the specific module you are working with to understand the allowed characters and formats for assignment definitions.
    4. Test Changes: After making the necessary adjustments, test the assignment definition again to ensure that the error is resolved.

    Related Information:

    • SAP Notes: Check SAP Notes for any updates or patches related to this error message. Sometimes, specific issues are documented with solutions or workarounds.
    • SAP Community: Engage with the SAP Community forums where other users may have encountered similar issues. You can find discussions and solutions that may help you.
    • Training and Documentation: If you frequently work with assignment definitions, consider additional training or reviewing SAP's official documentation to better understand the rules and limitations regarding masking characters.

    By following these steps, you should be able to resolve the KJ336 error and successfully define your assignments in SAP.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author