Techincal Guidelines For Naming Convention SAP ABAP
Techincal Guidelines For Naming Convention SAP ABAP
Position number 1 2
Description Z Application
Example Z PM
Transport request:
Example: DINK_ABAP_FI033_WB_MD_22.09.2017_Description
1 2 3 4 5 6 7
Type of Date of
Project Module Object Signature Description
TR Creation
Description of
DINK ABAP SD001 WB MD 02.09.2017
TR
Release method strictly to be followed by Guide lines given by Team Lead/ Project team.
DDIC Type: D - Development Class, T-Table, DE-Data Element, DO-Domain, HP-Search Help, S-Structure, TY-
Table type, V-View
Note: Only 4 characters should be used as far as possible. 5th character is optional and should be used only if
required. No Underscore will be used.
Position
1 2 3 4 5 6 7
number
Free
Object Program
Description Z Country/Global Application “_” meaningful
No. type
text
Note: Position 3: ‘F’ for Function Module and ‘G’ for Function Group
Smart form/Smart styles:
Position
1 2 3 4 5 6 7
number
Free
Object Program
Description Z Country/Global Application “_” meaningful
No. type
text
Screen Names:
Custom screen painter dynpro must always be numbered greater than 9000.
The ranges are:
9001 - 9999 for all programs and Table Maintenances Screens
Workflows:
Workflow template name would come from the number range.
• Bespoke Business Object Name: Z<country><application><Development ID>_ Description>
When copying the Standard, remove the prefix “BUS” and suffix the copied one with the last four digits. Example:
For standard BUS2015, naming would ZMM001_2015.
Position 1 is a Z.
Position 2 is for country
Position 6 is "_".
Positions 7 onwards are free for the user to assign.
Note 1: When copy of standard programs, same rules up to char 5 but concatenate the original program name
from position 6 onwards
The AUTHORITY-CHECK statement searches the user's master record for authorizations corresponding to the
authorization object specified in the statement. This means searching through all profiles in the master record, since
the user could have more than one authorization for the given authorization object.
To pass the authority check, the user must have at least one authorization specifying all the values given in the
AUTHORITY-CHECK statement. If so, the system sets the return code SY-SUBRC to 0, and your program can allow the
user to continue working. In all other cases, you must prevent the user from proceeding or accessing the data.
Comments in the body of the code are only required if they help the understanding of the processing.
Example:
************************************************************************
* Program Name : Object ID: *
* Description : *
* Create Date : *
* FO Owner : *
* Tech Owner : *
* Project Module : *
************************************************************************
* Change Log *
************************************************************************
* REQ# DATE WHO CHANGE_ID DESCR *
*-----------------------------------------------------------------------
* 001 Initial *
************************************************************************
The above header block must be added to all programs, including INCLUDES.
The reference is used to identify the changed lines into the ABAP code. The format of this reference is:
XYZDDMMMYY
The reference must be placed in any changed line during the change of an existing ABAP.
Depending on the type of data objects, use the following prefix codes.
Select-options S_ SELECTION-OPTIONS:
S_BELNR FOR BKPF-BELNR.
Ranges R_ RANGE:
R_WERKS FOR T001W-WERKS.
Coding sequence
All the code elements must be coded in the following defined sequence to help find the coding elements in the ABAP ’s.
INITIALIZATION event.
AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN.
START-OF-SELECTION.
PERFORM FETCH_DATA.
END-OF-SELECTION.