Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
tobias_koebler
Advisor
Advisor

Hi,

there are minor use cases, where you want to automate procedures like, start/stop or you need details of a configuration within an other tool.

SAP LT Replication Server comes with some RFC enabled API's:

RFC enabled APIs available with DMIS 2011 SP5

General

  • IUUC_REPL_CREATE_CONFIGURATION
    Create a new Configuration
  • IUUC_REPL_INIT
    Get Configuration GUID for Schema
  • IUUC_REPL_START_JOBS
    Start Jobs for a configuration
  • IUUC_REPL_STOP_JOBS
    Stop Jobs for a configuration

Data Provisioning

  • IUUC_REPL_START_LOAD
    Start Load for a certain table
  • IUUC_REPL_START_REPLICATION
    Start replication for a certain table
  • IUUC_REPL_STOP_REPLICATION
    Stop replication / initial load for a certain table
  • IUUC_REPL_SUSPEND_REPLICATION
    Suspend replication for a certain table
  • IUUC_REPL_RESUME_REPLICATION
    Resume replication for a certain table (prerequisite: table was suspended before)
  • IUUC_REPL_START_RECORDING
    Start delta recording for a certain table (no load or replication started
  • IUUC_REPL_START_REPL_ONLY
    Start Replication without initial load (prerequisite: Start recording executed before)
  • IUUC_REPL_CREATE_ONLY
    Create Table or View without any load

Status Information

  • IUUC_REPL_GET_TABLE_STATUS
    Get Status per table (Trigger, Latenz, Prozess)
  • IUUC_REPL_GET_JOB_STATUS
    Read Replication Job Status
  • IUUC_REPL_GET_CONNECTN_STATUS
    Read Connection Status
  • IUUC_REPL_GET_OLDEST_LOG_TSTMP
    Get oldest timestamp from a logging table
  • IUUC_REPL_COUNT_UNPROC_LOGRECS
    Get number of unprocessed logging table records

Define Replication Settings

  • IUUC_REPL_GET_CONFIGURATION - Get Configuration GUID
    Input: Schema Name, Source System SID & HOST
    Output: List of Config GUIDs
  • IUUC_REPL_SET_TABLE_SETTINGS - Set IUUC_REPL_TABSTG
    Input: Config GUID, Table of type IUUC_REPL_TABSTG, mode (Insert (delete + insert), Add, Modify)
    MT_ID will be blank and is derived from Config GUID
  • IUUC_REPL_SET_RULE_SETTINGS - Set IUUC_***_RUL_MAP
    Input: Config GUID, Table of type IUUC_***_RUL_MAP, (Insert (delete + insert), Add, Modify)
    MT_ID & BASISVERSION will be blank and is derived from Config GUID
  • IUUC_REPL_SET_CLIENT_SPECIFIC - Set Client dependent Load / Replication
    Input: Config GUID, Yes/No
    Update Column IUUC_REPL_CONFIG RFC_CLIENT_ONLY + IUUC_MT_HEADER CLIENT_SPECIFIC

Others

  • IUUC_REPL_GET_TARGET_DBCON
    Get DB Connection to HANA DB

Best, Tobias

3 Comments