on 02-25-2020 1:23 AM
Hi Experts,
I am trying to change the search values of a requested call by changing io_tech_request_context input parameter.
I understand that input parameters can't be changed. But i tried copying to a like variable similar to this but still unable to change the values.
Is there a possibility to change the search values before proceeding to fill in the entity set ? The values will be retrieved from a CDS.
Thanks.
You can the search string from
data(lv_search_string) = io_tech_request_context->get_search_string().
as described here:
there is no other way to implement free search in SAP Gateway then evaluating the search string and to implement the search your self.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Andre. But the blog doesn't say how to change the values of search string to get entity set based on modified search string. I tried modifying variable iv_search_string with a local variable but it didn't change the search results due to values within the object io_tech_request_context. Any ways to modify the values within the request context object ?
User | Count |
---|---|
69 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.