Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

ABAP: Comments

Comments are used to Document the Abap application. There are two kinds of comments.

a.   Full line comments
b.   Partial line comments

Full line comments
Full line comments are start with *.

Example
* I used to document the code.

ZHELLO_WORLD
*---------------------------------------------------------------------
* Report zhello_world
*---------------------------------------------------------------------
*
*---------------------------------------------------------------------

REPORT zhello_world.

Write: 'Hello World'.

Partial line comments
Partial line comments starts with " (Double quote).


ZHELLO_WORLD
*---------------------------------------------------------------------
* Report zhello_world
*---------------------------------------------------------------------
*
*---------------------------------------------------------------------

REPORT zhello_world.

Write: 'Hello World'. "I am partial line comment




Previous                                                 Next                                                 Home


This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here

Share the post

ABAP: Comments

×

Subscribe to Java Tutorial : Blog To Learn Java Programming

Get updates delivered right to your inbox!

Thank you for your subscription

×