Ansicht
Dokumentation

RSTCX_COPY_TCVARIANT - Copy user variants for table controls

RSTCX_COPY_TCVARIANT - Copy user variants for table controls

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Title

Copying Table Control Variants

Purpose

The program allows you to copy display variants by using an existing varaint as a template for other users.

Features

On the selection screen, enter:

  • Porgram name
  • Name of table control
  • Name of user whose variant is to be used as a template
  • Name of display variant

The first two pieces of information can be found under settings of the relevant table control using the 'Administrator' function. This displays the program name and the name of the table control. Alternativley:
From the table control, select -> 'Techn. Info' ->. This displays the program name. Then select the screen number to access the Screen Painter . The table control is executed in the element list (Type 'TABLE').
You can use input help for the corresponding input fields on the selection screen.

The users, for whom you want to create a variant, must be entered under USERS/Users (using the multiple selection key you can select multiple single values or any RANGES tables). ausgewählt werden). In the user master record (table USR01) all users for whom you wish to create a variant are selected.

Options

You can also copy between different clients. If you do not select the checkbox, the cleint is irrelevant. Copies are only carried out in the current client.

You can also replace a display variant specified in the top section of the selection screen for all users. This allows you to make changes to existing display variants. This is only possible in the current client, otherwise you must select exactly one "master variant". The system will then find all users in the clinet who use a variant with the same key (variant name, name fo table control, program name). These entries are then replaced with the new data, the master variant.

By selecting the third checkbox, you can delete variants generically. No warning message appears. The deleted variants are displayed in the log. For a more convenient delete function consult the general table maintenance transaction (SM30).

Generally only one of the three possible options can be selected for each program run.

Copy procedure

  • If a variant already exists for the identical key (program name, control , user, variant), this is overwritten.
  • If the table control already has a standard variant for the user, and if the newly created variant is a standard variant, the new variant will become the standard variant. The old variant is maintained.
  • If multiple variants of a user are copied (not all fields of the first block are filled on the selection screen), an existing standard variant is converted, if a standard variant exists with the variant that is to be copied.
  • If you want to transfer all variants of a user to another user you must leave the corresponding fields 'PROGRAM', 'CONTROL', or 'VARIANT' empty on the selection screen.

Note

  • The report creates a log for the executed actions.
  • Take care when copying between clients and when creating variants for all users of a client.
  • The report can generate multiple tables entries in the table TCVIEW, in particular when you create variants for all users.
  • You can usually maintain table TCVIEW directly using the extended table maintenance transaction (SM30) or the Data Browser (SE16).
  • The program does not execute authorization checks.

Example






BAL Application Log Documentation   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3985 Date: 20240520 Time: 105915     sap01-206 ( 71 ms )