SPRX067 - The XSD type &1 does not exactly correspond to the ABAP type &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SPRX - Proxy Generation

  • Message number: 067

  • Message text: The XSD type &1 does not exactly correspond to the ABAP type &2

  • Show details Hide details
  • What causes this issue?

    You used the XSD Type &V1& in the interface description.
    This cannot be mapped exactly to ABAP since
    the permitted value ranges &V1& and &V2& do not match exactly.
    The value ranges for the following types do match exactly (these should
    be used in preference to others):
    xsd:string with length > 65535 (becomes STRING in ABAP)
    xsd:string with length <= 65535 (becomes CHAR in ABAP)
    xsd:string with length <= 65535 and pattern="\d+" (becomes NUMC im
    ABAP)
    xsd:int (becomes INT4 im ABAP)
    xsd:short (becomes INT2 im ABAP)
    xsd:byte (becomes INT1 im ABAP)
    xsd:date (becomes DATE im ABAP)
    xsd:time (becomes TIME im ABAP)
    xsd:decimal with fractionDigits <= 14 and totalDigits <= 31 (becomes
    DEC im ABAP)
    xsd:binary with length > 65535 (becomes RAWSTRING im ABAP)
    xsd:binary with length >= 65535 (becomes RAW im ABAP)

    System Response

    The systems displays a warning for this type.

    How to fix this error?

    You must check the permitted value range when entering these types in
    your program.

    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 SPRX067 - The XSD type &1 does not exactly correspond to the ABAP type &2 ?




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


Feature Free Access Free Trial
Basic SAP error explanation T-Code Explanation T-Code Explanation 2
Step-by-Step Usage Guide Step-by-Step Step-by-Step 2
Interactive SAP Coach Assistance Interactive SAP Interactive SAP 2
AI Troubleshooting for T-Code Errors AI Troubleshooting AI Troubleshooting 2

Related SAP Error Messages

Click the links below to see the following related messages:


SAP messages fall into 3 different categories: Error messages (message type = E), Warnings (W) or Informational (I) messages.

An error message will prevent you from continuing your work - it is a hard stop and you need to fix the error before you can proceed. A warning message will stop your work, however, you can then bypass the warning by pressing the Enter key on your keyboard. That said, it is still good practice to investigate the cause of the warning message and address it. An information message will not stop your work and is truly just for informational purposes.

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