cancel
Showing results for 
Search instead for 
Did you mean: 

reading price from MDM using ABAP API

Former Member
0 Kudos

Hello All,

I need to read the pricing fields from MDM, as well, many other fields from MDM:

- product_id

- short description

- purchase group

- ...

The only field i can´t read is the price table and all the fields related to it.

For the other table/fields I use:

*query

CALL METHOD lr_api->mo_core_service->query

EXPORTING

iv_object_type_code = 'MDMSRM_CATALOG_ITEMS'

it_query = lt_query

IMPORTING

et_result_set = lt_result_set.

LOOP AT lt_result_set INTO ls_result_set.

lt_keys = ls_result_set-record_ids.

EXIT.

ENDLOOP.

*retrive

CALL METHOD lr_api->mo_core_service->retrieve_simple

EXPORTING

iv_object_type_code = 'MDMSRM_CATALOG_ITEMS'

it_keys = lt_keys

IMPORTING

et_ddic_structure = lt_record_data.

The table lt_record_data contains all the fields populated.

What can i do to the price table in order to get the fields from this table populated too?

Thanks a lot.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can download MDM ABAP API How to Guides Part1 to Part 19 from Service Market Place. MDM ABAP API How to Guide_13 contains guide for Create/Retrieve Qualified Flat Look up. Hope it will help you.

Best Regards,

Mandeep Saini