cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP API' s Problems

Former Member
0 Kudos

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 ....

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Mandeep,

I have custom field in my respository Lastupdate ( Time stamp).

I have to pass a value to this field with 'GT' operator . can you please let me know if you have sample code?