Hi Slyvain,
Thanks for the information, but as per your suggestion you are trying to set the max hits to difference query name MktInteractionObjectStdQuery which is not required
* set max hit count to 10
data: LS_PARAM type CRMT_NAME_VALUE_PAIR.
LS_PARAM-NAME = 'MAX_HITS'.
LS_PARAM-VALUE = '10'.
append LS_PARAM to LT_QUERY_PARAMS.
LV_IO_RESULT = LV_CORE->QUERY( IV_QUERY_NAME = ME->IO_QUERY_NAME
IT_QUERY_PARAMS = LT_QUERY_PARAMS
IV_VIEW_NAME = ME->VIEW_NAME ).
But as per functionality of standard behavior Actual result required in result list is using BUSACT_QUERY_NAME ( as Query object BTQueryBusAct ') you can check and debug the the below code, so max_hits wont work in this case.
* fire activity query
data: LV_BUSACT_RESULT type ref to IF_BOL_ENTITY_COL.
LV_BUSACT_RESULT = LV_CORE->QUERY( IV_QUERY_NAME = ME->BUSACT_QUERY_NAME
IT_QUERY_PARAMS = LT_QUERY_PARAMS
IV_VIEW_NAME = ME->VIEW_NAME ).
Moreover you can execute the same in genil_bol_browser.
i am not sure still about this we can achieve this with the the same query name or do this using some configuration in spro.
Thanksss
Regards,
Sumeet