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: 

ABAP Doc Parameter Type Description Generation

frankmueller9
Participant
0 Kudos

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


4 REPLIES 4

BGI
Participant

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

frankmueller9
Participant
0 Kudos

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.

New ABAP Doc Features with NetWeaver 7.5

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Frank,

this feature is currently not planned.

Regards,

Thomas.

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