How To Fix SABAP_DOC105 - Position incorrecte pour commentaire ABAP Doc dans une séq. d'instruct.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SABAP_DOC - ABAP Doc messages

  • Message number: 105

  • Message text: Position incorrecte pour commentaire ABAP Doc dans une séq. d'instruct.

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

    The ABAP-Doc-comment is located at the wrong position in the source
    code.
    An ABAP-Doc-comment-block is introduced by the character combination "!.
    It has to be located directly in front of a declarative statement (e.g.,
    data declaration, method definition, class definition).
    Example
    <EX>"! This is a documentation for the following constant</>
    <EX>constants co_initial_value type i value 0.</>
    You can use multiple lines for your documentation to document your
    source code elements. In this case you have to add the character
    combination "! in front of each line.
    Example
    <EX>"! This documentation for the following constant is documented</>
    <EX>"! in multiple lines.</>
    <EX>constants co_initial_value type i value 0.</>
    If you want to document a block of statements by using the ABAP
    colon-comma-semantic the ABAP Doc comment block must be located in front
    of the identifier and must be after the colon.
    Example
    <EX>constants:</>
    <EX> "! Initial value</>
    <EX> co_initial_value type i value 0<(>,<)></>
    <EX> "! Invalid value</>
    <EX> co_invalid_value type i value -1.</>

    Réponse du système

    Syntax check returns a warning.

    Comment corriger cette erreur?

    Put the ABAP-Doc comment at the right position in the source code.
    If the comment is not an ABAP-Doc-comment, but a standard comment and
    starts with the character combination "!, you can add a space between
    the characters " and ! to declare this comment as standard comment.

    Procédure pour les administrateurs système

    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.


    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 SABAP_DOC105 - Position incorrecte pour commentaire ABAP Doc dans une séq. d'instruct. ?




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