How To Fix PZ115 - IDoc creation: Error when converting country & to ISO code


SAP Error Message - Details

  • Message type: E = Error

  • Message class: PZ - Messages: Payment program for payment requests

  • Message number: 115

  • Message text: IDoc creation: Error when converting country & to ISO code

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message PZ115 - IDoc creation: Error when converting country & to ISO code ?

    The SAP error message PZ115 indicates that there is an issue with converting a country name to its corresponding ISO code during the creation of an IDoc (Intermediate Document). This error typically arises when the country name provided in the IDoc does not match any valid country names in the SAP system or when the country is not properly configured.

    Cause:

    1. Invalid Country Name: The country name provided in the IDoc does not exist in the SAP system or is misspelled.
    2. Missing Configuration: The country may not be configured in the system, or the ISO code mapping is missing.
    3. Data Format Issues: The format of the country name may not conform to the expected standards (e.g., leading/trailing spaces, incorrect casing).
    4. Custom Development: If there are custom developments or enhancements, they may not handle certain country names correctly.

    Solution:

    1. Check Country Name: Verify that the country name in the IDoc is correct and matches the names defined in the SAP system. You can check this in transaction code OXYA (for country codes) or SPRO (for configuration).

    2. Maintain Country Codes: If the country is not present, you may need to add it. This can be done in the configuration settings:

      • Go to SPRO -> SAP Reference IMG -> General Settings -> Set Countries.
      • Ensure that the country is listed and that the ISO code is correctly assigned.
    3. Data Validation: Ensure that the data being sent to the IDoc is validated before processing. This can include trimming spaces and ensuring the correct casing.

    4. Check Custom Code: If there are any custom programs or enhancements that handle IDoc processing, review the code to ensure it correctly handles country names and their conversion to ISO codes.

    5. Testing: After making changes, test the IDoc creation process again to ensure that the error is resolved.

    Related Information:

    • IDoc Types: Different IDoc types may have different requirements for country codes. Ensure you are using the correct IDoc type for your business process.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional guidance.
    • Documentation: Review SAP documentation related to IDoc processing and country code configuration for more detailed information.

    By following these steps, you should be able to resolve the PZ115 error and successfully create the IDoc.

    • 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
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