Business Case :ABAP APIs in SAP MDM
SDNers,
Kindly share your views on Business-case application(s) of ABAP APIs fron the perspective of SAP Master Data Managment.
Regards,
KAV
Hi krutarth,
ABAP API (Application programming interface) are interface programming written in R/3 system to manage MDM activies through R/3. or
The MDM ABAP API empowers ABAP-based applications to control MDM Servers using most of the functions available in the MDM Console and MDM Data Manager
applications.
1) It enables an R/3 system to access the administrative
functionalities of the MDM Server.
For E.g.
Create repository,
Connect to repository,
Load repository,
Create role,
Create user
Retrieve roles,
Retrieve users
Create client system
Retrieve client systems
Retrieve tables
-Retrieve table fields
Activate trace
2)It also enables R/3 system to access the data processing**
*functions of the MDM Server.*For e.g.
Create a transformation
Retrieve a transformation
Create rules
Retrieve rules
Create a strategy
Retrieve a strategy
Invoke matching
Invoke a matching value check
Retrieve a matching result
and many more.
If u find this helpful then do reward points.
Regards,
Neethu Joy.
Edited by: Neethu joy on Feb 29, 2008 9:01 AM
Similar Messages
-
How could JAVA API and ABAP API useful to MDM.
Hi Experts,
How could JAVA API and ABAP API useful to MDM, and any coding in Java or ABAP is required in MDM.Hi Reema,
Java API and ABAP API are verry usefull to MDM to integrate MDM with other SAP componants like SAP R\3, EP etc. :
It dose not required any coding in MDM infact in JAVA API coding can be done on NWDS(Netweaver Developer Studio).And for ABAP API coding is done on SAP R\3 System in ABAP editor.
JAVA API:
By using Java API MDM client operations can be performed.For one need to install NWDS and to deploy some .jar files and with the help of standard classes and interfaces it can be connected to MDM server and various operations like create repository ,connect to repository ,Data mainuplation etc.
ABAP API:
Suppose you have an Expert abaper and you want him to perform MDM operations.In that case he need not to learn MDM basic Data types infact by doing some settings on R\3 and MDM server side an ABAPer can perform
MDM Cnsole and MDM Data Manager level operations.
you can go through these links
http://help.sap.com/javadocs/MDM/SP06/overview-summary.html
/people/bv.pillai/blog/2006/11/28/installing-mdmtech-add-on-and-configuring-the-mdm4a-mdm-for-abap-api
Here the coding is done on SAP R\3 system.
hope it will give you some idea about Java API and ABAP API
Reward if helpful
Thanks ,
Vinay Yadav -
ABAP APIs for MDM Workflow Modification
Hello All
I require a help from all of you. Currently I have a particular business case where I need to configure the MDM workflow & do changes & modifications in it via ABAP APIs. Currently we are having Java APIs in plcae.
Can you please tell me whether we have some ABAP APIS for this MDM Workflows, if yes what are their EXact names & functionalitites.
Also can we download them from Service Marketplace.
Please reply ASAP.
Regards
Madhurim BasuHi Madhurim Basu
ABAP API(SAP MDM 5.5.-7.1) are'nt support workflow management
SAP MDM(5.5-7.1) JAVA API are support workflow
More about JAVA API you can read from:
http://help.sap.com/javadocs/MDM/current/
Regards
Kanstantsin -
How to use MDM ABAP API?
Hi Guys,
I want to use ABAP API for manipulating MDM records(EX Adding two field values and assign into another field value).
Can anybody guide me step by step process?
Best Regards
Devaraj PKHi Devraj,
Please go through this pdf:
1. How To identify identical master data records using SAP MDM 5.5 ABAP APIs
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e060251e-b58d-2910-02a2-c9a1d60d9116
2. MDM ABAP API
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/00c49ffb-e5e5-2910-73ba-c85af1da5b0a
http://help.sap.com/saphelp_mdm550/helpdata/en/44/93aa6831381053e10000000a422035/content.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/connectivity-ABAP+API&
Pls rewrds if found helpful.
BR,
Alok Sharma -
Hi SDN,
I need some information related to ABAP API for MDM workflow. I did search in SDN and I found one solution in a thered posted on Jul-2008.
ABAP API - MDM Workflow execute
My dought is: Do we have any ABAP API for call MDM work flow. Please provide me the solution ASAP. Apprciate for your immediate response.
Regards,
Kumar.Hi LAKSHMAN ,
To answer your question specifically
Using ABAP api you cannot call MDM workflows as of mdm 5.5 there are no functions specific to calling MDM workflows in ABAP.If you want to implement workflows on ABAP side you need to go for SAP ECC workflows which is a different topic than MDM>
To call MDM workflows over the Java stack ie WAS (SAP portal),You have 2 ways
- UWL
- Guided Procedures.
- UWL is a way of calling MDM workflows on EP.Wherein the workflow design will be done in MDM and it will only be called in portal using appropiate connections and configurations.
You can refer the below links to know more on them:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/771f1a61-0e01-0010-daa9-93a52905da09 (uwl)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45 (UWL config)
- GP is a way where by you need to design the entire workflow on SAP portal the logic can be pertaining to MDM but the design is completely on portal using webdynpros and api.
You can refer the below links to know more on them:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831 (Guided procedures)
Enterprise Master Data Management (EP Guided)
To know more on ABAP api and its provider classes you can refer the below:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601ddb01-e5c8-2910-d981-b190b51fca44 (abap api webinar)
Re: Abap api error (Abap api provider classes Forum)
Hope It Helped
Thanks & Regards
Simona Pinto -
Mdm abap api retrieve method does not work properly
Lets say i have
in a qualified flat lookup several qualifiers.
i try to get the table using the following code:
loop at wa_contract_data-CONT_REMINDER into ls_qual_link.
wa_keys_reminder = ls_qual_link-QUALIFIED_link_ID.
append wa_keys_reminder to lt_keys_reminder.
CALL METHOD g_mdm_api->mo_core_service->retrieve_simple
EXPORTING
iv_object_type_code = 'TBL_REM'
it_keys = lt_keys_reminder
IMPORTING
et_ddic_structure = lt_remainder_data.
endloop.
finally lt_remainder_data contains only the non qualifier, but not the maintained data of the qualifiers.
what confuses me is that some fields are even not transfered at all.
does anyone know how to get what i would expect: the actual data of all other fields?
Thanks.
GideonHi Gideon,
I have used ABAP API's to successfully retrieve the data from the MDM into a DDIC structure in ECC side using the program Retrive Simple.
I had followed the webinar by Klaus David. Here is the link for the same:
ABAP API for SAP NetWeaver Master Data Management - Webinar Replay
PPT:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601ddb01-e5c8-2910-d981-b190b51fca44
Webinar Replay
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00dd47bd-f2f1-2910-5eab-e9ca52465ae4
These links will take you through the configs, Sample source code for Retrieving data etc using both Retrive Simple & Retrive.
May be there is a problem with the DDIC that you have designed. ( the data types etc.)
Here are some additional links:
Master Data Management ABAP API Overview:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/00c49ffb-e5e5-2910-73ba-c85af1da5b0a
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/tip%2b%2bMDM%2bABAP-API%2b%2bThings%2bto%2bRemember%2b(for%2bStarters)
Kindly go through the links to figure out the problem.
Hope it helps.
Thanks and Regards
Nitin Jain -
Hello there,
I am trying to use the MDM 7.1 ABAP API to access MDM data from within a BI system.
Now I am wondering how to access key mapping for records in the Main Table.
In the Java API there is the RetrieveRecordsKeyMappingsCommand which returns all key mapping information for a list of record IDs. But I cannot find something similar in the ABAP API.
Who knows where to start?
Thanks for hints
IngoHi ,
In ABAP API also you can retrieve key mapping of main table records using function 'MDM_API_RETR_CLIENT_SYS_KEYS'.
You will get details of this function in sap library or ABAP API documentation provided by SAP.
For any further queries kindly reply.
Regards,
Neethu Joy -
Hi All,
I am trying to make use of ABAP API from my R/3 system.
but I am not able to see the transaction MDMAPIC and many MDM related interfaces.
what could be the exact problem?
Any Service pack need to be added on normal R/3?
My R/3 system version is 4.7 with kernel patch NW2004 (640) dw patch 139 as per the How to guide.
Even I tried with R/3 5.0 with the same kernel patch.
I had maintained allow.ip at MDM server.
waiting for the replyHello,
using the MDM ABAP API requires SAP BASIS 6.40/7.00 and the right Kernel Patch level.
The API is not yet in SAP BASIS. That means it has to be downloaded from service marketplace and installed to the SAP System. After that the configuration will be there and the API is accessible.
Hope that helps.
Best regards,
Daniel -
HI SAP-XI Guru,
can you please discuss some business cases where we
need SAP-XI in real time project.
Thanks & Regards
KrishnaHello,
For example you want to exchange data between SAP and Database
SAP and Non SAP
In general if you need to communicate between two hetergoneous systems it can be done through middleware (Which is EAI ) and PI is SAP product.
AS Prateek said search in SDN for more
Rajesh -
Retrieving hierarchy fields from MDM to SAP R/3 using MDM ABAP API's
Hi all,
I have developed a code to retrieve fields from MDM to SAP R/3 using MDM ABAP API's, i could retrieve all of the fields excluding the Lookup[Hierarchy] fields like- FACILITY CODE etc...
please update me if anyone has any experience on this.
Thanks and regards,
Aastha MehrotraHi ,
Any one worked in the MDM API to retrieve Hierarchy fields ???
Regards,
Arun. -
MDM ABAP API AND BUSINESS WORKFLOWS...
Hi All,
In the following vedio blog, SAP saying SAP buisiness workflows & MDM ABAP API combination for certain scenarios.
http://www.sdn.sap.com/irj/scn/shop?rid=/media/uuid/40923f37-3483-2c10-5b87-967a607fa3b2
Anyone implemented this approach?Hi.
you can utilize example program provide by SAP, follow this path which may help you
http://help.sap.com/saphelp_nwmdm71/helpdata/en/47/5fd3f2cbd75518e10000000a421138/frameset.htm
Thanks,
Jignesh Patel -
ABAP API MDM vs Standard MDM !!!
Maybe the expression that I am using is not the best one and hope that someone can give me any clarifications.
What I am intending is to know:
1) If using ABAP API is the best way to implement MDM purposes or if hes an alternative to implement MDM using ABAP API?
2) In the proof of concept that I am implementing, I only use the principal components of MDM (Import, Data Manager, Syndicator and Console) in order to find the solution of our enterprise business.
3) Using ABAP API, I have to use programming method, implement by myself some functionalities in ABAP to connect and resolve my MDM purposes.
4) If am not using ABAP API (The way that I am proceeding right now) , I have to use the standard software component (enterprises services ) of the R3 Systems in order to connect MDM with client systems.
Thanks guy for your assistance. We just want to know the best way to proceed with MDM .The best method for implementing MDM depends on the requirements of each scenario. For example, if you have a program in R/3 that needs to pull some data from MDM for analysis then perhaps using the ABAP API would be the best route to take. If you need to transfer materials or vendors from MDM to various R/3 systems, perhaps using XI would be the best route to take. I would recommend looking at the <a href="https://websmp106.sap-ag.de/~sapidb/011000358700004656452006E">IT Scenario Configuration Guide</a> to get a better understanding of SAP's recommended practices given different scenarios
-
MDM ABAP API Performance Problems
Hi all,
we developed a custom transaction into our ECC 6.0 system to remotely retreive data coming from MDM (7.1 SP05) and show them to the user. The 2 systems phisically reside in different datacenters, so running in the same WAN but in 2 different AD domains and 2 different ip networks.
In short the transaction is working using the standard MDM ABAP API functionalities and getting the MDM data using the following methods:
CALL METHOD lr_api->mo_accessor->connect
CALL METHOD lr_api->mo_core_service->query
CALL METHOD lr_api->mo_core_service->retrieve
CALL METHOD lr_api->mo_accessor->disconnect.
This is working, but with awful performances. for example to get a subset of materials (around 500 codes) it takes more than 1 minute, and the quantity of data transfered from MDM to ECC (around 30 KB) is not justifying this time.
Please be so kind to suggest any kind of activity that I can perform to improve the situation.
Thanks in advance.I am trying to retreieve date from MDM to ECC using ABAP API.I am getting the below dump.
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_MDM_PROVIDER' was raised, but it was not
along
the call hierarchy.
Since exceptions represent error situations and this error
adequately responded to, the running ABAP program
'CL_MDM_PROVIDER_71_SP00_PL00==CP' has to be
terminated.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can loo
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_MDM_PROVIDER', was not caught in
procedure "GET_LOC_SUPP" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Internal error: field 'SEARCH_GROUPS' not found; contact your system
administrator
Please check at this point I am getting dump:
LT_SEARCH_TUPLE_PATH
Table IT_1806[0x12]
\CLASS=CL_MDM_PROVIDER_71_SP00_PL00\METHOD=IF_MDM_CORE_SERVICES~QUERY\DATA=LT_SEARCH_TUPLE_PAT
Table reference: 1612
TABH+ 0(20) = 000000000000000007000000579D710000000000
TABH+ 20(20) = 0000064C0000070E000000000000000CFFFFFFFF
TABH+ 40(16) = 04000138000F44A0000424E403000000
store = 0x0000000000000000
ext1 = 0x07000000579D7100
shmId = 0 (0x00000000)
id = 1612 (0x0000064C)
label = 1806 (0x0000070E)
fill = 0 (0x00000000)
leng = 12 (0x0000000C)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000300
occu = 4 (0x00000004)
accKind = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniNo)
keyKind = 1 (default)
cmpMode = 12 (ILLEGAL)
occu0 = 1
stMode = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
isUsed = 1
isCtfyAble = 1
hasScndKeys = 0
hasRowId = 0
scndKeysOutdated = 0
scndUniKeysOutdated = 0
LV_MESS
field 'SEARCH_GROUPS' not found
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
6666622544544545455522667266766222222222222222222222222222222222222222222222222222222222222222
695C407351238F72F50370EF406F5E4000000000000000000000000000000000000000000000000000000000000000
SY-REPID
I am picking the data from MAIN TABLE MDM_SUPPLIER_MAP and below is the code.
CALL METHOD lv_mdm_api->mo_core_service->query
EXPORTING
*Main Table
iv_object_type_code = 'MDM_SUPPLIER_MAP' "#EC NOTEXT
* it_query = lt_query
IMPORTING
et_result_set = lt_result_set.
Please suggest solution to get the records from MDM to ECC.
When I am tring to replace the abpove with the below code it is working.But in this case I need to retreive all the data instead of using DO and ENDO.Could any please suggest solution.
DO 10 TIMES.
APPEND sy-index TO keys.
ENDDO.
CALL METHOD lv_mdm_api->mo_core_service->retrieve_simple
EXPORTING
iv_object_type_code = 'MDM_SUPPLIER_MAP'
it_keys = keys
IMPORTING
et_ddic_structure = result_ddic -
Hi,
I am on the way of integrating ABAP API in PI 7.1 EHP 1 with MDM 7.1
I installed MDM ABAP API in PI system.
In transaction MDMAPIC, created MDM Server Connection with default port, DBMS Hosts and MDM Repository.
After I did the above tasks, I tested the RFC Connection, But its failed with the following error.
Connection Test MDM_API_GEN_DEFIANCEDEP
Connection Type TCP/IP Connection
Logon Connection Error
Error Details Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67
Error Details ERROR: program DEFIANCEDEP.MDS not registered
Error Details LOCATION: SAP-Gateway on host DEFIANCEDPI / sapgw00
Error Details DETAIL: TP DEFIANCEDEP.MDS not registered
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 87
Error Details MODULE: gwr3cpic.c
Error Details LINE: 1714
Error Details RETURN CODE: 679
Error Details SUBRC: 0
Error Details RELEASE: 711
Error Details TIME: Sat Mar 12 13:53:55 2011
Error Details VERSION: 2
Appreciated if replied with the proper resolution at the earliest.
Thanks in Advance
Pradeep ShettyHi Kanstantsin Chernichenka,
Thanks for your reply.
I tried the given suggestion. And even restarted the PI and MDM system.
Still, I am facing the same problem.
My allow.ip file contains
122.183.187.24;
122.183.187.25;
115.242.211.112;
115.184.2.47;
My MDS.ini file contents are
[MDM Server]
XCS Ini Version=1
Accelerator Dir=E:\usr\sap\MDM\MDS02\mdm\accelerators
Log Dir=E:\usr\sap\MDM\MDS02\log
Report Dir=E:\usr\sap\MDM\MDS02\mdm\reports
Archive Dir=E:\usr\sap\MDM\MDS02\mdm\archives
Distribution Root Dir=E:\usr\sap\MDM\MDS02\mdm\distributions
Transport Dir=E:\usr\sap\MDM\MDS02\mdm\transport
Modifications Dir=E:\usr\sap\MDM\MDS02\mdm\modifications
Lexicon Dir=E:\usr\sap\MDM\MDS02\exe\Lexicons\
Extra DBConnection Validation=True
Log SQL Errors=True
String Resource Dir=E:\usr\sap\MDM\MDS02\exe\LangStrings\
Stemmer Install Dir=E:\usr\sap\MDM\MDS02\exe
Wily Instrumentation=False
Wily Instrumentation Level Threshold=10
SLD Registration=True
Skip Unchanged Records=False
Autostart=0
MDS Ini Version=1
RELEASE\UseAssert=True
Tracing Level=3
LogViewer Format Logging=False
LogViewer Format Tracing=False
Trusted SAP Systems=DPI
TrustFiles Dir=E:\usr\sap\MDM\MDS02\config
Max Threads Per Operation=Auto
Lock Account After Failed Password Attempts=5
Lock Account Duration=1800
Minimal Password Length=5
Password Expiration Days=90
Password Expiration Warning=7
Disable Read Access To Corrupt Repositories=False
MDS Scone=
Log SQL Modifications=False
Maximum DBMS Bind Count=512
Oracle\Dll=OCI.DLL
Allow Console to Retrieve Files=True
Oracle Tablespace Files=1
Default Interface Language Code=eng
Default Interface Country Code=US
Client Ping Timeout Minutes=0
Inactive Client Timeout Minutes=30
Value Retrieval Threshold=0
Protect Family Nodes With Locked Data=False
Number Of Stemmers Per Language=2
TrexDllPath=
Import Slice Size=2048
Bulk Import Silo=True
Safe Silo Mode=False
Enable Change Stamp Logging=False
Always Verify DBMS Connection Before Executing SQL Statements=False
Disable Read Access To Repositories That Require Restart=False
Family Retrieval Threshold=30000
Enable Client Dictionaries=False
Restricted Url For Client Export=
Index_Page_Margin=10
Default Slice Size=500
Default Slice Wait Time MS=300
Enable Slicing For Non-Bulk Operations=False
Multithreaded Matching=True
SAP RFC Gateways=
[MDM Server\Databases\MDM_1MDMORCL_5_3_4_3]
Port=2345
Login=SYSTEM
Password+=ES066H2NVHDCFSJ206LJ9I995SLBVSA21OMQPM0
Stemmer Language=
Stemmer Variant=
Valid Keyword Chars=abcdefghijklmnopqrstuvwxyz0123456789
Max Large Text Length=250000
Number of Rows Per Fetch=100
Max Initial MB to Retain=4
Max Send Failure MB to Retain=4
Workflow Detailed Report=False
Mail Server=
Mail SMTP Timeout=1
Here I am requesting you to send your valuable feedback at the earliest.
Thanks
Pradeep Shetty -
MDM ABAP API - Language information not valid for repository
Dear all,
We're programming an interface in SAP R/3 to MDM catalog through 'MDM ABAP API's'. Automatically, it creates an RFC connection to MMD, but we're getting the following connection errorwhen executing the API:
E MDM_ABAP_API 078 Language information ENG US USA not valid for MDM repository XXXYYYZZZ*.
*where XXXYYYZZZ is the repository name.
W'e've established the connection in R/3 through transaction MDMAPIC and we've created the same user in R/3 and MDM Console.
This is the code written on the program where we are defining the language (ENG), country (US) and region (USA).
*maintain logon language information
ls_repository_language-language = 'ENG'.
ls_repository_language-country = 'US'.
**no region information needed here
ls_repository_language-region = 'USA'.
How can I see the repository language definition?
Which are the correct codes to be used for language 'English', Country 'United States' and Region 'USA'? And for other countries, like spanish language, country Spain and Region ¿spain?
In fact, we copied this code from website:
http://help.sap.com/saphelp_nwmdm71/helpdata/en/44/93ad8931381053e10000000a422035/frameset.htm
Maybe the problem is that any RFC configuration is missing, and it has to be done in transaction SM59?
Thanks for your feecback,
Carlos Santamaría.The problem is now solved.
The correct languague information codes for Language Spanish, Country Spain and Region, are as follows:
Language: 'spa'
Country: 'ES'
Region: '___'
It is important to respect the CAPS, otherwise it doesn't work.
Regards,
Carlos Santamaría.
Maybe you are looking for
-
how to attach a file? i need to do coding for my user interface subject. my file in pdf format.
-
My avi files are missing from iPhoto.
The thumbnails of the videos are showing up and the length of the video is there. When I double click on the image nothing happens. I right click and click on "Show File". It takes me to where it used to be but there is no file there. What's goin
-
If I'm connected to my home wifi , and I make a call does it still connect to my wifi or does it switch to my provides wifi . Thanks for helping
-
My crash apprears before the browser opens and so i cannot submit the report with the built in tool. Problem signature: Problem Event Name: APPCRASH Application Name: firefox.exe Application Version: 2.0.0.4085 Application Timestamp: 4d77ab07 Fault M
-
How to find out what is in the web cache
I have set up the web cache and its showing 25% fresh hits, 25% cacheable misses and 50% non-cacheable misses and I want to look at what is not getting cached to see how to improve this .... But all I can see is stats of the cache and no details of w