cancel
Showing results for 
Search instead for 
Did you mean: 

mdm abap api retrieve method does not work properly

Former Member
0 Kudos

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.

Gideon

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

thank you for the hints to this issue..

My question is finally be answered, partly by going to the presentations you sent me

Now the solution:

.

Since all fields i wanted were qualifiers they could be found in the qualifier field of

my related field which is of type MDM_QUALIFIED_LINK_TABLE.

We know this field consists of:

QUALIFIED_LOOKUP_ID

QUALIFIED_LINK_ID

QUALIFIER

The qualifier fields can be found in the qualifier table of the mdm_qualified_link_table.

we need to loop through this internal table and assign the values of the

But still text was not transferred.

I had to use the data type MDM_E_CONTENT in the R/3 structure.

but i also had to use the type TEXT_NORMALIZED in my MDM table to make field values be transferred to r/3.

now it works as wanted.

Former Member
0 Kudos

Hi Gideon,

Thanks for sharing the exact solution with all of us.

Best Regards,

Nitin Jain

Former Member
0 Kudos

Hi Friend,

I need to retrieve data in flat look up table. Please give me solution

I have business partner ( 1 partner have multiple address i want to read address data).

Thanks,

Anil

Former Member
0 Kudos

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

Webinar Replay

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00dd47bd-f2f1-2910-5eab-e9ca5246...

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

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