cancel
Showing results for 
Search instead for 
Did you mean: 

How to use MDM Java API to get MDM Destinations

0 Kudos

Hi All,

We are using MDM 7.1 SP 06 and we would like to use Java APIs in WDJ for reading MDM Destination . However when we try to incorporate classes like MdmDestinationsManager , NetWeaverMdmDestinationProperties and others for the same , we cannot use them.

Can anyone let us know how can this be achieved. Also, which dependencies are to be added to the project for the same ?

Regards,

Poonam

Accepted Solutions (0)

Answers (3)

Answers (3)

rohit_j
Participant
0 Kudos

Hi Poonam,

If I understand your question correctly, you want to get the details configured for a specific MDM destination in NWA using Java API.

I am not sure if the below links are application for SP06 but you can have a look. I think you will be able to create a method to get all the details of a specific destination(except password which will not be applicable if trust type is TRUST_TYPE_NONE).

1. https://help.sap.com/javadocs/MDM71/com/sap/mdm/extension/session/ConnectionManagerEx.html

2. https://help.sap.com/javadocs/MDM71/com/sap/mdm/session/RepositorySessionContext.html

Dependencies to be added:

MDM_JAVA_API - com.sap.mdm.tech.connector

MDM_JAVA_API - com.sap.mdm.tech.mdm4j

Best Regards,

Rohit

former_member182534
Active Participant
0 Kudos

Hi Poonam,

As Jun Wu has answered it is not possible to read MDM Destination using MDM API's.

Use can define an MDM destination and use it inside WebDynpro Java.

Regards

Piyas

junwu
Active Contributor
0 Kudos

not possible, i think,