on 2024 Aug 11 11:00 AM
Hello Experts,
I'm trying to run a select query from within the B1 client from a column view residing in _SYS_BIC. The query runs fine on it's own, but when i put an input parameter with [%0], it throws an error. Here's the query i'm running:
SELECT *
FROM "_SYS_BIC"."emco.production.case/RejectionByProcess" T0
WHERE T0."ItemCode" = [%0]
Does SAP support filters on such queries?
Thanks
Hello,
You need to add a commented line to bind the [%0] with UDT field.
In your case, add a new UDT, for example, @UDQ_RejectionByProcess and add an UDF, for exmple, U_ItemCode on it, with alphanumeric type.
then add the following in front of your UDQ.
/*SELECT FROM "@UDQ_RejectionByProcess" T0 WHERE T0."U_ItemCode" = [%0];*/
Regards
EunSeok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.