How To Fix SABAP_DOC105 - Posición incorrecta para comentario ABAP Doc en una sentencia encadenada


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SABAP_DOC - ABAP Doc messages

  • Message number: 105

  • Message text: Posición incorrecta para comentario ABAP Doc en una sentencia encadenada

  • Show details Hide details
  • ¿Qué causa este problema?

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

    Respuesta del sistema

    Syntax check returns a warning.

    ¿Cómo arreglar este error?

    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.

    Procedimiento para Administradoras de Sistemas

    El sistema emite un mensaje de error y no le permitirá continuar con esta transacción hasta que se resuelva el error.


    Extracto de mensaje de error del sistema SAP. Copyright SAP SE.


Smart SAP Assistant

  • ¿Cuál es la causa y la solución del error de SAP SABAP_DOC105 - Posición incorrecta para comentario ABAP Doc en una sentencia encadenada ?




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


Mensajes de error de SAP relacionados

Haga clic en los enlaces a continuación para ver los siguientes mensajes relacionados:

Haga clic en este enlace para buscar todos los mensajes de SAP.


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