All,
I get the following error when I use the place holder syntax in the BOBJ IDT - Data Foundation SQL.
SAP DBTech JDBC: [2048]: column store error: search table error: [34023] Internal error during instantiating calculation model
Scenario:
I have a calculation view which serves as a summarized data view which serves as a weekly and monthly report view. Due to the requirement I have created two universes one for monthly and anotehr for weekly and pass the from to months into HANA Model.
The monthly data foundation (dervied table sql in the Data Foundation works fine). But when I use the same sql where class in the weekly view data foundation I get the above error.
The calculation view is built with CE_FUNCTION
The monthly view - IDT Sql is below.
SELECT ZWEEK, KOKRS, KOSTL, DATBI, KTEXT, BUKRS, PERIO, GJAHR, REG_AMT, OT_AMT, MEGBTR, WTGBTR, YYYYMMM, BUTXT
FROM "_SYS_BIC"."zspr.mfg.prod-db/ZCVS_OTCSTCTR" ('PLACEHOLDER' = ('$$IP_YYYYMMM_FR$$', @Prompt(IP_YYYYMMM_FR)),
'PLACEHOLDER' = ('$$IP_YYYYMMM_TO$$', @Prompt(IP_YYYYMMM_TO)))
WHERE "_SYS_BIC"."zspr.mfg.prod-db/ZCVS_OTCSTCTR"."KOSTL" IN @Prompt(IP_CC)
The weekly view - IDT Sql is below
SELECT * FROM "_SYS_BIC"."zspr.mfg.prod-db/ZCVS_OTCSTCTR" ('PLACEHOLDER' = ('$$IP_YYYYMMM_FR$$', @Prompt(IP_PERIO_FR)),
'PLACEHOLDER' = ('$$IP_YYYYMMM_TO$$', @Prompt(IP_PERIO_TO)))
WHERE "_SYS_BIC"."zspr.mfg.prod-db/ZCVS_OTCSTCTR"."KOSTL" IN @Prompt(IP_COSTC)
The difference I see is the parameters are different in both the universe and in worst case I am planning to use the same universe. But would like to know why do I get this error, when almost the SQL's are identical.
Any help is appreciated.
Thanks,
Arthur.