Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Two possibilities to connect

There are two ways how the Metadata API can connect to your system.

  1. Connection via RFC to BW or ERP SystemECC systems

  2. Connection via HANA through SQL API to BW, ERP, or HANA System

You can decide how you want to connect. For the RFC approach you need to install a Function Module in your development system and transport it through your landscape (more is described here).
(warning) Since version v1.4.0 of the Metadata API and

with SAP BASIS releases >

  • 7.40 SP27

  • 7.50 SP23

  • 7.51 SP13

  • 7.52 SP09

  • 7.53 SP07

  • 7.54 SP05

  • 7.55 SP03

  • 7.56 SP01

The Data Lineage Metadata API can be started from any machine (Windows or Unix) which has with access to your SAP System or the underlying SAP HANA database.

Depending on the approach you have chosen, you will need a HANA or , a BW, or an ERP user. Which rights are needed is described in the system-specific pages:

...

  1. Open the Task Scheduler in Windows

  2. Right Click > Create a task

    Image RemovedImage Added
  3. In the general tab, you can give the task a name and should choose the second option “Execute independently of the user login”. You can also change the user here

    Image RemovedImage Added
  4. In the tab Trigger, you have to set the interval in which the task should be scheduled

  5. In the tab Actions, you have to insert the command which should be run.

    Image RemovedImage Added

Unix

  1. Make sure DataLineage.sh has execution rights (chmod +x)

  2. Edit the crontab file (crontab -e), adding the line for job

    1. Example for a job every 5 minutes:        */5 * * * * /<path>/DataLineage.sh extract-all -s <SID>

  3. Make sure the job is in the jobs list after saving the file (crontab -l)

  4. If the job doesn't run as expected, check the logs (grep "DataLineage" /var/log/syslog)

...