Hi Rachid,
You can just change the view name to "p...trial.dev/SO_CV" in your SQL statement.
Best regards,
Wenjun
Hi Rachid,
You can just change the view name to "p...trial.dev/SO_CV" in your SQL statement.
Best regards,
Wenjun
Hi
I am now in HANA and trying to set-up the HANA Studio.
I am trying to set up a connection to my SAP System in which I have a user ID and I am able to login to that system using conventional SAP GUI.
After adding the system, the system node shows Green Ball with status "All Services Started". But below that it gives error "Database connection is not available".
What could be the error?
Please help.
- Harsh
Hi Experts ,
Can you please suggest on this.
Thanks
Hi Experts,
I need to enable the YTD , MTD related calculations based upon the user input in HANA.
Need suggestions on how to enable the same in HANA Model if required.
Secondly need to know which is the better and recommended place to take care of this i.e. BOBJ Universe or Backend HANA Model.
Thanks
Hi Jamie,
Thank you for your reply.
Yes, I did.
At this moment it is available only the option to this with HANA Studio.
Thank you!
Hi BI Learners,
Is it a group of people, just curious .
Please perform a quick search on SCN with "HANA YTD MTD" and you will get many recommendations posted / documented in the past. Please check if those solutions satisfy your requirement. If not, then please post your issue in details and we can take it further.
Ravi
Ahh thanks Wenjun, I was not aware of that.
-Patrick
Please check the example for Projections. Use one for planned data, one of actuals, combine with UNION... classic textbook example. (If your process is that simple. If it is not, you need to provide more details).
Ravi
HI Gourav,
Thanks very much for taking time to reply and make a suggestion. I follow what you're saying but in my case Studio is not yet installed and also, as shown in my previous screenshot, the Studio install pgm is already using my local JRE (ie C:\Program Files\Java\jre7\bin\javaw.exe). Just need to figure out how to override the installation pgm's use of eclipse.ini so that the java parameter "-Xmx1024m" can be reduced.
Jim
tab_var1 = ce_column_table("table_name",["column_name1","column_name2"])
how can we use the above table variable for getting a value?
can we use select statement like this :
select column_name1 from tab_var1
will it decrease the performance of a procedure?
Hi All,
Is there a way to consume data from HANA to ECC?
Eg: I have a Sales order in HANA. If I pass the Sales order number then it should return the details of that Sales Order.
Thanks in advance.
-Chandra
Hi Ravi,
Not a group of user first... Just like that....
I have the following doubts:
1. Number of fields including the Measure and dimension are not same and i need to do a camparison between actual and plan not only for current year but all for previous year as well based upon YTD and MTD.
2. Need to incorporate the logic for Ranking as well.
3. Hierarchy also required for the related master data to be used say material etc.
Please suggest.
Thanks
Thanks again Vaibhav !
Yes. I think I got your point while using Dynamic column names and here is the code below, i tried and executed and observed the difference between EXEC and EXECUTE IMMEDIATE.
--Creating a table
CREATETABLE tab (id int,name nvarchar(20),age integer);
--inserting data into table
insertinto tab values(30,'abc',15);
insertinto tab values(20,'xyz',17);
insertinto tab values(15,'pqr',16);
--creating procedure to perform dynamic sql
CREATEPROCEDURE proc_dynamic_result2(in col1 varchar(20),in col2 varchar(20)) AS
BEGIN
EXECUTEIMMEDIATE'SELECT ' || :col1 || ','|| :col2 ||' FROM tab ';
END;
--calling procedure
call proc_dynamic_result2('name','id');
callproc_dynamic_result2('id','age');
callproc_dynamic_result2('name','age');
Note: Result is displayed in procedures result iterator, but when I ran with just EXEC result was not displayed in the procedures result iterator .
Thanks,
Sree
Hey Vaibhav,
Could you please look into the below thread as well (if you get any chance).
http://scn.sap.com/thread/3603957
Thanks,
Sree
Thomas Frank has one here that I am using. I had to modify it as it was not retaining values inside of xml tags that contained attributes (eg <myTag myAttr="myAttrValue">myTagValue</myTag> was not retaining "myTagValue" in the JSON. I will post my updates to the code momentarily, just need to clean up some "proprietary" pieces of it.
Updated JS:
Hi,
I don't think there is a property or method to get the row count. You can find the API here.
JSDoc: Class: ResultSetMetaData
Best regards,
Wenjun
Hello Experts,
When I am trying to connect the Hana studio in my cloud share account I am getting the error. Plz refer the screen shot and help me .
Error Meaage ; Could not read connected user. SAP DBTech JDBC: [391]: invalidated view: USERS Could not get environment of system 'HDB'. 'Internal error' SAP DBTech JDBC: [437]: only commands for license handling are allowed in current state: Could not read version information. SAP DBTech JDBC: [437]: only commands for license handling are allowed in current state: Could not get activated features of system 'HDB'. 'Internal error' SAP DBTech JDBC: [437]: only commands for license handling are allowed in current state:
Regards,
Suresh
Hi Suresh,
As the error implies, only commands for license handling are allowed in current state. Can you check the status of your SAP HANA license?
Best regards,
Wenjun
Hi Wenjun,
Thanks for your response . Renewed the developer license and its working .
Hi Thomas
I am running HANA SP06 and I installed UI5 Integration services.
XSapp gives me a 404 error. I do not see the "properties" for XS Properties as in your screen shot. Should I install additional XS services through "Import"
Thanks
Prabhu