Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
bv_pillai
Participant

Introduction



In this weblog, I will be discussing about how to call a MDM Java-API executable application from ABAP. Even though, SAP has provided the MDM API for ABAP as a part of ‘MDM TECH 5.5’ add-on, you can try another workaround way of connecting to MDM thru the method described in the blog. The pre requisite for this scenario is you need to have a MDM java application, which can run as a console application. Using the ‘rfcexec’ you can register the executable in the ABAP system by registering with a TCP/IP RFC destination (program-id).



Create MDM JAVA application



You can create a simple MDM java application that can connect to the MDM repository and accept command line arguments to update field value of a table in repository. After creating the application, compile and test your application using Netweaver Developer Studio. Make an executable (.EXE) out of the .jar file from NWDS using any java utilities.


Create RFC destination



Now you create a RFC destination of type “TCP/IP” with program-id like below:

Test - ABAP report



You can execute the program from SAP and the check the modified value in MDM Data Manager like below:



Values for the record in MDM before executing the report from ABAP

Updated values for the record in MDM after executing the report from ABAP

You can notice that the value for the name filed has been changed from “MAT00000004” to “MAT-02”. Using this scenario, you can do mass updates of records by passing the business values from your SAP R/3 system.

4 Comments