Show TOC

Maintaining Program AttributesLocate this document in the navigation structure

Use

The most important program attribute in this process is the type, which you can use to determine how an ABAP program is executed.

Furthermore, you can determine in the program attributes which application a program is assigned to, and determine the logical database for executable programs (reports) accordingly.

Make sure you enter the correct program attributes, otherwise the system will not be able to run the program properly. You maintain the program attributes on the ABAP: Program Attributes screen.

You can display the list of possible program types by selecting the F4 input help function.

If you select an executable program (report), the system automatically fills the input fields for specific attributes. Only now are the additional input fields Logical Database and Selection Screen visible.

Overview of All Program Attributes

The following sections provide a short overview of the program attributes. Note that some of these attributes only apply to executable programs, and not to other ABAP program types. For additional information, see the field and input help for the fields on the ABAP: Program Attributes screen.

Title

In the mandatory field Title enter a program description that describes the function of the program. In programs containing lists for which no list heading is specified in the text elements, this title is used instead of the missing heading.

Original Language

This language is the logon language of the user who creates the program. The system fills this field automatically. You can change the original language when you edit the program or its components in another logon language.

Type

You must specify the program type in the Type field.

From ABAP Editor, you can only choose from the following program types:

  • Executable program
  • Module pool
  • Subroutine pool
  • Include program

All other program types are not created directly from within ABAP Editor but by using special tools such as Function Builder for function groups or Class Builder for class pools.

Status

This optional setting describes the status of the program development; for example Test Program or Production Customer Program.

Application

This optional field contains the name of the application that is required in the program, for example Financial Accounting.

Authorization Group

You can enter the name of a program group in this field. This allows you to group different programs together for authorization checks. The group name is a field of the two authorization objects S_DEVELOP (program development and program execution) and S_PROGRAM (program editing). This means you can assign authorizations to users according to program groups. For more information about authorizations, see the BC - Users and Roles documentation.

Package

The package is important for transports between systems. You combine all workbench objects assigned to a single package in a single transport request.

If you are working in a team, you may have to assign your program to an existing package, or you may be free to create a new package. All programs assigned to the package $TMP are private objects and cannot be transported into other systems. You can enter the package directly in this field. If not, the system prompts for it when you save the attributes.

Choosing 'Local Object' in the dialog box is equivalent to entering $TMP in the Package field. You can change the package of a program at a later time.

Logical database

Only for Executable Programs

These attributes define the logical database used by the executable program (report) to read data.

Selection Screen Version

Only for Executable Programs

If you do not specify a selection screen version, the system automatically creates a selection screen based on the selection criteria of the logical database plus the parameters and selection options in the program.

If you want to use a different selection screen of the logical database, enter a number in this field. The number must be smaller than 1000 and match an additional selection screen of the logical database. The value help displays a list of available selection screens. You can also look in the selection include of the logical database (program DBxxxSEL, where xxx is the name of the logical database).

Editor Lock

If you set this attribute, other users cannot change, rename, or delete your program. Only you are able to change the program, its attributes, text elements, and documentation, or release the lock.

Fixed point arithmetic

If the attribute Fixed Point Arithmetic is set for a program, the system rounds type P fields according to the number of decimal places or pads them with zeros The decimal sign in this case is always the period (.), regardless of the user's personal settings. We recommend that you always set the fixed point arithmetic attribute.

Start Using Variant

Only for Executable Programs

If you set this attribute, other users can only start your program using a variant. You must then create at least one variant before the report can be started.