on 10-07-2012 6:23 PM
HI All
I have created a calculation view which has input parameter when I do data preview it works fine as it asks for input parameters, but when I try to use that in a select statement , I am recieving below error
SAP DBTech JDBC: [2048]: column store error: search table error: [34092] search on calculation model requires parameters;Required variable $$shopid$$ is not set.
how can we use select statement and resolve the error to get proper result based on ,because I am trying to use this calculation view on ABAP client to get result records by accepting th input parameters from client side and use them for further processing .Request you to share your ideas.
Thanks
Santosh Varada
You need to pass the parameters with a PLACEHOLDER statement in the SELECT. For the proper syntax, open the Data preview window, click on the small exclamation icon in the top right, and check the query it executes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santosh Varada,
Could you please let me know how did you entered the Placeholder in ABAP coding as when i try to enter it , it gives me complile time error.
I tried to run it something like this:
SELECT * FROM EV_CV_RANGE_QURY ('PLACEHOLDER' = ('$$offset$$', '1'), 'PLACEHOLDER' = ('$$length_param$$', '2'))
INTO TABLE lt_wrs1
WHERE ASORT = 'MGS1' .
But it is not compiling and gives error at ('PLACEHOLDER' ...
Thanks.
Ashish
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.