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: 

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

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

horst_keller
Product and Topic Expert
Product and Topic Expert

No, this is not possible.

4 REPLIES 4

FredericGirod
Active Contributor

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

horst_keller
Product and Topic Expert
Product and Topic Expert

No, this is not possible.

Sandra_Rossi
Active Contributor

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.

sailaja_rangam
Explorer

Not Possible