on 2024 Feb 22 3:26 AM
Hi,
For example, I have a CAP service request: /helloworld/Users?$filter=companyCode eq '123456'.
I have implemented a custom handler for Users entity - READ.
I've been looking at Events and Requests | CAPire (cloud.sap) but I couldn't find any way to extract filter values. In this case, it is companyCode 123456
What is the correct way to extract filter values?
Regards,
Minh
Request clarification before answering.
Usually, you will have to extract these kind of information from the req.query, for you case, it should be req.query.SELECT.where, then you can extract these information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
8 | |
7 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.