Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all 8968 articles
Browse latest View live

Re: SAP HANA procedures and optional parameters

$
0
0
Nope. Sry.
SAP DBTech JDBC: [1281]: wrong number or types of parameters in call: Param_2 is not bound: line 1 col 15 (at pos 14)
I guess - if a solution exists - is the create procedure statement where the parameter can be filled with a default value or marked as optional like

CREATE

PROCEDURE mySchema.MyProcedure(IN Param_1nvarchar(100):= '', IN Param_2 nvarchar(100) := '', [...])


Re: Stored procedure with sleep

$
0
0

Hi Edna,

 

Although you can implement it based on your script, but I think that it is not good solution, It will impact other thread or process, and reduce performance.

 

Anyway, if it is only test purpose, it is ok for your purpose; it maybe SAP HANA can implement it by own function or API in future, since then you can study or use it.

 

GOOD LUCK.

 

Regards,

Jerry

Re: SAP HANA procedures and optional parameters

$
0
0

Hi Marcus,

 

Is it not possible for you to take the input parameter values anyway and then NOT use them in the procedure depending upon the value or logic ?

 

Regards,

 

Ravi

Re: SAP HANA procedures and optional parameters

$
0
0

Hi Ravi,

 

That's how I realized it right now. I hoped that it will be possible because I have about 20 different values I'm entering in Param_1 as an action_type and depending on that the other params are required and I wouldn't like to "fullfil" the unused parameters with ''.

 

I now it from other databases (e.g. M$) that the parameters can be defined as optional or with default values.

 

Regards,

Marcus

Re: SAP HANA procedures and optional parameters

$
0
0

Hi Marcus,

 

If you have the SAP account manager associated with your SAP HANA project, then I'd suggest you to raise a "Feature Request". Depending on the business criticality of the required feature, your SAP account manager can then take it up with the proper development Manager / Team.

 

Regards,

 

Ravi

Re: Stored procedure with sleep

$
0
0

Hi Edna,

 

I am not sure if there is any 'sleep' or 'wait' function in HANA. However, if your requirement is

to make the procedure wait for a specified time(in seconds) then you can probably achieve that in the following way:

 

 

CREATE PROCEDURE PLEASE_SLEEP ( IN SLEEPING_TIME INTEGER, OUT WOKE_UP_AT TIME )

LANGUAGE SQLSCRIPT READS SQL DATA AS

V_TIME TIME;

V_TIME_TO_WAKE TIME;

 

 

BEGIN

 

 

V_TIME := CURRENT_TIME;

 

 

V_TIME_TO_WAKE < ADD_SECONDS ( TO_TIME( V_TIME ), SLEEPING_TIME );

 

 

WHILE V_TIME != V_TIME_TO_WAKE DO

 

 

V_TIME := CURRENT_TIME ;

 

 

END WHILE;

 

 

WOKE_UP_AT := V_TIME_TO_WAKE ;

 

 

END

 

Regards,

Amit

Re: Calculation view with multiple selects using sql script

$
0
0

Hi Preeti,

 

Can you please post the code. Ideally the variables which contain the resultset (except for var_out) need not be defined explicitly. There could be some syntax issue. Hence the code will help identify the issue.

 

Regards,

 

Ravi

Re: Calculation view with multiple selects using sql script

$
0
0

Hi Preeti,

 

Can you please share the sample code which you are using? The syntax which you need to follow is

 

VAR_OUT= <<select statement>>

 

You can not write <<Select stament>>  INTO VAR_OUT. Remeber, in calculation view you can perform only read operation and not write operations. Ultimately, your Script Based calculation view acts as a read-only procedure with VAR_OUT as a parameter.

 

Also, since VAR_OUT1 is a local variable, try using a colon before its name i.e. :VAR_OUT1 instead of VAR_OUT1.

 

Regards,

Piyush


SAP HANA Side Car Scenario

$
0
0

Hi All,

 

I am currently working on a SAP HANA side car scenario. I have a Z report which needs to be read from SAP HANA database. I followed the following steps to identify the tables.

 

1. With the T-sode i identified the main program associated to the T-Code.

2. In SE80 selected the main program and identified the core tables, also identified the dependant tables

3. Replicated the tables to SAP HANA

4. Created the XML and loaded in SE38 to activate the scenario for SWT2DB

 

However when i run the trace in ST05 i still see that the tables are being read from SAP ECC. When i further analyse i see that there are certain function modules (SAP standard and Custom) within the main program specified in XML are being called.

 

Can you please tell me how do i handle such kind of scenarios for 100% read from SAP HANA and for faster reporting performance.

 

Regards

Nilesh Awaghan

Re: SAP HANA Side Car Scenario

$
0
0

Hi Nilesh,

 

For application acceleration, this statement applies which i extracted from the OSS note 1696402 content:

 

"Custom scenarios must not operate on SAP programs! Custom scenarios that affect SAP programs are regarded as modifications and will not be supported by SAP."

 

Maybe you have to leave it as it is unless you want to copy out all standard into Z namespaces?

 

Regards.

YS

Re: Which module has a good scope in future either SAP HANA or SAP BW?

$
0
0

Hi SivaRamPrasad GLNV

,

