Programme SAP RGSCPY00 - Copy Sets Between Different Tables

Use
This program enables you to copy sets between different tables.
With release 4.0A this should no longer be necessary, since sets can beused for all compatible table fields independent ofthe the table for which they were created, with the exception ofmulti-sets and additional sets with predefined columns. Several sets ofa source table can be copied at one time. You can limit the quantity ofsets to be copied by entering values sets for

  • the fields of the source table

  • the names of the copied sets, and

  • the fields of the target table.

  • The fields of the source table are automatically assigned to those ofthe target table. The names of the source table field and the targettable field do not have to correspond.
    If you enter a prefix, it will be placed in front of the old set nameto distinguish the copied sets from the original sets. If you do notenter a prefix, the suffix "new table" will be attached at the end ofthe old set name, or the existing suffix will be replaced by thissuffix.

    Note
    By allowing only one field of the source table as the from-field andonly one field of the target table as the to-field, you can replace theautomatic assignment of the fields between both tables with a manualassignment. However, the field type and length of the assigned fieldsmust correspond. In addition, the to-field cannot have a conversionroutine (for example, ALPHA to suppress leading zeros) if thefrom-field does not have it as well.
    To gain an impression of the automatic field assignment, you canexecute the program using the 'Test run' option.
    Set variables in multi-sets are not copied but rather removed from themulti-set.
    General sets can only be created for a source table, dependent on theoriginal Class of the sets.