2022 Jan 20 9:10 PM
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
2022 Jan 26 7:24 AM
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
2022 Jan 26 7:24 AM
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
2022 Jan 26 7:48 AM
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
2022 Jan 26 8:15 AM
Hi Jens,
I am afraid, unfortunately, I don't see an option in 7.40.
Kind regards,
Michael
2022 Jan 26 7:24 AM
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?