Few best ways to learn SAP BI/BW:

  • Try to spend atleast two hours to understand the basics of BW
  • I would suggest you to undergo a course in Hyderabad where we have best Trainers
  • Follow their instructions and have your practical sessions day by day
  • This will take atleast 90 days to get onto the track

 

In regards to HANA Certification:

  • First get onto the basics of SAP BI/BW for 90 days and then try to complete your learnings on HANA
  • Only then go on for HANA Certification
  • HANA Certification is an added advantage to you to present yourself to an interviewer

Thanks

Srinivas Burra

Re: Which module has a good scope in future either SAP HANA or SAP BW?

$
0
0

Dear Ankush,

 

I just joined this community and have read your very insightful posts. They are very informative.

 

I work in Logistics field, with experience in freight forwarding. I work for Maersk and Damco handling their freight forwarding, and now for Freight forwarder importing wine from all over the world to the US. I am now looking to boost my career and interested in a functional area of SAP. Just to give you a clue of what I am looking to do: I have managerial skills and looking to focus more on an area that will give me the best exposure to combine my experience and propel my career as a manager and consultant.

 

So far I have been advised to take SAP BI modules like MM, PP, SD, QA. However, I am a little confused when I read about HANA. I am kind of lost here. Based on my experience and interest, could you please, give me some advise on the way forward?

 

In anticipation,

Spencer

 

P/S:

I will ask same to one or two active poeple in this community to get their view too.

Re: Which module has a good scope in future either SAP HANA or SAP BW?

$
0
0

Dear Ravi,

 

I just joined this community and have read your very insightful posts. They are very informative.

 

I work in Logistics field, with experience in freight forwarding. I work for Maersk and Damco handling their freight forwarding, and now for Freight forwarder importing wine from all over the world to the US. I am now looking to boost my career and interested in a functional area of SAP. Just to give you a clue of what I am looking to do: I have managerial skills and looking to focus more on an area that will give me the best exposure to combine my experience and propel my career as a manager and consultant.

 

So far I have been advised to take SAP BI modules like MM, PP, SD, QA. However, I am a little confused when I read about HANA. I am kind of lost here. Based on my experience and interest, could you please, give me some advise on the way forward?

 

In anticipation,

Spencer

 

P/S:

I will ask same to one or two active poeple in this community to get their view too.

Re: Which module has a good scope in future either SAP HANA or SAP BW?

$
0
0

Dear Danielle,

 

I just joined this community and have read your very insightful posts. They are very informative.

 

I work in Logistics field, with experience in freight forwarding. I work for Maersk and Damco handling their freight forwarding, and now for Freight forwarder importing wine from all over the world to the US. I am now looking to boost my career and interested in a functional area of SAP. Just to give you a clue of what I am looking to do: I have managerial skills and looking to focus more on an area that will give me the best exposure to combine my experience and propel my career as a manager and consultant.

 

So far I have been advised to take SAP BI modules like MM, PP, SD, QA. However, I am a little confused when I read about HANA. I am kind of lost here. Based on my experience and interest, could you please, give me some advise on the way forward?

 

In anticipation,

Spencer

 

P/S:

I will ask same to one or two active poeple in this community to get their view too.

Re: Which module has a good scope in future either SAP HANA or SAP BW?

$
0
0

HI Srinivas Burra,

 

  Thanks for your valuable guidance. I will start SAP BI/BW. After SAP BI/BW I will go with HANA.

 

 

Best Regards,

Siva rama prasad.G


Re: Data Dictionary Tables

$
0
0

Dear Nilesh,

 

When you use SLT, you use transaction LTR to create a new configuration.

After you click "OK" button then automatically Replication Control Tables(RS*) and DD* tables get replicated to HANA System.

 

After these tables are replicated successfully, HANA studio knows which tables are available in the source system

You can go to Data Provisioning tab in HANA Studio and you can check all the tables present in your Source System should be visible to you.

These tables should get replicated automatically. After this, you feel that there is need to load other tables, you can replicate them to HANA.

 

SLT is used only to replicate tables with atleast one key fields.

If you want to make changes in any of your existing tables then you can perform them using SLT

 

Regards,

Vivek

Re: Input mapping in calculation views

$
0
0

Hi Preeti,

 

Can you please try data preview on the projection in the Calc View (C3). It should call the underlying Calc view. It gets difficult to debug HANA views but check if the preview thing works for you. The earlier suggestion of inserting the data to a log table will not work as the SQL script Calc view is READ ONLY procedure.

 

Regards,

 

Ravi

Re: Input mapping in calculation views

$
0
0

Hey,

 

I got the result

 

The input parameters should be passed in lower case ( i had defined it in upper case).

Thus, now the mapping is correct.

By comparing the "show log" such errors can be rectified.

 

Regards,

Preeti

Re: Input mapping in calculation views

$
0
0

Great . Have fun with complex modeling. I am sure you must be aware that such a data model

 

Graphical Calc View (C3) based on Script based Calc View (C2) based on Graphical Calc view (C1) is not recommended. This will have impact on the performance.

 

Regards,

 

Ravi

Re: Input mapping in calculation views

$
0
0

Hey,

 

Yeah i do, but this is a complex requirement.

Hope for the best.

 

Cheers,

Preeti

Viewing all 8968 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>