Quantcast
Viewing all articles
Browse latest Browse all 4841

Re: Accessing MDO within a custom action block

Hi Holger,

 

Another way would be connecting to the database of MII using the JDBC connection of Java.

 

You can find more information here:

Getting a Connection to the Database - Using Java - SAP Library

 

MII creates a JDBC datasource named "XMIIDatasource". You can use that or create your own also.

This is the path for JDBC datasources in the net-weaver server:

Configuration-->Infrastructure-->Application Resources

 

Once you get the connection object then you can query any table in the net-weaver/MII database.

Each MDO is a table created in the net-weaver/MII database thus you need to know the name of table generated by MII. Table for MDO will have names like MDO and a number.

 

The before mentioned approach of making http call to MII is better, clean and easy way to execute the queries.

 

Regards,

Rohit Negi.


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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