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

Re: Which HANA rights are minimal needed to import table definitions in SAP DS?

$
0
0

Well either the user account used  to connect to SAP HANA actually has at least SELECT privilege on the objects that shall be imported, or the CATALOG READ role needs to be provided.

With the role assigned, the table definitions can be read even without direct access privileges.

 

- Lars


Re: Which HANA rights are minimal needed to import table definitions in SAP DS?

$
0
0

Hi  Lars,

 

Thanks, these rols are assigned already and because it is not only through SAP DS we see this issue, we now think it has something to do with the hana node itself....

Re: Which HANA rights are minimal needed to import table definitions in SAP DS?

$
0
0

Sorry - I didn't really read the error message properly before.

 

It says "Column 5 not bound" - which is an error you'd get when you try to execute a prepared statement and don't provide values for all parameters.

 

This seems to be a client (in this case DS) issue.

 

Can you find out which SQL statement was issued here? (ODBC trace might help if DS tracing doesn't provide this)

 

- Lars

Re: Fuzzy Search error

$
0
0

Actually I think the problem may be the v_rowcount variable.  It is not part of the "SOURCE_SABA". "SPS_VENDOR_CLEANSE" table.

 

What I am trying to do with this statement is to append my row counter, with any matches I get back from the fuzzy search.  In this way I will have a key on v_vendor_data that I can join back to v_supp_data which already has a row counter.

 

v_vendor_data = (SELECT v_rowcount, "Vendor Master_STANDARDIZED", SCORE() AS SCORE FROM "SOURCE_SABA"."SPS_VENDOR_CLEANSE"

WHERE CONTAINS("Vendor Master_STANDARDIZED", :v_supp_name, FUZZY(0.8))));

 

As an example my supplier data may have this..

 

Row Number      Supplier Name

1                         Vendor1

 

What I want to see in v_vendor_data is this...

 

v_rowcount         Vendor Name     Score

1                         Vendor1               1.000000

1                         Vendor1a              0.89676

1                         Vendor1b              0.85645

 

 

I suspect my syntax is wrong. How can I "append" my row counter to my fuzzy search results in that table variable?

Re: Which HANA rights are minimal needed to import table definitions in SAP DS?

$
0
0

there it is a default function of SAP DS, it should work. But it trigged me. maybe it is that we have a 32bit hanaclient on a 64 bit application.... under investigation.

Re: Which HANA rights are minimal needed to import table definitions in SAP DS?

$
0
0

Nope that would not even get you the error message... time for a support incident....

apply privileges

$
0
0

hi all can explain what is purpose of the sql analytical privileg and difference between analytical privilege and sql analytical privileges

Re: Fuzzy Search error

$
0
0

Got it working.  Here is the final code.  I think the issue was with the various variables and when to use the colons, etc.

 

PROCEDURE"SOURCE_SABA"."SEARCH_VENDOR_MSTR" (in supp_count int)


SQLSCRIPT


SECURITY INVOKER






declare v_rowcount int :=1;


declare v_supp_name varchar(100);



while :v_rowcount <= :supp_count DO



SELECT"SUPPLIER_STANDARDIZED"INTO v_supp_name FROM  "SOURCE_SABA"."SPS_SUPPLIER_CLEANSED"where"ROW_NUMBER" = :v_rowcount;


--v_supp_name = (SELECT "SUPPLIER_STANDARDIZED" FROM "SOURCE_SABA"."SPS_SUPPLIER_CLEANSED" where ROW_NUMBER = :v_rowcount);



SELECT ROW_NUMBER, "SUPPLIER_STANDARDIZED"FROM"SOURCE_SABA"."SPS_SUPPLIER_CLEANSED"where ROW_NUMBER = :v_rowcount);



SELECT :v_rowcount as ROW_NUMBER, "Vendor Master_STANDARDIZED", SCORE() AS SCORE FROM"SOURCE_SABA"."SPS_VENDOR_CLEANSE"


WHERE CONTAINS("Vendor Master_STANDARDIZED", :v_supp_name, FUZZY(0.8)));



insertinto"SOURCE_SABA"."SPS_SUPPLIER_FUZZY_MATCH"


SELECT A."SUPPLIER_STANDARDIZED", B."Vendor Master_STANDARDIZED", B.SCORE


FROM :v_supp_data A, :v_vendor_data B


WHERE A.ROW_NUMBER = B.ROW_NUMBER);



;


endwhile;




;

 


Re: Fuzzy Search error

$
0
0

Excellent!  Glad to help.  I figured it was something little like that staring us in the face. 

Authorization issue calling procedure created by other user

$
0
0

Hi Experts,

 

When I call a procedure created by another user "AVISEK", I get below error.

 

SAP DBTech JDBC: [430]: invalidated procedure: PROC_LOAD_HIST_TABLE

 

The Procedure was created by "AVISEK" with the SQL Security of 'Invoker'

and it performs insert/delete on table "HIST_TABLE".

 

When I Compare Object Priviledge of mine with "AVISEK", I found that same object priviledge on the schema has been granted to both of us (through a common Role).

 

(Image attached).

 

Please note:

When I create a procedure with exactly same script as the above procedure and call the procedure, I am able to execute it successfully.

 

Regards,

Krishnendu.

Re: HANA HA test cases

$
0
0

Wenjun,

 

Anything apart from physical, any other test scnerios you can think of?

Re: error in calling a procedure

$
0
0

Mind showing us the code of your procedure?

Without it this is going to be a funny guess game.

Re: Recovery failed

$
0
0

Mind sharing back the solution with the community?

Re: XS job stuck in RUNNING status

$
0
0

Hi Wenjun,

 

It's still a problem.  I don't want to change the job right now as I have a message open with SAP and don't want to destroy the evidence.    I'm sure i could just deleted and recreate it for example but i'm worried if this ever happens in production i want to know how to fix it.  But this job has been running fine all this time and I have many other XS jobs running in same package with no issues.

 

-Patrick

Re: XS job stuck in RUNNING status

$
0
0

Yeah I think you are right Lars.  Now the question is how to workaround it and clear the status.


Re: Recovery failed

$
0
0

Lars,

How are you doing today, finally got your response.

Of course not, how are you doing today.

Honestly we didnt have a solution went back to build the system from the golden backup.

Lars, i have raised in my other threads as well there is no way to go back from stats server to emebded stats server.

The only way is restore from the backup roll forward till the point before the start of the migration.

Topology plays a very important here.

So my say would be get the topology right in case refreshes or stats server migrations very important.

There is no monitoring mechanism as to how to perform migration from standalone to embedded stats server.

Re: Recovery failed

$
0
0

Lars,

I have many threads waiting for your expert advise .

Re: Backup and Recovery scenario questions

Re: Passing mandatory parameter within several calculation view

$
0
0

Hi Manuel, I just ended up renaming the parameters actually, more of a workaround.

 

I think this is probably worthy of opening an OSS message to get confirmation from SAP if this is indeed a bug or it's the intended functionality.

 

Regards,

Justin

Unable to use recovery feature in SAP HANA Studio

$
0
0

Hello,

 

We have HANA system running on AWS with Rev72 and we are trying to use recovery feature from HANA studio Rev72 but I am getting below blank screen at the last step. I think this is a bug but not sure. We also tried in HANA studio rev84 but same blank screen at Recovery Execution Summary. can someone help? Our system is currently stop.

 

recovery.jpg

Viewing all 8968 articles
Browse latest View live


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