Re: setting up result caching in HANA 82
Hi Dhinesh, We are facing a similar issue . Were you able to find the reason ? ThanksVenkat
View ArticleAnalytics package and algorithm for ecommerce in HANA
Hi All, In HANA from what I know we have many inbuilt package containing specific algorithms and functions like AFL and PAL. Similar to this do we something specific to ecommerce analytics available...
View ArticleHANA DB connection not stable, System Error : Socket Closed
Dear All, Today i get error when connect from SAP B1 Client to HANA System, the company list not show.I try to check my SLD, but i can't login, the error message say "Please confirm that SLD is...
View ArticleRe: YTD and PYTD in SAP HANA
Hi Abdullah, Please give more info what is your Fiscal year cycle?Sample data.What output you expecting for Calculated column YTD - YES / NO. Please check this link.How To...Calculate YTD-MTD-anyTD...
View ArticleRe: Best Practices HANA Modeling: Attr/An/Calc Views or CDS
OK for the link you mentioned about the migration. But still have a question on this "not so clear" topic : what is planned to replace the Data foundation of the Analytic view?For the moment, Join of...
View ArticleRe: ERROR WHILE CALLING STORED PROCEDURE
Was your function creation successful ? Can you try below statement executing successfully ? SELECT your_schema_name.MONTH_NUMBER('JUNE') FROM DUMMY; Regards,Nithin
View ArticleRe: Importing time-stamp data into HANA
Your file consists the timestamp data as Mar 23, 2015 12:00:00 PM.000 , right ? This is the reason why you are seeing the month name rather than number. Or, can you please explain how you are suppose...
View ArticleRe: ERROR WHILE CALLING STORED PROCEDURE
Hi Nithin, i tried creating function but its giving me below error Could not execute 'SELECT "JIVE".MONTH_NUMBER('JUNE') FROM DUMMY'SAP DBTech JDBC: [328]: invalid name of function or procedure:...
View ArticleRe: Importing time-stamp data into HANA
Yes, you are right. My file consists the timestamp data as Mar 23, 2015 12:00:00 PM.000. I confused this fact with the fact that HANA Studio shows month name instead of month number even if in the...
View ArticleRe: YTD and PYTD in SAP HANA
Hi Muthuram, Thanks for your prompt reply. I am having a column Fiscal Year (2015 & 2016) , Period ( 1 to 12) and Total Amount . where my fiscal year , Period From and Period To is a Prompt values...
View ArticleRe: ERROR WHILE CALLING STORED PROCEDURE
It is a version compatibility issue. Try using the below script CREATE FUNCTION NIT_SCN.MONTH_NUMBER(IN mon_name VARCHAR(100))RETURNS mon_num VARCHAR(2)LANGUAGE SQLSCRIPT SQL SECURITY INVOKERDEFAULT...
View ArticleGet all tables from a schema that a user has access to
Hi, So I would like to get all tables from a schema. What I found on the SCN: SELECT TABLE_NAME AS "Table" FROM M_CS_TABLES WHERE SCHEMA_NAME = 'your schema name';Now I would like to extend this to...
View ArticleRe: Get all tables from a schema that a user has access to
Hello Jan, not via the table respectively system view itself. You need to create a calc. view which determines the information you need. Then you can secure that view using Analytical Privileges...
View ArticleRe: YTD and PYTD in SAP HANA
Hi Muthurum.. It really helps me alot. Your help is much more appreciated. Thank you so much for your response Regards Abdullah
View ArticleRe: HANA modelling aggregation issue
Hi there, nice real life use case of a complex aggregation function that includes multiple aggregation levels (in SAP BW terms similar to constant selection) and non-numeric aggregation logic. Here's...
View ArticleRe: Execute Stored Procedure that uses "ALTER TABLE" and "DELETE FROM"
Hi Florian, If I understand correctly, the reason is that the supposedly monthly load might or might not happen every month, so we can't really use something like system date then only keep this month...
View ArticleRe: Execute Stored Procedure that uses "ALTER TABLE" and "DELETE FROM"
But you have a logic how you determine if the "FLAG" column should be set to 1 or 0. Why this logic is not only applied for the deletion? Where is the overlap or the conflict with the new data?
View ArticleRe: Execute Stored Procedure that uses "ALTER TABLE" and "DELETE FROM"
Hi Tarun, Can you be more specific? The reason we are using FLAG is because after a data load, the ARCHIVE table might contain data from different months, we just need the most recently two months in...
View ArticleRe: Execute Stored Procedure that uses "ALTER TABLE" and "DELETE FROM"
I use RANK_DENSE() to help me find the top two months.
View ArticleRe: Execute Stored Procedure that uses "ALTER TABLE" and "DELETE FROM"
That window function is not really an answer to the question. The question was why it is not possible to apply the same logic as you use to determine the value for the intermediate "FLAG" column...
View Article