on 08-26-2008 1:48 PM
Hi,
in principle i am looking for a way to retrive all data for example of an mdm main table.
So i was looking for something similar to "select * " in ordinary abap.
i know that there is the query method in the core_services interface but i am missing the
CP ( contains pattern ) operator here.
Is there a way to get all record ids of a repository?
Thanks in advance!
Gideon
Hi,
You can retrieve all record ids of a repository using Query Method.
if you are usiing do and End do then comment this and use below code. it is working fine at my side..
*DO 5 times.
*APPEND sy-index TO lt_keys.
*ENDDO.
you need to add the below code it will definitely work for you.
DATA lt_search_result_set TYPE mdm_search_result_table.
DATA ls_search_result_set TYPE mdm_search_result.
CALL METHOD lr_api->mo_core_service->query
EXPORTING
iv_object_type_code = 'Products'
IMPORTING
et_result_set = lt_search_result_set.
READ TABLE lt_search_result_set INTO ls_search_result_set INDEX 1.
Hope it will solve your Query,
Rewards if found Useful.....
Thanks,
Mandeep Saini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.