Sams Teach Yourself ABAP/4 in 21 Days: Program Naming Conventions
Sams Teach Yourself ABAP/4 in 21 Days: Program Naming Conventions
Appendix A
Naming Conventions
Program Naming Conventions
Naming Conventions for Reports
Naming Conventions for Dialog Programs
Customer Name Ranges
Description
Period
Comma
Blank
www.sapnet.ru/abap21day/appendix-a.htm
()
Parentheses
'
Single quote
"
Double quote
Equal sign
Asterisk
Underscore
Percent sign
1/6
8/28/13
Long
Form
Short
Form
LDB
Form
FI
Materials Management
MM
SD
PP
Treasury
TR
Quality Management
QM
Project System
PS
Plant Maintenance
PM
Warehouse Management
WM
Human Resources
HR
10
Asset Accounting
AA
11
Controlling
CO
12
Process Industries
PI
13
Investment Management
IM
14
Logistics (General)
LO
21
International Development
IN
22
CA
23
Financial Accounting
2/6
8/28/13
Max
Length
Naming
Convention
ABAP/4 Query
Query
Functional Area
Function Group
2
4
3
*
*
*
Append Structures
Append Structure
Append Structure Fields
10
10
Y* Z*
YY* ZZ*
Application Logs
Object
Sub-Object
4
10
Y* or Z*
Y* or Z*
Area Menus
Y* Z*
Authorizations
Authorization
12
any
4
30
10
Y* Z*
Y* Z*
Y* Z*
CATT Flows
Y* Z*
10
Y* or Z*
Codepages
9*
Data Elements
Data Element
Data Element Supplement
10
4
Y*Z*
*
9*
Data Models
Data Model
Entity
10
10
Y* Z*
Y* Z*
Development Classes
Y* Z*
Dialog Modules
30
Y* Z* RP_*
RH_INFOTYP_9*
28
20
20
20
20
Y* Z*
Y* Z*
Y* Z*
Y* Z*
Y* Z*
Authorization Class
Authorization Group
Authorization Object
SAP Supplement
www.sapnet.ru/abap21day/appendix-a.htm
Notes
3/6
8/28/13
26
20
12
28
Y* Z*
Y* Z*
Y* Z*
Y* Z*
Domains
10
Y* Z*
Enhancements
Enhancement
Enhancement Project
8
8
Y* Z*
*
Function Codes
Function Code
Menu Exit
4
4
Y* Z*
+*
Function Library
Function Group
User Exit Function Grp
Function Module
Field Exit Func Module
4
4
30
30
30
30
Y* Z*
XZ*
Y_* Z_*
FIELD_EXIT_*
FIELD_EXIT_*_x
EXIT_pppppppp_nnn
CONVERSION_EXIT_xxxx_INPUT
CONVERSION_EXIT_xxxx_OUTPUT
GUI Status
IDOCs
Segment Type
Basis IDOC Type
Enhancement Type
IDOC Type
7
8
8
8
Z1*
Y* Z*
*
Y* Z*
Includes (DDIC)
Customizing Includes
10
CI_*
Includes (Program)
Include
Include for User Exits
(function modules)
8
8
Y* Z*
ZffffUnn ffff
Info Types
9*
Lock Object
10
EY* EZ*
Logical Databases
Y*a Z*a
2
2
Y* Z*
Y* Z*
10
Y* Z*
Matchcodes
Matchcode
Matchcode Object
1
4
0-9
Y* Z*
Messages
Message Classes
Message Numbers
2
3
Y* Z*
*
Module Pools
Dialog Module Pools
Screen Module Pools
Info Type Module Pools
Subroutine Module Pools
Update Pgm Module Pools
8
8
8
8
8
SAPDY* SAPDZ*
SAPMY* SAPMZ*
MP9*
SAPFY* SAPFZ*
SAPUY* SAPUZ*
10
Y* Z*
www.sapnet.ru/abap21day/appendix-a.htm
= func group
4/6
8/28/13
Parameter Ids
Y* Z*
Printer Macros
Y* Z* 9*
Relation IDs
Y* Z*
20
Y* Z*
8
4
Y* Z*
Y* Z*
X* CUS&*
Reports
Report Name
Report Category
Report Variant
Transportable, Global
Transportable, Local Not
Transportable
14
14
14
Y*
Z*
Report Writer
Report
Report Group
Library
Standard Layout
8
4
3
7
*
*
*
*
SAPScript
Layout Set
Form
Standard Text ID
Standard Text Name
Style
12
16
4
32
8
Y* Z*
Y* Z*
Y* Z*
Y* Z*
Screens
9*
>0
Spool
Layout Type
Font Group
Device Type
Page Format
System Barcode
16
8
8
8
8
Y* Z*
Y* Z*
Y* Z*
Y* Z*
Y* Z*
Standard Task
9*
Standard Roll
9*
Structure (DDIC)
10
Y* Z*
SYSLOG Message ID
Y* Z*
Tables
Field Name
10
3
10
Y* Z*
Y* Z*
Index Name
Transparent, Pool,
Cluster Name
Pool Name
T9
10
10
P9*
PA9* PB9*
PS9*
HRT9* HRP9*
HRI9*
Y* Z*
Y* Z*
Titlebars
Transaction Codes
Y* Z*
Type Group
Y* Z*
User Profiles
12
any
www.sapnet.ru/abap21day/appendix-a.htm
In append structures:
YY* ZZ* only
8/28/13
Views
View Cluster
View Name
Help View
10
10
10
10
Y* Z*
*
H_Y* H_Z*
reserved in TRESC
reserved in TRESC
Y* Z*
You will find that a few SAP objects exist within customer name ranges and thus intrude on the above naming
conventions. These objects were created before the preceding conventions were adopted. A list of these
exceptions can be found in table TDKZ.
www.sapnet.ru/abap21day/appendix-a.htm
6/6