on 09-22-2008 8:54 AM
Hi ,
I use the DB tables directly. I dragged the db table on to the story board and used BI integration wizard to initially get all the values from that table. Now i want the table to take dynamic values form the input form. For this i have used the SQl statement from the input field.
Ex: input form: X and Y. The table will take two values.
The sql statement : "Select * from Table name where FieldX = ' " & @X & " ' " AND FieldY = ' " & @Y & " ' " "
When i deploy this i get a error "QUERY EXECUTION ERROR"
But when i map the Input fields directly to the corresponding values i get the output.
Please can any one help.
Regards
Tekumalla
Hi,
for me your statement should be :
Select * from Table name where FieldX = ' " & @X & " ' AND FieldY = ' " & @Y & " '
you have a " to be deleted before AND FiedlY.
Fabien.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok,
then try : Select * from Table name where FieldX = '&@X&' AND FieldY = '&@Y&'
without spaces between & and @ and without the "
I would also test without " and without ' :
Select * from Table name where FieldX = &@X& AND FieldY = &@Y&
by the way, are you sure that there is two & ? Not just one before @?
Sorry for those "experimental" solutions, I do not have a test system where I am....
Fabien.
I would try these solutions and will get back to you. Yes! according to the syntax given in the book "SAP NETWEAVER VISUAL COMPOSER".
The statement should be :
Select * from Table name where FieldX = ' " & @X & " ' AND FieldY = ' " & @Y & " '
But any ways i will try again with other possiblities.
Thanks
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.