Generate MDM_GID using ABAP API
Hi all!
Does anybody know how to generate unique MDM_ID while loading records to MDM from BI using ABAP API (it is done automatically when using OHD , but when doing manually - no idea).
I tried to call INVOKE_STRATEGIES but nothing happened.
Hi,
You can refer
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b01e4269-f744-2b10-929b-fa7b49aac540
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06a92de-614e-2b10-4989-d913c2154a64
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00f0d853-936f-2b10-1880-d3deb1fbd858
Regards
Nisha
Similar Messages
-
How to read records from Relationship table using ABAP API's
Hi All,
I need to retrieve the records from Relationship table. In Java API's I came to know there is an option to retrieve this. I could not find anything in ABAP API's. Is there any option in ABAP API's to do this.
Please Suggest.
Thank You,
Gajendra.Hi Gajendra,
You can mainly read records from MDM (in a DDIC structure) using ABAP API's using the following function modules/methods:
1. RETRIEVE: This is used to generically retrieve records from tables. Attributes and Values can also be retrieved.
2. RETRIEVE SIMPLE: Retrieve records from MDM in a simple way.( simple data types).
3. RETRIEVE CHECKOUT: Retrieves all checked out ID's.
4. RETRIEVE ATTRIBUTES: Retrieves attribute(s) from a Taxanomy table.
You will find all these methods in the following interface
Interface : IF_MDM_CORE_SERVICES
Hope it helps.
*Please reward points if found useful.
Thanks and Regards
Nitin Jain -
To generate PDF using BI APIs and loadjava utility
Hi All,
I am trying to generate PDF using BI APIs(FOProcessor etc).
I have generated XML data through the PL/SQl procedure and storing it in a file. This file is loacted in database tier.
The APIs is used through a simple java program which is application tier. To test the process, I had to manually provide the XML file to the java class in order to generate PDF and it does generate.
Now the issue is I need to load the java class to the database so that everything gets automated(loadjava utlility).
when i try to do it, it give no class found error.
Do I need to load the referenced classes in the java file , that is, FOProcessor,RTFProcessor,FOUtility,jdbc.driver.OracleDriver as well?
If the above is not possible, is it possible to reference a file in database tier from application tier so that i can use the XML file as input the java class in application tier.
thanks,
SrikThe only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off. -
Matching Strategy by using ABAP API
Hi,
Actually we have a requirement to check the matching strategy by using MDM from R/3 ABAP program by using MDM ABAP APIs.
In our case there would be bulk number customer's comes into R/3, We need to run matching strategy for De-Duplication of customers.
By Using ABAP APIs, Is there any provision to pass Multiple customers at a time to MDM to find Matching records (I know it is possible for one Customer at a time).
Thanks,
Sekhar.JHi Sekhar,
You can refer the below:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0970df4-64a1-2910-5bbe-fa89ad6d1d5e
I want to retrieve matching result using MDM ABAP API
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e060251e-b58d-2910-02a2-c9a1d60d9116
Hope it helps.
Thanks,
Priti. -
Guide procedures (callable objects ) using ABAP API.
Hi,
Is it possible to develop callable objects using ABAP APIs?
IF yes how ?
Regards
Nishahello Nisha,
Plz see the basic information link on GP
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831 -
Callable objects using ABAP API
hi,
Is it possible to develop Callable objects for MDM using ABAP APIs?
Regards
NishaHi Nisha,
As far as I know, itu2019s not possible. You can use just RFC/BAPI as external services CO or ABAP Web Dynpro (this CO is limited regarding output parameters).
MDM offers two APIS for Java development:
1) MDM4J API, which is an old API and will be discontinued from MDM 7.1
2) MDM Java API that is recommended
With this API you can create Java Libraries or/and Web Services to re use into your CO.
Best Regards,
Pedro Nunes -
Can i generate certificates using java api
can i generate certificates signed by my private key using java API.
I found cetificatFactory must generate a certificate from a file,
but how can i generate this file?
Thanksvisit :
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jarsigner.html
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html
u can create ur own certificate
Edward -
API to generate password using Siteminder API and the password policy
Is there any API in siteminder to generate a password using the Password policies defined ?
Hello Jim,
The way you are going about your coding sounds correct. Per your second question, MAX installs when you update the computer drivers. To do this go to ni.com/drivers, search for DAQmx, and then download the most current version of DAQmx that is compatible with your computers. By installing a newer version of DAQmx MAX will automatically be updated.
Regards,
Marcus
Marcus M.
PXI Product Support Engineer
National Instruments -
How to create numeric attribute using ABAP API
Hi experts
I'm trying to create a numeric attribute for a taxonomy table. In the how-to-examples there are only ways to create text attributes.
Those who have tried, please let me know the steps.
I have given below the code snippet which i tried to create numeric attribute. Please let me knw the missing link.
ls_num_attr_val-rating = 500.
APPEND ls_num_attr_val TO ls_ext_attr_info-characteristics.
ls_ext_attr_info-attr_info-attr_id-id = lv_attribute_id.
APPEND ls_ext_attr_info TO lt_ext_attr_info.
GET REFERENCE OF lt_ext_attr_info INTO lv_data.
ls_namevalue-value = lv_data.
ls_namevalue-code = 'ACCT'.
APPEND ls_namevalue TO ls_parameter-name_value_pairs.
lv_string = 'Customer 12'.
GET REFERENCE OF lv_string INTO lv_data.
ls_namevalue-value = lv_data.
ls_namevalue-code = 'CUST_NAME'.
APPEND ls_namevalue TO ls_parameter-name_value_pairs.
CALL METHOD lr_api->mo_core_service->create
EXPORTING
iv_object_type_code = 'ACCT_TYPE'
is_parameter = ls_parameter
iv_parent_id = 0
IMPORTING
ev_new_internal_id = lv_key.
Thanks
SwarnaDeepika
Edited by: SwarnaDeepika on Dec 19, 2009 4:38 PMHello Ashok,
[here|https://help.sap.com/javadocs/MDM/current/com/sap/mdm/examples/CreateField.html] is the Java API of the needed command.
There is also an example of how to create a field. You can use the class by replacing the strings for the server, repository, table, etc. to your needs.
If you want to create more than one field, simply use a loop, like the for-loop, while-loop, etc.
Hope this helps.
Best regards
Dominik -
How ECMAScript enabled SVG Documnt be generated dynamically using DOM API.
<?xml version="1.0" encoding="UTF-8"?>
<svg height="200cm" width="200cm">
<script type="text/ecmascript">
<![CDATA[function rect_click(id){appletHost.getSelectedRectId(id);}]]>
</script>
<rect fill="none" height="1.0cm" i="5" id="B7001-09" j="0" stroke="blue" stroke-width="1" width="2.0cm" x="27.0cm" y="0.8cm" onclick="rect_click('B7001')"/>
<rect fill="none" height="1.0cm" i="5" id="B7001-09" j="0" stroke="blue" stroke-width="1" width="2.0cm" x="27.0cm" y="0.8cm"/>
<rect fill="none" height="1.0cm" i="5" id="B7001-09" j="0" stroke="blue" stroke-width="1" width="2.0cm" x="27.0cm" y="0.8cm"/>
</svg>Sorry to ask u this question, its ver simple.
Create CDATA Section through the document and append it to the Script Element..
Element script = doc.createElement("script");
script.setAttribute("type","text/ecmascript");
script.appendChild(doc.createCDATASection("function rect_click(id){appletHost.getSelectedRectId(id);}"));
doc.getDocumentElement().appendChild(script);
Output inside <svg> tag::
<script type="text/ecmascript">
<![CDATA[function rect_click(id){appletHost.getSelectedRectId(id);}]]>
</script>
Rohit Joshi -
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 -
Trigger MDM Workflow Using MDM ABAP API
Hi ,
I have requriment to trigger MDM Workflow from ABAP , Please suggest how to do it ?'
Thanks in Advance.
Shyam.Hi,
Are you creating material in MDM using Data Manager or Portal. or Using ABAP API.
If your workflow trigger Action is "Record Create" then it should trigger workflow as soon as new material is created. I don't see any problem in this.
Regards,
Shiv -
Creating PDF using ITEXT API's - error
Hi,
In my WebDynpro Application I want to generate a PDF (using ITEXT API's) out of the data retrieved from back end system .
I used this source code.
Document document = new Document(PageSize.A4);
document.open();
PdfPTable table = new PdfPTable(1);
PdfPCell cell;
cell = new PdfPCell(new Paragraph("ONE"));
table.addCell(cell);
cell = new PdfPCell(new Paragraph("TWO"));
table.addCell(cell);
document.add(table);
document.close();
byte[] b = new byte[100 * 1024];
b = document.toString().getBytes("UTF-8");
IWDCachedWebResource pdfRes = WDWebResource.getPublicCachedWebResource(b, WDWebResourceType.PDF, WDScopeType.CLIENTSESSION_SCOPE, wdThis.wdGetAPI().getComponent().getDeployableObjectPart(),"FileNameHelloText"));
I have used Window Manager to create a external window with the URL from pdfRes.getUrl() method.
After execution i get a pop up window with out PDF document.
Please let me know your thoughts & solutions to the above mentioned problem.
Thanks
SenthilHello Folks,
Use the following snippet of the code to generate PDF using ITEXT API.
Document document = new Document(PageSize.A4);
ByteArrayOutputStream bos = new ByteArrayOutputStream();
PdfWriter.getInstance(document, bos);
document.open();
PdfPTable table = new PdfPTable(1);
PdfPCell cell;
cell = new PdfPCell(new Paragraph("ONE"));
table.addCell(cell);
cell = new PdfPCell(new Paragraph("TWO"));
table.addCell(cell);
document.add(table);
document.close();
byte [] byteContent = bos.toByteArray();
IWDCachedWebResource cachedResource =
WDWebResource.getPublicCachedWebResource(
byteContent,
WDWebResourceType.PDF,
WDScopeType.CLIENTSESSION_SCOPE,
wdThis
.wdGetAPI()
.getComponent()
.getDeployableObjectPart(),
"TestPDF");
IWDWindow externalWindow =
wdComponentAPI
.getWindowManager()
.createExternalWindow(cachedResource.getURL(), "PDF Window",true);
externalWindow.open();
Thanks and Regards,
Gopi -
Hi All,
I am working on a scenario where I need to use abap api to fetch data from mdm system.
Here have coded to fetch data from mdm system and done the required configurations in mdmapic transaction. but I get a dump.
It says "BSEI_MSG_BADCRC" error.
Kindly someone help me resolve this error.
I have done mdmapic configuration to use the provider class of sp06 . I also used the provider class of sp05 .both give the same error.
The build of SAPMDM is 5.5.40.83 and the provider class of spo5 in mdmapic has a build 5.5.42.79 .should the provider system have the same build . I also checked for add on with that build in service market place. It was not available.
Regards
SudheendraHi,
I strongly feel it comes just because of Version Mis-matching. Your MDM Server and Provider Class shold be of same Version. as CRC always indicates Version Mismatching.
E.g. For MDM server version 5.5 SP6 patch1 then install MDM_Tech 5.5.5_640:patch004 or MDM_Tech 5.5.5_700:patch004 as per your R/3 system release.
you could check it using HowTo_07. pdf , on executing this report you could know connection to your MDM Server is estabilishing Properly or not. here in this report you have to change one Parameter logical object name which you have given in transaction MDMAPIC
you could find more Add-on patch on Service Market Place while searching in Searching for All Categories. here search using MDM_TECH
Hope it will Help you,
Rewards if useful....
Mandeep Saini -
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
Maybe you are looking for
-
Im trying to buy a song from a album but i get error that it is no longer available. The other songs is working and its a new album. I typer in the wrong password on this song. Could that be the issue?
-
Windows 7 - ipod touch 8gb always recognizes as a new ipod
hey, whenever i connect my ipod touch 2nd gen 8gb to my computer, it always comes up in itunes as a new ipod, and the "set up as new ipod" screen comes up. i just updated to windows 7 and have itunes 9. also, i connected an ipod nano chromatic and it
-
Hi, One of my friend has given this problem to me. I'm using 11g. Two tables t1, t2. No relation exist between these two tables. Please find the table Scripts below. -- Table t1 CREATE TABLE t1(col1 NUMBER, col2 NUMBER); INSERT INTO t1 VALUES (1,2);
-
Hi! My partner has just bought a G5 with 10.4.9 and we're having a little difficulty connecting. I used to connect to his G4 like so: finder > go > network- But now when I try the exact same thing I can see his new computer icon, but when I click on
-
MacBook Pro not booting after stop sign appears
Hi, On Friday I was browsing twitter whilst running photoshop CS5 on my MacBook Pro 13", when safari crashed on me. I tried to close safari normally, but it wasn't responding. After trying the various ways of closing the program, I was forced