on 06-23-2009 11:49 PM
Hi All,
I am trying to retrieve data from MDM using ABAP API's .
I am stuck with couple of scenarios:
1.How can we pass Boolean field to retrieve the data from MDM?
2. I need pass a date value ....the last updated date should be greater than last job run date ...based on this query i need to retrieve data from MDM...
please let me know your ideas ....
Hi,
1.How can we pass Boolean field to retrieve the data from MDM?
For retrieving Boolean field you can use Retrieving Simple Types
CALL METHOD lr_api->mo_core_service->retrieve
EXPORTING
iv_object_type_code = 'Products' // Main Table
it_result_set_definition = lt_result_set_definition
it_keys = lt_keys
IMPORTING
et_result_set = lt_result_set.
If you are using MDM 7.1 Please refer this for more details: You need Service Market Place ID for this.
https://websmp210.sap-ag.de/~sapidb/011000358700001887232008E
https://websmp210.sap-ag.de/~sapidb/011000358700001718602008E
if you are using MDM 5.5 Please refer this for more details:
https://websmp210.sap-ag.de/~sapidb/011000358700000271912007E Refer HOWTO_8
2. I need pass a date value ....the last updated date should be greater than last job run date ...based on this query i need to retrieve data from MDM...
I am not quite sure how it can be done because here we don't have any Suppress unchanged records option as we have in syndicator which take care of syndicating only new and changed records to your target system everytime. Here we have just methods and classes which will retrieve all the records.
You can invoke validation in MDM 7.1 using ABAP APIs but question is how will you make sure that this validation run on the basis of change pointers i mean for records which have already retrieved from MDM using MDM ABAP APIs. you can print record id for failed validations.
Best Regards,
Mandeep Saini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.