Changing Lock Objects

This section describes what to take into consideration when changing a lock object.

Changing the Primary Table

To change the primary table, simply enter a new table name in the field Primary table.

If you have already selected secondary tables or fields, a warning is issued. If you confirm the change to the primary table by pressing ENTER, all dependent objects (secondary tables and fields) will be deleted.

Allow RFC

Select the flag Allow RFC to permit Remote Function Calls.

If you permit Remote Function Calls for an existing lock object, you must ensure that the generated function modules are called from within an ABAP program with parameters appropriate for the type. It is therefore essential that you check all programs using the associated function modules before activating the lock object with the new option.

Removing Secondary Tables

To remove a secondary table from the lock object, position the cursor on the table and choose Edit ® Delete sec. tab.

Deleting a table from a lock object also simultaneously removes all the tables that are linked to the primary table using the deleted table.

Including Additional Secondary Tables

To include additional secondary tables, position the cursor on a table name and choose Edit ® Choose sec. tab. A list of all tables linked to the selected table by means of foreign keys is displayed.

Position the cursor on a table that you wish to use as secondary table and select Choose. The table is highlighted. Repeat this procedure for all tables that you wish to copy to the lock object. Select Copy.

You return to the maintenance screen. The selected tables are adopted as secondary tables and the relevant foreign keys are displayed. Once you have included all the tables you require, save your table selection.