04-03-2019 8:27 AM
Hello,
I'm using CTRL+1 to generate the ABAP Doc of a method. Currently the following ABAP Doc will be generated.
"! <p class="shorttext synchronized" lang="en"></p>
"!
"! @parameter iv_matnr | <p class="shorttext synchronized" lang="en"></p>
"! @parameter iv_werks | <p class="shorttext synchronized" lang="en"></p>
methods do_something
IMPORTING
iv_matnr TYPE matnr
iv_werks TYPE werks_d.
Is there any way that the description of the parameters will be generated automatically from the dictionary like in SE80? So that it will look like this example? It is a huge effort to add the descriptions manually.
"! <p class="shorttext synchronized" lang="en"></p>
"!
"! @parameter iv_matnr | <p class="shorttext synchronized" lang="en">Material Number</p>
"! @parameter iv_werks | <p class="shorttext synchronized" lang="en">Plant</p>
methods do_something
IMPORTING
iv_matnr TYPE matnr
iv_werks TYPE werks_d.
Best regards
Frank
04-04-2019 7:09 AM
Hi Frank,
are you sure you need this? I suggest naming the variables differently, like iv_plant. Then you don't need to add redundant documentation and your code is more readable.
Best regards
Benjamin
04-04-2019 7:19 AM
Hi Benjamin,
thank you very much for your reply.
I need it for example to export the ABAP Doc as file as described in this blog.
08-27-2019 7:24 AM
09-07-2019 7:30 AM
Hi Thomas,
thank you very much for the information. This feature would save a lot of effort and would make the switch to ABAP in Eclipse easier. Is there a way that it will be implemented in a higher release?
Best regards
Frank