abap Comments


BAP has 2 ways of defining text as a comment.

An asterisk (*) in the leftmost column of a line makes that line a comment. A double quotation mark (>>”<<) anywhere on a line makes the rest of that line a comment.
Example

***************************************
** Program: BOOKINGS **
** Author: Joe Byte, 07-Jul-2007 **
***************************************

REPORT BOOKINGS.

* Read flight bookings from the database
SELECT * FROM FLIGHTINFO
WHERE CLASS = ‘Y’ “Y = economy
OR CLASS = ‘C’. “C = business
(…)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s