SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

ABAP Programming / Naming Standards



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> Project Management | Управление проектами, документация и стандарты
View previous topic :: View next topic  
Author Message
admin
Администратор
Администратор



Joined: 01 Sep 2007
Posts: 1636

PostPosted: Thu Oct 04, 2007 9:07 pm    Post subject: ABAP Programming / Naming Standards Reply with quote

ABAP Programming / Naming Standards
By Supriya Joshi

Following are the performance standards need to be following in writing ABAP programs:
For all ABAP Programs / Transaction Codes


Add the below header at the beginning of Every ABAP program
Code:
************************************************************************
* OBJECT ID               :                                                   
* PROGRAM TITLE   :
* MODULE                  :                                                   
* PROGRAM TYPE    :                                                   
* INPUT                       :
* OUTPUT                   :
* CREATED BY          :
* CREATION DATE   :
************************************************************************
* DESCRIPTION         :                                                   
*                                                                     
*                                                                     
*                                                                                                                                           
************************************************************************
* Modification history:                                               
************************************************************************
* DATE      |User ID    |TS Ver  | Transport Request  | Description                             
************************************************************************
************************************************************************


Naming conventions to be followed:


Other Objects



Application area corresponds to the application area you are working like
B - Basis
C - CO
F- FI
W - PM
S – SD / SAM
M – MM/Supply
Back to top
View user's profile Send private message
admin
Администратор
Администратор



Joined: 01 Sep 2007
Posts: 1636

PostPosted: Tue Jun 30, 2009 11:28 am    Post subject: Reply with quote

Naming notation

ABAP has a large number of naming conventions for different language elements. These are conventions and not rules, so an ABAP programmer is free to abide by them or not. However ABAP code developed by SAP itself generally respects these naming rules. Below is a list.

ALV_ - Advance list viewer
AS_ - Methods that perform type conversions
CHECK_ - Check Methods
CH_ - Changing Parameters
CL_ - Class name
CO_/C_* - Constants
DR_ - Data reference
G_ - Global variables/data objects
GT_ - Global table
GX_ - Global boolean field (X or space)
IF_ - Interface
INT_/IT_ - Internal Table
IS_ - Methods that return a Boolean value
L_ - Indicates the data object is local. Often, before underscore, put a 'type letter' in case of simple type (LC_,LF etc.)
LC_ - Local Constant
LR_ - Local Range
LT_ - Local Table
LVC_ - List Viewer Control
ON_ - Event handler
PA_ - Parameters
PE_/EX_ -Export parameter
PI_/IM_ -Input parameter
RA_ - Ranges/Type Range Of
RE_ - Result
RF_ - Reference Variable
SET_ - Accessors Methods
SO_ - Select-Options
ST_ - Structure
TA_ - Internal Standard Table
TC_ - Table Control
TH_ - Internal Hashed Table
TP_ - Other Variables
TS_ - Internal Sorted Table
TT_ - Table type
TY_ - Types
T_ - Variable is a table (T_MY_TABLE_VARIABLE)
X - Source/first data object (e.g. XVBAK)
Y - Destination/second data object (e.g. YVBAK)
WA_ - Working Area
* -Secondary working area (e.g. *VBAK in TABLES statement. Obsolete)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> Project Management | Управление проектами, документация и стандарты All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.