ABAP API to store DATE value in MDM 5.5
Hello All,
Currently I am working on MDM 5.5 and need to have some suggestions on ABAP API Function module to store date values in MDM.
We have interface from where we take the user input which updates the field value back in the MDM.
On the basis of similar scenario we have "DATE" field on the interface which will update the date and time in MDM, also we are making use of ABAP API for development.
The problem is that data type mismatch is happening between MDM and ABAP API,please let me know which ABAP API Function module should we use which simply accepts the DATE and TIME for every single record.
Source code provided will be much more appreciable.
Regards,
Swapnil
Hi Swapnil.
In the same link provided by Sudhanshu, can you navigate to the node "Retrieving Complex Types".
It has sample codes and MDM interfaces for TimeStamp, Time Stamp, User Stamp, Literal Date, Literal Time etc.
As suggested, you can also try to use the type MDM_CDT_DATE_TIME.
See the sample code provided in the link as below:
Type: MDM Literal date:
CLEAR lv_date.
CONVERT TIME STAMP ls_result_ddic_ex-fieldliteraldate-content TIME ZONE sy-zonlo INTO DATE lv_date.
WRITE: AT (10) lv_date, '|'.
Type: MDM Literal time:
CLEAR lv_time.
CONVERT TIME STAMP ls_result_ddic_ex-fieldliteraltime-content TIME ZONE sy-zonlo INTO TIME lv_time.
WRITE: AT (10) lv_time, '|'.
Regards
Bala
Similar Messages
-
Store date value from calender
I have created a calender on a page which shows all date's of the month with sysdate(30th june06) (current date or today's date), Now i want to store any date value of the month in the item value i.e if i click on 5th june 06 then that value should be stored in the item value. Can anybody help ?
rameshThanks Denes Kubicek
The example is good and i need to modify that if i select the column from the selectlist then
1) The report should give all the columns and the same column name should be used for where clause for the search.
2) In the example the query is
DECLARE
q VARCHAR2 (4000);
BEGIN
q := ' select ';
q := q || REPLACE(NVL(NVL(:p1_columns, CASE WHEN :p1_multiple_select LIKE 'NUL' THEN NULL ELSE :p1_multiple_select END), 'EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO'),':',', ');
q := q || ' from emp ';
RETURN q;
END;
which gives column to selected column , but i want to get all columns so to modify the query.
p1_columns is not required.
Thanks,
Ramesh. -
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 -
Hi All
I am trying to use abap api to fetch data from MDM and I am using the provider class for SP06 for MDM 5.5 SP05 installation .
I get the below dump when I execute my program.
" Protocol header 0108000000010000 has invalid signature"
on debugging I found that the program dumps at the place where the method INIT_SOCKET gets called.
Kindly someone help me resolve this error.
awaiting for reply
RegardsHi everybody,
I guess this list will help most:
API Provider:>>>>>>>>>>>>>>>>>>>>> MDM Server Version:>>>>>>Name on marketplace:
CL_MDM_PROVIDER_55_SP05_PL00 >> 5.5.40.79 - 5.5.40.xx >>>>>> MDM_TECH_555
CL_MDM_PROVIDER_55_SP05_PL01 >> 5.5.41.29 - 5.5.41.xx >>>>>> MDM_TECH_555: patch 01
CL_MDM_PROVIDER_55_SP05_PL02 >> 5.5.42.30 - 5.5.42.xx >>>>>> MDM_TECH_555: patch 02
CL_MDM_PROVIDER_55_SP06_PL00 >> 5.5.60.59 - 5.5.60.xx >>>>>> MDM_TECH_555: patch 03
CL_MDM_PROVIDER_55_SP06_PL01 >> 5.5.61.43 - 5.5.61.xx >>>>>> MDM_TECH_555: patch 04
CL_MDM_PROVIDER_55_SP06_PL02 >> 5.5.62.29 - 5.5.62.xx >>>>>> MDM_TECH_555: patch 05
Thanks for rewards.
Regards
Andreas -
MDM_TECH 554_700 ABAP API giving socket connection error
Hi,
I have recently installed the MDM_TECH 554_700 on a 64Bit R/3 system and configured the ABAP API thru customization for a 32Bit MDM Server. Currently I am facing a problem with 'NiRaw2ConnectError: Connection refused' error and when I checked the detailed log it shows that "ERROR => mdeKernelError, NiRawToConnectError: The attempt to establish a socket connection caused an error (rc=-10) [mdm_mdeClien 265]". I have checked the necessary kernel files ( dw_mdm.dll) to make the socket connection between the MDM system, the OSS note 965209 & 950245 and not able to trace the problem. Is it possible to make the connection between 64Bit R/3 and 32Bit MDM server? Help on this issue is highly appreciated.
Regards,
VeluAlejandro,
The MDM ABAP API & MDM Server Versions are same. Both of them are in SP04. Here is the details on the versions:
MDM ABAP API - MDM SP04 provider, Server build 5.5.32.48 - 5.5.32.x
MDM Server 5.5 - SP04 ( 5.5.32.65)
Regards,
Velu -
Read data from MDM For Lookup and Flat table using MDM ABAP API
Hi,
I have requriment to read data from MDM from FLAT and Lookup table using MDM ABAP API. My design is like this ,
I have one ITEMS (Main table in MDM) and inside that i have one Lookup flat table ITEM_TYPE , my requriment is to read Item number and its related Item type.
From ABAP.
Please help if any body has any idea.
Regards,
ShyamHI Guys,
I found my solution by myself. Below is the solution , hope this will help others:-
Retrieve data from MDM using MDM ABAP API.
Step- 1. Create structure in SAP with the same name as that of MDM field code for MDM Main table.
Step-2. Create another structure in SAP having all lookup fields of MDM , fieldname in ECC must be same as that of MDM field
code.
Step-3.Create structure in SAP for individual lookup field(Single Field only) with the same name as MDM Field code.
Step-4.
DATA: IT_QUERY TYPE STANDARD TABLE OF MDM_QUERY, "MDM_QUERY_TABLE,
WA_QUERY TYPE MDM_QUERY,
WA_CDT_TEXT TYPE MDM_CDT_TEXT,
IT_RESULT_SET_KEY TYPE MDM_SEARCH_RESULT_TABLE,
WA_RESULT_SET_KEY TYPE MDM_SEARCH_RESULT,
WA_STRING TYPE STRING.
DATA:<Internal table> TYPE STANDARD TABLE OF <SAP Str Having all LOOKup Fields>
DATA: :<Internal table>TYPE STANDARD TABLE OF <SAP Str one LOOKup field>,
<Workarea> LIKE LINE OF :<Internal table>.
*PASS LOGICAL OBJECT NAME.
V_LOG_OBJECT_NAME = 'Logical object name defined in Customization'.
Define logon language, country & region for server
WA_LANGUAGE-LANGUAGE = 'eng'.
WA_LANGUAGE-COUNTRY = 'US'.
WA_LANGUAGE-REGION = 'USA'.
TRY.
CREATE OBJECT LR_API
EXPORTING
IV_LOG_OBJECT_NAME = V_LOG_OBJECT_NAME.
ENDTRY.
CONNECT to repository. Apply particular logon language info
CALL METHOD LR_API->MO_ACCESSOR->CONNECT
EXPORTING
IS_REPOSITORY_LANGUAGE = WA_LANGUAGE.
*NOW PASS ITEM NO AND GET KEY FROM MDM.
CLEAR WA_QUERY.
WA_QUERY-PARAMETER_CODE = <MDM FIELD CODE>. "Field code
WA_QUERY-OPERATOR = 'EQ'. "Contains
WA_QUERY-DIMENSION_TYPE = 1. "Field search
WA_QUERY-CONSTRAINT_TYPE = 8. "Text search
WA_STRING = <Field Value>.
GET REFERENCE OF WA_STRING INTO WA_QUERY-VALUE_LOW.
APPEND WA_QUERY TO IT_QUERY.
CLEAR WA_QUERY.
*PASS ITEM NUMBER AND GET RELATED KEY FROM MDM.
TRY.
CALL METHOD LR_API->MO_CORE_SERVICE->QUERY
EXPORTING
IV_OBJECT_TYPE_CODE = <MDM Main Table>
IT_QUERY = IT_QUERY
IMPORTING
ET_RESULT_SET = IT_RESULT_SET_KEY.
CATCH CX_MDM_COMMUNICATION_FAILURE .
CATCH CX_MDM_KERNEL .
CATCH CX_MDM_NOT_SUPPORTED .
CATCH CX_MDM_USAGE_ERROR .
CATCH CX_MDM_PROVIDER .
CATCH CX_MDM_SERVER_RC_CODE .
ENDTRY.
Pass record id into keys.
LOOP AT IT_RESULT_SET_KEY INTO WA_RESULT_SET_KEY.
WA_KEYS = WA_RESULT_SET_KEY-RECORD_IDS.
ENDLOOP.
WA_RESULT_SET_DEFINITION-FIELD_NAME = <Look field name>.
APPEND WA_RESULT_SET_DEFINITION TO IT_RESULT_SET_DEFINITION.
CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE
EXPORTING
IV_OBJECT_TYPE_CODE = <MDM Main Table>
IT_RESULT_SET_DEFINITION = IT_RESULT_SET_DEFINITION
IT_KEYS = WA_KEYS
IMPORTING
ET_RESULT_SET = IT_RESULT_SET.
LOOP AT IT_RESULT_SET INTO
WA_RESULT_SET.
*PASS KEYS INTO MAIN TABLE TO GET Structure for FALT or Look up Table
TRY.
CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE_SIMPLE
EXPORTING
IV_OBJECT_TYPE_CODE = <MDM Main Table>
IT_KEYS = WA_KEYS
IMPORTING
ET_DDIC_STRUCTURE =<SAP Strct having all Look up fileds of MDM>
ENDTRY.
LOOP AT <SAP Strct having all Look up fileds of MDM> INTO <Work area>.
CLEAR WA_KEYS.
APPEND <Work area>-field name TO WA_KEYS.
CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE_SIMPLE
EXPORTING
IV_OBJECT_TYPE_CODE = <MDM Lookup table name>
IT_KEYS = WA_KEYS
IMPORTING
ET_DDIC_STRUCTURE = <Single Structure in SAP For Lookup field>.
READ TABLE <Single Structure in SAP For Lookup field>. INTO <Work Area> INDEX 1.
Here you can get the value of realted lookup fields associated with main table data.
ENDLOOP.
ENDLOOP.
LR_API->MO_ACCESSOR->DISCONNECT( ).
Edited by: Shyam Babu Sah on Nov 24, 2009 4:52 AM -
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 -
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 -
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 All,
1. Can we Create Lookup Field in the main table which is
link to Lookup Sub table Using MDM ABAP APIs.
2. We have to Assign FieldQualifiedFlatLookup entries and also qualifiers manually by going into MDM Data Manger as given in HowTo_13.Pdf. Can we achieve this Only Using MDM ABAP APIs.
3. What is the Role of Value Check inHowTo_19.Pdf.
4. Can change tracking achievable using MDM ABAP APIs
Assure Ponits will be rewarded for helpful Answers:
Thanks in Advance,
MandyHi Mandy,
I would like to help you out on your last query.
ABAP API's has provided with 2 methods which are related to Change tracking.
The 2 methods are:
1. RETRIEVE_CHANGE_TRACKING: You can use this method to update the MDM Change tracking metadata.
2. RETRIEVE_UPDATE_TRACKING You can use this method to retrieve the MDM Change tracking metadata.
Along with this, you can use the tracking and CCMS Montioring functionality to keep a track on changes done in MDM through ABAP API's.
I am also attaching a link to a very gud webinar by Klaus David on ABAP API's:
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00dd47bd-f2f1-2910-5eab-e9ca52465ae4].
Kindly go through it.
I hope it helps.
*Please reward points if found useful.
Thanks and Regards
Nitin Jain -
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,
KAVHi 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 -
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
-
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 -
ABAP API's - URGENT- Tracking of changes in MDM.
Hello Experts,
I want to track all the changes made in MDM In ECC. I know that i can do it using ABAP API's tracking feature.
I have already established the connection between ECC and MDM.
I would want to know all the exact steps to enable tracking and monitoring through ABAP API's.
Helpful answers will be highly appreciated.
Thanks and Regards
Nitin jain
Edited by: Nitin Jain on Jan 29, 2008 4:45 AMHi Nitin,
As you have already connected to MDM through R/3.
For Changing Tracking, you have to call the function 'MDM_ADMIN_RETR_CHANGE_TRACKING' for that you have to use structure MDM_AUDIT_INFORMATION.
I am not quite sure will it work. Please try.
Hope it helps you,
Regarding CCMS montoring in MDM ABAP APIs, refer the link:
How TO Guides available on Service Market Place.
https://websmp210.sap-ag.de/~sapidb/011000358700004121872006E --> operations
Here apart from How to guides you will also get
HowTo_CCMS_Trace.pdf : It will guide you if there any errors come in connection b/w R/3 and MDM. it does the following:
. Collect and evaluate application log data
- Collect and evaluate kernel trace data
- Problem solution showcasecomes
if your HowTo_07.pdf on Tracing report is working fine then you can identify whether is there any error coming or not.
Lets take an example : if you Shut down the MDM Server.
Then in R/3 On running HowTO_07 program:you will get ERROR DURING CONNECT: 3 , ERROR DURING DISCONNECT: 3
The Reason for this is the unavailable server. but here you will not get more details. For this
After implementing HowTo_CCMS_Trace guide: under transaction RZ20 : In Application Trace you will see error Partner not reached (hostXXX, Service 20005) and
In Kernel WorkProcess Trace: You will get error: MDE Kernel Error, NiRaw2ConnectError: the attempt to establish a socket connect caused an error.
So in this way you evaluate the error in more details.
Note: For this you should have authroize to use the transaction RZ20 in R/3 System.
Hope it helps you,
Mandeep Saini. -
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
Maybe you are looking for
-
"Ghost files" when exporting to CD for PC or DVD player
I'm exporting my photos from iPhoto and then burn them to a CD (for friends that are using PC or want to watch them on their DVD player) ghost files appears like duplicates. So if I burn 100 images it will be 200 when opening on a PC or on a DVD play
-
I’m having such troubles exporting slideshows that I may go insane. I want to be able to do two things: 1. Export a slideshow to a file that I can burn on a CD or DVD and give to people to play on both Macs and PC’s. I would like this slideshow to ha
-
Swatches loading into background color when clicked, not foreground
Can someone advise. When I mouse click on a swatch from the brush tool the color I select is loaded into the background color instead of the foreground color. Then to use the color I have to slide the reverse tool, which is a pain and slow. How can I
-
Trick question about EventListeners & MovieClips
Heya, I have 2 MovieClips, a square and over it an animation. I want to add a MouseEvent.CLICK to the square and be able to click it without removing the animation. Something like changing the index of the instances but without making the square over
-
ALV totals with REUSE_ALV_GRID_DISPLAY function
Hi folks, I am using the function REUSE_ALV_GRID_DISPLAY to display a report. One column called 'Perc Left' has been defined as a total using the do_sum = 'X' field in the field catalog. Not what I really want... My issue is that when the totals are