Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
wolfgang_woehrle
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

Procedure

  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.

Result

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