Hi everyone, I am at my wits end with this problem have spent countless hours trying to find solutions on this and many other pages:
I am relatively new to the Symantec layer of BOBJ, but have spent many years building Webis based on BW Bex Queries.
I have created a connection to our SAP system, created a simple data foundation based on one of the info sets, And finally created a rudimentary Business layer.
My problem is dates! ( sorry I know there are heaps of posts even a “sticky” but I cant work this out)
If I create a filter on VTTK-ERDAT in my webi and set it to either Prompt or Fixed value, its everything works great!
But I want a dynamic filter so that I can schedule the report twice a day. All I want is “TODAY”. I have attached a screen shot if where I am at. Having tried what feels like every piece of code ever written, I am at a loss as to what I am, undoubtedly, doing wrong.
For the record
ERP is on DB2, BOBJ is running on MS SQL Server.
Thanks. I did wonder about which language to use.
I have tried ‘Current Date’, but it didn’t seem to work.
Could you suggest syntax? are there quotes? single quotes?
I understand that this might not parse, so I should create the variable as is and the the publish the universe, and use it it in an actual webi correct?
There is no way to test the variable in the designer?
Thanks for the replies guys!
Debbie, Its a single source. Derf, thanks I tried your suggestion, no joy.
FYI: when i “show values” the VTTK-ERDAT column is in in this format
Aug 15, 2015
If i create a simple query like this:
SELECT
Table__1."LIKP-WERKS",
Table__1."LIKP-ANZPK",
Table__1."LIKP-VOLUM"
FROM
"VTTK" Table__1
WHERE
(
Table__1."VTTK-TPLST" = '57DA'
AND
Table__1."VTTK-SHTYP" = 'Z001'
AND
( Table__1."VTTK-ERDAT" >= CURRENT DATE )
)
I get the following error:
The “expecting RIGHT_PAREN” is a recurring error I see with various attempts at try to get this to work.
Any more suggestions?
Thanks