Skip to Content
0
Former Member
Jun 15, 2009 at 10:19 AM

reading price from MDM using ABAP API

24 Views

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.