Application Development and Automation 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: 
Read only

How to create a middle-line comment in ABAP code?

3,903

I'm wondering if there is any way to comment out part of a line, like you can do in c++ with /*this*/. The only comments I know about are " this which always goes to the end of the line and the *these , which do not work mid-line.

Is it possible? abap has surprised me a few times before.

1 ACCEPTED SOLUTION
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
2,389

No, this is not possible.

4 REPLIES 4
Read only

FredericGirod
Active Contributor
2,389

Hi

not possible

only star at the beginning of a column or " anywhere in a line and comment all the rest of the line

regards

Fred

Read only

retired_member
Product and Topic Expert
Product and Topic Expert
2,390

No, this is not possible.

Read only

Sandra_Rossi
Active Contributor
2,389

I agree with Horst and Frédéric. Anyway, as ABAP has usually long statements, it's frequent to use several lines for one statement, so the " can be used at the end of every line, so in the middle of the statement, achieving almost the same goal.

Read only

sailaja_rangam
Explorer
2,389

Not Possible