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

Close

How To Fix SCPRFC002 - Incorrect code page &1; must be a system code page


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SCPRFC -

  • Message number: 002

  • Message text: Incorrect code page &1; must be a system code page

  • Show details Hide details
  • What causes this issue?

    A system code page is necessary here.
    A code page is a system code page if one of the following conditions is
    met:
    the code page is in the column CHARCO of the table TCP0C; this table
    contains permitted configurations of platform, language, code page,
    locale, and so on.
    the code page is on the list of known code pages, table TCP00, and has
    the attribute CPISSYSTEM.
    Note 1047012 contains further information.

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

    System Response

    How to fix this error?

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SCPRFC002 - Incorrect code page &1; must be a system code page ?

    The SAP error message SCPRFC002 indicates that there is an issue with the code page configuration in the SAP system. This error typically arises when there is a mismatch between the code page being used and the expected system code page. Here’s a breakdown of the cause, potential solutions, and related information:

    Cause:

    1. Code Page Mismatch: The error occurs when the code page specified in the RFC (Remote Function Call) destination does not match the system's code page. Each SAP system has a defined code page that determines how characters are encoded and interpreted.
    2. Incorrect Configuration: The RFC destination may be incorrectly configured, pointing to a code page that is not supported by the SAP system.
    3. System Settings: The SAP system may have been set up with a specific code page that is not compatible with the code page being used in the communication.

    Solution:

    1. Check RFC Destination:

      • Go to transaction SM59 in the SAP GUI.
      • Locate the RFC destination that is causing the issue.
      • Check the settings, particularly the "Code Page" field. Ensure that it matches the system's code page.
    2. Verify System Code Page:

      • Use transaction RZ10 to check the profile parameters.
      • Look for the parameter icm/charset or sapcodepage to determine the system's code page.
      • Ensure that the code page used in the RFC destination matches this value.
    3. Adjust Code Page Settings:

      • If the code page in the RFC destination is incorrect, update it to match the system's code page.
      • If necessary, consult with your Basis team to ensure that the correct code page is being used for your specific SAP environment.
    4. Testing:

      • After making changes, test the RFC connection again to ensure that the error has been resolved.
    5. Documentation:

      • Review SAP documentation or notes related to code pages and RFC configurations for additional guidance.

    Related Information:

    • SAP Notes: Check SAP Notes for any specific guidance or patches related to code page issues. You can search for notes using the SAP Support Portal.
    • Character Set: Understanding the character set and how it relates to different languages and regions can help in configuring the correct code page.
    • SAP Community: Engage with the SAP Community forums for insights from other users who may have encountered similar issues.

    By following these steps, you should be able to resolve the SCPRFC002 error and ensure that your SAP system is correctly configured for RFC communications.

    • 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