cancel
Showing results for 
Search instead for 
Did you mean: 

Text Join returning null values in SAP HANA Web Workbench while giving desired output in Eclipse

former_member208449
Active Participant
0 Kudos

Hello Community

I have created a calculation view with text join between two tables.

The output of the view on SAP HANA Web Workbench -

The output of the view on Eclipse -

The HANA server is on cloud(SPS11) and I have added the same in Eclipse.

Kindly respond regarding the possibilities for the same.

Accepted Solutions (1)

Accepted Solutions (1)

lbreddemann
Active Contributor
0 Kudos

shot into the blue: the LOCALE/SAP_LOCALE Session context variable is not set in the Web workbench, so the Text join doesn't find any matching records...!?

former_member208449
Active Participant
0 Kudos

Hello Lars

Could you please let me know where I can set the same. I took a rough tour of the work bench editor and I couldn't find any setting corresponding to the same.

lbreddemann
Active Contributor

You can try to use

SET LOCALE='EN'; 

in the console you're using to test the query.

Alternatively, there is a user parameter for the locale, that would be used (if set) when the client software doesn't set it.

ALTER USER <user_name> SET PARAMETER LOCALE='EN';

should do the trick.

former_member208449
Active Participant
0 Kudos

Hi Lars

I added the LOCALE='EN'parameter to the user which I am using to logon.

Even then, I am getting null values for the text join in the HANA workbench. Please help me on the same.

lbreddemann
Active Contributor
0 Kudos

Ok, then how about you logon to the SQL console and check whether the parameter is actually set?

SELECT session_context('LOCALE') from dummy;
former_member208449
Active Participant

Hi Lars

I am able to get the result as 'en' upon executing the above SQL. Also, I don't know what went wrong, now I am able to see the data.

Thanks Lars 🙂

Answers (1)

Answers (1)

FCI
Active Contributor
0 Kudos

What language are you using for your internet browser ? This is probably not the same than the one you use for the Studio.

Regards,

Frederic

former_member208449
Active Participant
0 Kudos

Hi

It's the same language which is being used in both Studio and browser.