You are on page 1of 3

NAMING CONVENTION PROGRAM

Program names may be between 8 and 14 characters in length. Program names will be composed of the following subfields: a. Z all programs must begin with the letter Z. b. XX where XX is the SAP module. Current SAP modules include:

CO Controlling FI Financials MM Materials Management RE Real estate Management SD Sales and Distribution PS Project system HR Human Resource

c. _ separate the prefix from the remaining program name by an underscore _. d. The remaining 4 or 10 characters may be as descriptive as you wish. 1 When writing a temporary or training program, please use the prefix ZTST_XX_ for the beginning of your program name. This will indicate that this program should not be used on a regular basis in the production environment. 2 e. In Short Description try to give the most important information about the program f. If there is any additional smartform then give the same name g. Include name should be descriptive as your wish example: Program name: ZFI_PROG_NAME Smartform name: ZFI_ PROG_NAME Include in that program : ZFI_ PROG_NAME_INITIAL

DATA DICTIONARY
Table Length is highest 10 characters. a. Z all table must begin with the letter Z. b. XX where XX is the SAP module. Current SAP modules include: CO Controlling FI Financials

MM Materials Management RM Real estate Management SD Sales and Distribution PS project system

c. _ separate the prefix from the remaining program name by an underscore _. d. The remaining 7 characters may be as descriptive as you wish. Example: Table: ZFI_TAB

Data element Length highest 10 characters Start with Z Next characters will give a clear and unique view of the data element Try to assign existing domain to the new data element Example: Data element: ZDELEM Domain Length highest 10 characters Start with Z Next characters will give a clear and unique view of the domain Example: Domain: ZDOMAIN Field Length highest 10 characters Characters will give a clear and unique view of the FIELD Example: Field: FIELD_NAME

FUNCTION MODULE a. The standard program naming convention (ZXX_) should be used for naming Function Modules and Function Groups. b. The import and export parameters of function modules should be documented at the top of the source code section of the function module with brief descriptions of the fields and their typical contents. Also, any special requirements or usage should be noted.

c. The first letter of the parameters name should indicate the direction in which the parameter was passed: Input or importing = I Output or exporting = E Bi-directional or changing = C d. The second letter of the parameters name should indicate the nature of the formal parameter: Single value or variable = V Single structure or record (however complicated) = S Internal table (however complicated the line structure) = T e. Function modules that contain database reads should also contain at least one EXCEPTION parameter. f. All RFCs (Remote Function Call) must contain at least one EXCEPTION parameter.

You might also like