Home > ABAP, ALV > ABAP Report Template

ABAP Report Template

January 7th, 2010 Leave a comment Go to comments

Here is the abap report program template. I record it in my blog for further reference.

************************************************************************
*  Program ID     : ZRPSD_TEST                                         *
*  Program Title  : Sales test report                                  *
*  Created By     : XXXXX XXXXX                                        *
*  Creation Date  : 01/07/2010                                         *
*  REQ # / CRF #  : REQ # 100                                          *
*                                                                      *
*  Description    :                                                    *
*                                                                      *
*                                                                      *
*  Additional Information :                                            *
*                                                                      *
************************************************************************
*                     Modification History                             *
************************************************************************
*  Date       User ID       REQ # CRF #     Transport # / Description  *
*  ---------- ------------  -------------   -------------------------  *
*  01/07/2010 XXXXXXX       REQ 100         XXXK900003                 *
*             Initial Version                                          *
************************************************************************
 
REPORT  ZRPSD_TEST MESSAGE-ID zsd.
 
*--Contains all the declarations
INCLUDE zilsd_test_top.
 
*--Contains all screen declarations and validations
INCLUDE zilsd_test_scrn.
 
*--Contains all subroutines with program processing logic
INCLUDE zilsd_test_sub.
 
*----------------------------------------------------------------------*
* Declaration of Tables                                                *
*----------------------------------------------------------------------*
 
*----------------------------------------------------------------------*
* Declaration of Variables                                             *
*----------------------------------------------------------------------*
 
*----------------------------------------------------------------------*
* Declaration of Constants                                             *
*----------------------------------------------------------------------*
 
*----------------------------------------------------------------------*
* Declaration of Flags                                                 *
*----------------------------------------------------------------------*
 
*----------------------------------------------------------------------*
* Declaration of Internal Tables                                       *
*----------------------------------------------------------------------*
 
*----------------------------------------------------------------------*
* Selection Screen                                                     *
*----------------------------------------------------------------------*
 
*----------------------------------------------------------------------*
* Initialization                                                       *
*----------------------------------------------------------------------*
 
*----------------------------------------------------------------------*
* At Selection screen                                                  *
*----------------------------------------------------------------------*
 
*----------------------------------------------------------------------*
* Start of Selection                                                   *
*----------------------------------------------------------------------*
 
*----------------------------------------------------------------------*
* End of Selection                                                     *
*----------------------------------------------------------------------*