How To Fix SPRX072 - Le type fait partie d'une récursivité (cf. texte descr. pr plus d'infos).


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SPRX - Proxy Generation

  • Message number: 072

  • Message text: Le type fait partie d'une récursivité (cf. texte descr. pr plus d'infos).

  • Show details Hide details
  • Quelle est la cause de ce problème?

    The type contains recursions. This means that a type references itself
    (possibly indirectly).
    Example:
    A packing unit is described by its length, width, height, and content.
    The content can also consist of packing units.
    <complexType name="PackingUnit">
    <sequence>
    <element name="length" type="int"/>
    <element name="width" type="int"/>
    <element name="height" type="int"/>
    <element name="content" type="PackingUnit"
    maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    In ABAP, recursively defined structures are not possible.
    Currently, the only solution is to replace a recursive reference by a
    reference to the data element XSDANY, so that the structure looks like
    this:
    Dictionary structure PACKING_UNIT
    Field LENGTH TYPE INT4
    Field WIDTH TYPE INT4
    Field HEIGHT TYPE INT4
    Field CONTENT TYPE PACKING_UNIT_CONTENT_TAB
    Dictionary table type PACKING_UNIT_CONTENT_TAB
    Line type XSDANY (not TYPE PACKING_UNIT)

    Le système émet un message d'erreur et ne vous permettra pas de poursuivre cette transaction tant que l'erreur n'est pas résolue.

    The programmer must fill this XSDANY field correctly. For more
    information see <DS:TX.SXI_PROXY_RAW_DATA>Handling raw XML data</>.

    Réponse du système

    The system displays a warning for each type which is part of a
    recursion. The type cannot be activated if the DDIC type to be
    generatedalso contains a recursion.

    Comment corriger cette erreur?

    To be able to activate the proxy you have to "break" the recursion by
    mapping at least on chain of each recursion to XSDANY. This is done by
    setting the flag <DS:DE.PRX_USE_XSDANY>Untyped mapping</> in the detail
    vie of the corrosponding data type.

    Procédure pour les administrateurs système


    Extrait du message d'erreur du système SAP. Copyright SAP SE.


Smart SAP Assistant

  • Quelle est la cause et la solution de l'erreur SAP SPRX072 - Le type fait partie d'une récursivité (cf. texte descr. pr plus d'infos). ?




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


Messages d'erreur SAP associés

Cliquez sur les liens ci-dessous pour voir les messages connexes suivants:

Cliquez sur ce lien pour rechercher tous les messages SAP.


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