Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP PATTERNS

Former Member
0 Likes
4,507

Hi Sap Guys,

Could anybody help me to get some good Patterns which we put at header of every program.

Thanks In Advance.


8 REPLIES 8
Read only

soumik_de2
Participant
0 Likes
3,013

Hi


*&---------------------------------------------------------------------*
*& Program Name          :
*& Type of Program       :
*& Author                : SOUMIK DE
*& Company               : .
*& Client                : .
*& Date Started          :
*& Date Completed        :
*& Functional Consultant :
*& Module                :
*& Develepment Request   :
*& Description           :
*&---------------------------------------------------------------------*
*& Mdification Log       :
*& Copied From           :
*&---------------------------------------------------------------------*



*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*  Project Name :                                      *
*  Copyright    :                                     *
*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
* Program Name         :                              *
* Type of Program      :                             *
* Author               :                      *
* Company              :                                 *
* Client               :                                *
* Date Started         :                                    *
* Date Completed       :                                    *
* Functional Consultant:                                 *
* Module               :                                            *
* Develepment Request  :                                     *
* Description          :                       *
*-----------------------------------------------------------------------
*                    Version Management                                *
*-----------------------------------------------------------------------
* Date       | Modified by    | Req No.  |Comments                     *
*-----------------------------------------------------------------------
*  |            |                     |                |            *
* *=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Read only

0 Likes
3,013

You are right Soumik,

Thanks for your help.

Read only

Former Member
0 Likes
3,013

Hi Bhesh,

have a look into this...

*&---------------------------------------------------------------------*

*& Report  XXXXXXXXXXXXXX

*&

*&---------------------------------------------------------------------*

*& Developer                         :

*& Start Date                        :

*& End Date                         :

*& Development Package      :

*& Functional Specification    :

*  Reference Number

*& Functional Owner             :

*& Description                      :

*& Includes                          :

*& Copied From                   :

*& TR Number                     :

*&---------------------------------------------------------------------*

*&***** Modification History *****

*& Modification ID          :

*& Developer                :

*& Date                     :

*& Development Package      :

*& Functional Specification :

*& Functional Owner         :

*& Reason for Change        :

*& TR Number                :

*&---------------------------------------------------------------------*



Use this...


Thanks,

Vijay SR

Read only

Former Member
0 Likes
3,013

Hi,

*---------------------------------------------------------------------*
* Report   :
* MODULE   :
*---------------------------------------------------------------------*
* Objective: To Display The Sales Order details
* Program  : Updates tables ( )    Download data ( )
*            Output Lists   (X)
*
* Technical Spec No  :

* Date Created      :
* Author            :
* Location          :
*&---------------------------------------------------------------------*
*   Amendment History                                                  *
*&---------------------------------------------------------------------*
*   Date       Change By      Change ID       Reason

**&---------------------------------------------------------------------*

Regards,

Read only

former_member821147
Participant
0 Likes
3,013

Hi,

You can check below, but better thing is check some old custom programs in your system and try to maintain same. this will be good as per project.

*&**************************************************************************************************

*& Report                                                                                                              *

*****************************************************************************************************

*****************************************************************************************************

* Program name :                                                                                                  *

* Project      :                                                                                                        *

* Programmer   :                                                                                                   *

* Created      :                                                                                                       *

* Version      :                                                                                                       *

* Purpose      :                                                                                                      *

* Description  :                                                                                                      *

*****************************************************************************************************

Read only

Former Member
0 Likes
3,013

Hi,

   *******************************************************

                       MODIFICATION LOG                                *
*********************************************************

*  Program Name    :                                                       *
* Author          : Vineesh B                                               *
* Date Written    : 24 Jan 2014                                      *
* Request #       :                                                              *
* Requested by    :                                                           *
* Functional spec :                                                          *
* Technical Spec  :                                                          *
*                                                                                          *
* Description     :                                                              *
*                   *
*--------------------------------------------------------------------*
* Mod date   Programmer    Reference   Description*
*--------------------------------------------------------------------*
* 24Jan2014   Vineesh B                                               *
*********************************************************

Read only

Former Member
0 Likes
3,013

Hello,

Just a little tip so that you don't have to copy/paste everytime, you can create your own pattern. It can be dynamic as well.

Static one:

1. Go to se38 and create pattern

2. Define the pattern and save.

3. Then you can use the pattern:

Now if you want the username and date to be dynamic, follow the instructions in the link below:

Dynamic Pattern in ABAP Editor - Community Profiles - SCN Wiki

Read only

mayur_priyan
Active Participant
0 Likes
3,013

Hi,

*$*$****************************************************CATALOG_START**

*$*$    PROGRAM ID    :                                                               *

*$*$    TITLE         :                                                                       *

*$*$    CREATION DATE :                                                             *

*$*$    AUTHOR        :                                                                   *

*$*$    DESIGNER      :                                                                 *

*$*$    OWNERSHIP     :                                                               *

*$*$    REFERENCE ID  :                                                              *

*$*$------------------------------------------------------------------*

*$*$    DESCRIPTION   :                                               *

*$*$                                                                  *

*$*$*******************************************************************

*$*$    AUTHORIZATION CHECKS                                          *

*$*$------------------------------------------------------------------*

*$*$  OBJECT             AUTHORITY FIELDS           ABAP FIELDS       *

*$*$-------------------------------------------------------------------

*$*$                  |                           |                   *

*$*$                  |                           |                   *

*$*$                  |                           |                   *

*$*$*******************************************************************

*$*$******************************************************CATALOG_END**

Regards,

Mayur Priyan. S