‎2022 Jan 05 10:12 AM
Hello,
In cases when I am using the ABAP Doc for all of the class methods, it works fine. But when I assign ABAP Doc to the class constructor, it does not display in Eclipse.
When I click F2 on the constructor itself, I get the "Code information is not available" error. On the class itself, it shows only the ABAP Doc created for the whole class, without the information about the constructor.

The code of ABAP Doc used:
"! <p class="shorttext synchronized" lang="en">Constructor creating the Excel file</p>
"!
"! @parameter is_head_data | Header data.
"! @parameter is_positions_mesh | Position data mesh.
"! @parameter iv_sysid | External system name.
"!
"! @raising zcx_excel | Error creating the Excel file.
After exporting the ABAP Doc to HTML, the documentation for the constructor shows properly. Also, the synchronized description is displayed in the SAP GUI as expected.
What's the problem? Thanks.
‎2022 Jan 26 7:31 AM
Hello Norbert,
on newer releases everything works as expected. I tested in on S/4HANA 2020 release.
We are checking if we can provide this also on the ERP releases.
A ticket would help here 😉
Regards,
Thomas.
‎2022 Jan 05 1:50 PM
You'd better see with SAP (notes, SAP support, Thomas Fiedler, etc.) and provide Eclipse version, ABAP version, etc.
‎2022 Jan 10 9:02 AM
Hello Sandra,
I have tested the issue using Eclipse 03-2021 and Eclipse 12-2021 and unfortunately, it is the case on both versions.
As far as I know, the ABAP version is 7.50.
‎2022 Jan 25 7:43 PM
Have you checked what happens when you trigger F2 on a new or create object statement of that class
Regards, Thom
‎2022 Jan 26 6:54 AM
Hello Thomas,
When I mark the class name which occurs after the "NEW" statement, it shows the description, not the constructor one but for the whole class. As far as I see, the same thing happens with the "CREATE OBJECT" statement.
The object which is created using those statements and assigned to some variable does not show any description at all until you click on the type of that variable. Then we come back to the description described before.
Regards.
‎2022 Jan 26 7:31 AM
Hello Norbert,
on newer releases everything works as expected. I tested in on S/4HANA 2020 release.
We are checking if we can provide this also on the ERP releases.
A ticket would help here 😉
Regards,
Thomas.