Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAPDoc: Warning regarding synchronized Paragraph-tag

Jeansy
Active Contributor
375

Dear Community,

I started to work with ADT some weeks ago and now I have a question regarding some warnings I receive in ADT related to some ABAPDoc-comments.

This is the warning message for which I do not know the reason:

Type Tag '</p>' is not expected. Tag '</p class="shorttext synchronized">' is expected at this position<br>

This is the related coding fragment:

    "! <p class="shorttext synchronized">Reading Material Text</p>
    "! @parameter iv_matnr | Material
    "! @parameter rv_maktx | Material Text
    CLASS-METHODS get_maktx
      IMPORTING iv_matnr        TYPE matnr
      RETURNING VALUE(rv_maktx) TYPE maktx.
      
    "! <p class="shorttext synchronized">Output of Data in SALV</p>
    "! @parameter ct_tb_data | TB-Data
    CLASS-METHODS show_salv CHANGING ct_tb_data TYPE zwm_t_pvb_order_v2.

The warning tells me to add the class (to synchronize the documentation) as well to the closing-tag which does not make sense for me.

Do you have a hint how to avoid these warnings?

SAP BASIS-Release is 740, SP 10

Thank you very much 🙂

Kind regards
Jens

1 ACCEPTED SOLUTION

schneidermic0
Advisor
Advisor
283

Hi Jens,

Unfortunately, the addition class="shorttext synchronized" is not supported in release 7.40. It has been introduced with SAP_BASIS 7.50.

https://blogs.sap.com/2015/10/21/new-abap-doc-features-with-netweaver-75/

Kind regards,
Michael

4 REPLIES 4

schneidermic0
Advisor
Advisor
284

Hi Jens,

Unfortunately, the addition class="shorttext synchronized" is not supported in release 7.40. It has been introduced with SAP_BASIS 7.50.

https://blogs.sap.com/2015/10/21/new-abap-doc-features-with-netweaver-75/

Kind regards,
Michael

0 Kudos
281

Hi Michael,

Thank you for the clarification 🙂 Yes, this other warning comes up as well.

So I have no chance to synchronize these texts using this release, right?

Kind regards
Jens

281

Hi Jens,

I am afraid, unfortunately, I don't see an option in 7.40.

Kind regards,
Michael

schneidermic0
Advisor
Advisor
0 Kudos
281

When I have just tested it in one of our 7.40 systems, I have also got a second warning:

Tag '<p class="shorttext synchronized">' is not allowed in ABAP-Doc-comments

Do you see this warning, too?