Login Form

Best viewed in IE 7.0

ADVERTISEMENTS
ADVERTISEMENT

Report writing notes / tips

Selection Screens

·         Frames for the following:

o    Selection Criteria: Required Fields

o    Selection Criteria: Optional Fields

o    Report options

§  Summary, Detail level

o    Output control

§  ALV report

§  Spreadsheet

§  Email….

Include structure

·         <Report name>_DATA: Data Include - contains all global constants, types, variables, structures and internal tables

·         <Report name>_SELSCR: Selection Screen Include – contains all selection screen select-options / parameters and the associated selection-screen validations

·         <Report name>_FORMxx: Form Routine Include – contains all form routines

o    xx: 00-99 - There can be multiple form includes based on the potential re-usability of form routines

Hard coding

·         No references to currencies

·         No references to languages

·         At the top of each ABAP program, include the following header.  All of the template programs listed in Appendix C include this header template.  The Program History section is to be used to document program changes as well as the initial creation of the program.  In addition, the documentation must include the calling program or routine for those programs that are called from specific locations (ie., user and field exits). 

 

Program header

*******************************************************************
*  Program Name      : ZPROG                                      *
*  Author            : Author Name                                *
*  Date              : mm/dd/yyyy                                 *
*-----------------------------------------------------------------*
* Description                                                     *
*-----------------------------------------------------------------*
*  Tables Used       :                SELECT UPDATE INSERT DELETE *
*  KNA1 - customer Master                X                        *
*                                                                 *
*  Input/Output Files:                                            *
*  P_INFILE        - Description                                  *
*  P_OUTFILE       - Description                                  *
*                                                                 *
*  Includes         :                                             *
*  Zaacx….x        - Description                                  *
*                                                                 *
*******************************************************************
* Program History                                                 *
*-----------------------------------------------------------------*
*  Date         Change No       Change Request                    *
*               Description                                       *
*-----------------------------------------------------------------*
*  mm/dd/yyyy   nnn             DEVK900001                        *
*               This is the description                           *
*-----------------------------------------------------------------*

Subroutines

A comment box must precede the subroutine.  The comment box should contain the name of the subroutine and a short description of its function (what it is doing, not how it is doing it). 

Example:

*---------------------------------------------------------------*
*     Form CONVERT_DATE                                         *
*---------------------------------------------------------------*
*     This form converts date from DDMMYYYY to MM/DD/YYYY       *
*---------------------------------------------------------------*
*     Parameters / Tables:                                      *
* -->  IV_DATE  Date in DDMMYYYY format                         *
* <--  OV_DATE  Date in MM/DD/YYYY format                       * 
*---------------------------------------------------------------*

 

ADVERTISEMENT
Free software downloads