Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP API MDM dump

Former Member
0 Likes
388

Hi,

when I am retreiving data from MDM to ECC using ABAP API, getting dump.Please check the code , dump and suggest solution.

CALL METHOD api->mo_core_service->query

       EXPORTING

*Main Table

       iv_object_type_code =   'MDM_SUPPLIER_MAP'

       it_query = lt_query

       IMPORTING

       et_result_set = lt_result_set.

I am just passing empty it_query internal table to retreive all the reccords from MDM server.

DUMP:


Short text

    An exception occurred that was not caught.

    

What happened?

    The exception 'CX_MDM_PROVIDER' was raised, but it was not caught anywhere

     along

    the call hierarchy.

    Since exceptions represent error situations and this error was not

    adequately responded to, the running ABAP program

     'CL_MDM_PROVIDER_71_SP00_PL00==CP' has to be

    terminated.

  Error analysis

    An exception occurred which is explained in detail below.

    The exception, which is assigned to class 'CX_MDM_PROVIDER', was not caught and

    therefore caused a runtime error.

    The reason for the exception is:

    Internal error: field 'SEARCH_GROUPS' not found; contact your system

    administrator


Thanks and regards,

Umakanth

1 REPLY 1
Read only

gouravkumar64
Active Contributor
0 Likes
293

Hi,

Always try to use TRY--ENDTRY,catch block to catch the exception somewhere.search for sample code....

Please have a look at this thread for ur help.

http://scn.sap.com/docs/DOC-33645

It is for extraction data from MDM .

May be helpful.

Thanks

Gourav.