Ansicht
Dokumentation

RNUNO2K0 - IS-H: Copy NOEK To NO2K

RNUNO2K0 - IS-H: Copy NOEK To NO2K

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Description

You can use this program to copy all settings (or individual settings) in table NOEK (Assign Organizational Unit to Cost Center for Internal Activity Allocation) to table NO2K (Assign Organizational Unit to Cost Center for Revenue Account Assignment).

The values of OU 1 are copied from table NOEK to OU 2 (more precisely, to the column entitled Req. nrs. OU).

If you flag the option For "valid from" only, you will only be able to copy entries in table NOEK that have a start date ("valid from" date).

If you flag the option Overwrite existing entries, you can change existing entries in table NO2K.

Important!

This program can lead to inconsistent data in the target table (see below). Therefore, read this report documentation and analyze your situation in depth before you run this program!

Requirements

Always make sure that the corresponding entries do not exist in the target table, or that you really want to overwrite any existing entries. Entries in the target table are not deleted. If different periods have been defined in source and target table, this can lead to inconsistent entries in the target table (for example, validity periods that overlap, or gaps between validity periods). No consistency checks are run by the current version of this program.

For this reason, always run the program in test mode first, and always make absolutely certain that you want to overwrite any existing entries!

The program does not check to see if entries in table NO2K are currently being processed (i.e. the program does not block entries). For this reason, always make sure before you run the program in live mode that table NO2K is not being processed by another program or user.

Output

If you have not selected the Test mode option, the program copies the selected entries to the target table.

The program also generates a list containing the following information:

  • The entries selected from the source table
  • The entries to be generated in the target table
  • Information on whether the entry already exists in the target table (i.e. has the same key), and would result in the entry being changed (column entitled Up)
  • Information on whether an identical entry already exists in the target table (column entitled Id)
  • Status information regarding the action performed

Example

If you do not enter any selection criteria on the selection screen, and you deselect the Test mode field, and flag the Overwrite existing entries field, you can copy all entries from table NOEK to table NO2K.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3218 Date: 20240531 Time: 173814     sap01-206 ( 57 ms )