Ansicht
Dokumentation

IUUC_NRIV_SWITCH -

IUUC_NRIV_SWITCH -

CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

IUUC_NRIV_SWITCH,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

During NZDT projects, number ranges in number range objects need to be switched temporarily before the upgrade takes place on the clone and to be reset to original before online delta replication.

The program "IUUC_NRIV_SWITCH" is based on ABAP and utilizes classes and methods of the ADBC-API (A Dynamic ABAP Native SQL API).

The Program was created as a restricted copy of IUUC_CLONE_ISOLATION with focus on the implementation of activity "CHANGE_FIELD_VALUES" only.

The program supports the events "PRE_NRIV" and "POST_NRV" during clone-creation respective ramp-up of the new system.

The execution is driven by the related entries in table IUUC_ISOLATION.

ACTIVITIES

CHANGE_FIELD_VALUES: ,,Change a source string to target string (w or w/o condition)

Attributes-usage of table IUUC_ISOLATION:

Execution event: ,,defines the point in time when execution of activity is planned

(Events "PRE_NRIV" and "POST_NRV" are processed in program IUUC_NRIV_SWITCH)

Execution Sequence:,, defines the sequence in which activities are executed

Execution activity:,,defines which activity to be executed

Active-Flag: ,,,,defines whether activity to be executed or not

Table name: ,,,,defines on which table the activity takes place

CondFieldname: ,,defines whether content of a defined field is used to determine execution

CondValue1: ,,,,defines the value of condField that needs to be true to execute the activity

ChngFieldname: ,,defines which field to be modified

ChngValue1: ,,defines either the value for i.e. prefix or to be set in in ChngField or source value to be changed (w/o condition)

ChngValue2 : ,,,,target value for change of value 1 (w/o condition)

The active flag provides the opportunity to rerun specific activities or to execute activities step by step since only active entries are processed in IUUC_NRIV_SWITCH .

Program execution:

Execution pre-requisites:

  • Prior to IUUC_NRIV_SWITCH execution, the delivered customizing entries in IUUC_ISOLATION need to be reviewed , adjusted and activated as needed (i.e. in some cases, patterns to be changed or to be prefixed might vary from System to System). Maintenance of additional entries is also possible if required.
  • It must be verified and ensured, that the DBCON used for program execution is addressing the database of the receiving clone system! An incorrect entry could lead to corruption of the respective addressed SAP-System.
  • Database triggers on tables that will be touched by the program, need to be removed in advance (relevant Tables can be identified via active entries in IUUC_ISOLATION).

The program "IUUC_NRIV_SWITCH" is started via transaction SA38 respectively from the process control tree on the NZDT Workbench-System.

Execution is expected to run in Background.

The Mass Transfer ID, Execution Event and the Connection of the remote Database must be provided. The DB-Connection name is validated against table DBCON (database connections).

The checkbox "Extended Logging Required" can be used to create detailed logging (log single Update SQL-executions) .

The checkbox "Reset Active-Flags" is checked to reset respective active flags in IUUC_ISOLATION-entries after successful execution of program.

Via Parameter "Clients for NRIV-Switch" multiple clients for execution can be defined.






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: 3875 Date: 20240531 Time: 233556     sap01-206 ( 54 ms )