Quantcast
Viewing all articles
Browse latest Browse all 4841

Monitoring data update in SQL DB from SAP MII

Greetings experts!

 

It is often needed to interact with data placed in SQL DBs from SAP MII to execute different transactions in SAP ERP. The most common scenario of SQL-to-MII interaction is described below:

 

  1. Select needed SQL-data;
  2. Insert selected data to SAP MII MDO;
  3. Proceed MDO data to execute SAP ERP transactions.

 

In common, I need to execute two basic actions: download data from SQL and transfer data to ERP.

 

I am not very expirienced in SAP MII, so I use the following approach to download data from SQL DB:

 

  1. Create BLS transaction to download SQL data. Transaction compares the last record in MDO and in SQL. If SQL DB has new records, they are downloaded in MDO.
  2. Create a scheduler task to execute that transaction in a specified period.

 

This approach works fine, but I think it's not a good practise. I need to run the download transaction periodically to monitor new records in SQL DB.

 

The question is: Is it possible to trigger MII download transaction from SQL? Maybe by webservice or another kind of messages that need to be placed in SQL trigger? If it is possible, I will not need to monitor new records in SQL DB all the time. The trigger will initiate the download and SQL data will be stored in MII MDO in online mode.

 

Any reply will be greatly appreciated!

 

Thanks in advance!

 

Best Regards,

Vitaliy


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>