on 09-04-2018 5:06 PM
Hi,
I have a requirement to build a parameterized CDS view to display a list of values based on few search criteria. The requiremnt is as below:
1. User can enter a company code or can enter desacription. Description may not be full always meaning user can provide part of the description for 'Like Search'.
I want to create a CDS view to be able to receive 2 parameters and the able to search the required entries and return the output list.
If anybody has created a CDS for similar requirment then please let me know the steps.
A quick response would be appreciated.
Regards,
NM
You can create a normal view and pass the burks and description as the filters, you dont need to go for parameters atleast here. So if you pass those 2 as filters you can perform like or like not or equal or use any sql search operators.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From where you want to perform search??? UI5?? or select query in abap??
If UI5-> Pass filter with contains
If abap select query-> pass filter with contains patterns..,
I am not sure how u want to execute the query buddy.. It is just an sql staement, check opensql from sap on how to pass filter quieres or if it is ui5 it is even more easy to pass filters..
Best Regards,
Mahesh
User | Count |
---|---|
74 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.