Tuesday, March 22, 2011

ABAP Skeleton

Use this comments to improve the readability of your ABAP code:
*----------------------------------------------------------------------*
* Report: XXXX                                                         *
*----------------------------------------------------------------------*
* Description:                                                         *
* Specification:                                                       *
* Developter:                                                          *
* Created On:                                                          *
* Version:                                                             *
*----------------------------------------------------------------------*
* Amendment History                                                    *
* ---------------------------------------------------------------------*
* Version Date        Developer        TR          Remarks             *
* ------- ----------  ----------       ----------  ------------------- *
* 001     22.03.2011  Mark Zuckerberg  ABC12345    Initial creation    *
*----------------------------------------------------------------------*
REPORT XXXX.

*----------------------------------------------------------------------*
* I N C L U D E S
*----------------------------------------------------------------------*
INCLUDE

*----------------------------------------------------------------------*
* T Y P E S
*----------------------------------------------------------------------*
TYPES:

*----------------------------------------------------------------------*
* G L O B A L  V A R I A B L E S
*----------------------------------------------------------------------*
DATA:

*----------------------------------------------------------------------*
* S E L E C T I O N - S C R E E N
*----------------------------------------------------------------------*
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
PARAMETER:
SELECTION-SCREEN END OF BLOCK block1.

*----------------------------------------------------------------------*
* A T - S E L E C T I O N - S C R E E N
*----------------------------------------------------------------------*
AT SELECTION-SCREEN.

 *----------------------------------------------------------------------*
* I N I T I A L I Z A T I O N
*----------------------------------------------------------------------*

*----------------------------------------------------------------------*
* S T A R T - O F - S E L E C T I O N
*----------------------------------------------------------------------*
START-OF-SELECTION.

*----------------------------------------------------------------------*
* E N D - O F - S E L E C T I O N
*----------------------------------------------------------------------*
END-OF-SELECTION.

*----------------------------------------------------------------------*
* S U B R O U T I N E S
*----------------------------------------------------------------------*