Skip to Content
Author's profile photo Wolfgang Woehrle

Renaming Elements in a Single Source Unit

In SAP NetWeaver 7.31 SP5, you can change all occurrences of a named element (except ABAP keywords) that are used in a local ABAP program at the same time. But you cannot change code elements that are used in an already activated ABAP program.

In higher versions, you can rename global ABAP classes, interfaces, or their members (such as fields or methods of classes or interfaces) that are used globally in other programs.


  1. In the source code editor of your ABAP program, select the element to be renamed.
  2. In the context menu, select Edit > Quick Fix or choose the shortcut Ctrl + 1.
  3. In the source unit, select Rename x or choose the shortcut Ctrl + 2 + R.
    A frame appears around each occurrence of the element.
  4. In the frame, type in your change and press Enter.


The editor changes simultaneously all occurrences of the element in the source code unit you are working in.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.