How To Fix EDOCUMENT_PE039 - No SUNAT product code found for SAP product code &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EDOCUMENT_PE - Messages for eDocuments Peru

  • Message number: 039

  • Message text: No SUNAT product code found for SAP product code &1

  • Show details Hide details
  • What causes this issue?

    You have not defined a SUNAT product code for the relevant SAP internal
    product code.

    System Response

    The system cannot submit the eDocument to SUNAT.

    How to fix this error?

    Ensure that you have correctly maintained the value mapping PRODUCT_CODE
    and the fix value MAND_PRODUCT_CODE. For more information about the
    required configurations, see the product assistance documentation on the
    SAP Help Portal.

    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 EDOCUMENT_PE039 - No SUNAT product code found for SAP product code &1 ?

    The SAP error message EDOCUMENT_PE039 indicates that there is no corresponding SUNAT product code found for the specified SAP product code in the context of electronic invoicing in Peru. This error typically arises when integrating SAP with SUNAT (the National Superintendency of Tax Administration in Peru) for electronic document processing, particularly for electronic invoices (e-invoices).

    Cause:

    1. Missing Mapping: The primary cause of this error is that the mapping between the SAP product code and the SUNAT product code is not defined in the system. Each product in SAP needs to have a corresponding SUNAT product code for electronic invoicing.
    2. Incorrect Configuration: There may be a configuration issue where the mapping table or configuration settings are not properly set up.
    3. Data Entry Error: The SAP product code being used may be incorrect or misspelled, leading to the inability to find a corresponding SUNAT code.

    Solution:

    1. Check Mapping Table: Verify that the mapping between SAP product codes and SUNAT product codes is correctly defined in the system. This is usually done in the configuration settings for electronic invoicing.

      • Navigate to the relevant configuration area in SAP (e.g., SPRO) and check the mapping settings.
      • Ensure that the SUNAT product codes are correctly assigned to the respective SAP product codes.
    2. Add Missing Mapping: If the mapping does not exist, you will need to create it:

      • Identify the SAP product code that is causing the error.
      • Obtain the corresponding SUNAT product code from the SUNAT documentation or database.
      • Add the mapping in the configuration settings.
    3. Validate Product Codes: Ensure that the product codes being used in the transaction are valid and correctly entered. Check for any typos or discrepancies.

    4. Consult Documentation: Refer to the official SUNAT documentation for the list of valid product codes and ensure that your mappings align with the latest requirements.

    5. Testing: After making the necessary changes, perform a test transaction to ensure that the error is resolved and that the electronic document can be processed successfully.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that may provide additional guidance or updates related to electronic invoicing and SUNAT integration.
    • SUNAT Guidelines: Familiarize yourself with SUNAT's guidelines and requirements for electronic invoicing to ensure compliance.
    • Support: If the issue persists after checking the mappings and configurations, consider reaching out to SAP support or your SAP consultant for further assistance.

    By following these steps, you should be able to resolve the EDOCUMENT_PE039 error and ensure proper integration with SUNAT for electronic invoicing.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker