Hi Srini,
Are you still facing the issue, can I know which studio and DB version are you working with?
Regards,
Shireesha
Hi Srini,
Are you still facing the issue, can I know which studio and DB version are you working with?
Regards,
Shireesha
Hello Vladimir,
so it seems that the user used trying to grant the system privilege, has no privileges to grant the system privilege.
Did you check this?
Regards,
Florian
How can I find which privilege I need to grant the system privilege?
Thank you.
Regards
Vladimir
Thanks Thomas ,
I was facing the same issue , just cleared the log space & session gone after that.
Regards ,
Abhinav
That's the meaning of it, yes.
Hi Sagar,
Do i need to create the var_out manually?
This is resolved.
The percentage feild is created before aggregation.
the values are fine now.
Thank you
HP
Hi Florian
Unfortunately this was just a typo here in the forum.
I narrowed it down a bit further: Actually: "test"."value1" would be the right syntax to pass the value to the scalar function.
In the function I have tried to just return the value - which works, also a simple calculation works.
Then I have tried to use a function similar to:
FUNCTION "calculateAge" ( ID VARBINARY(32) )
RETURNS Age VARBINARY(32) LANGUAGE SQLSCRIPT SQL SECURITY INVOKER AS
BEGIN
DECLARE currentDate DATE;
DECLARE birthDate DATE;
currentDate:=current_date;
select "birthdate" into birthDate from "MyTable" where "bID" = :ID ;
select (round(days_between(:birthDate ,:currentDate )/365)) into Age from dummy;
END
And this is where I get my error:
SAP DBTech JDBC: [2048]: column store error: search table error: [6900] Attribute engine failed;L execution failed with rc=20787, "SAP_HPH"."sap.plugins.mimic.db.functions::calculateAge": line 19 col 5 (at pos 1041): [1299] (range 3) no data found exception: no data found,raw [here]eval_i(string unused_constant(), string unused_constant(), string unused_constant(), string unused_constant(), raw "SYSTEM.#_SYS_QO_COL_7f292a49a640:6000000000c496c.DWID"),SYSTEM.#_SYS_QO_COL_7f292a49a640:6000000000c496c.DWID = 'MIMICPRESCRIPTION_1026619'[raw]
The same statement with a hard coded value:
select "birthdate" into birthDate from "MyTable" where "bID" = '100';
Works absolutely fine...
I made sure the the data types match in my example.
Hello,
We have below scenario which is working fine right now.
We have HANA SP10 server and using one of the container. Web Dispatcher is configured on HANA for the multi container. (This WD has nothing to do with Fiori requirement of WD.)
Now, we have another Gateway server where we have Fiori components installed (for HANA, we have SAP smart business installed for the usage of KPIs.)
On the same gateway server, we have Web dispatcher installed and configured to work for HANA Fiori analytical apps.
Now, WD url works fine for Fiori launchpad and HANA KPIs. Everything is good!!
Now, we have SiteMinder in the landscape which allows our systems to be accessible from internet. So, to make HANA Fiori apps available from internet, we would like to utilize SiteMinder to work as Web Dispatcher (which was installed on the gateway server earlier and not the HANA WD). So, that we can replace additional WD with the SiteMinder which is already in place.
Our SiteMinder team has done configurations and written the redirection rules to forward the request to the HANA server for below extensions.
/sap/hana/*
/sap/hba/*
/<custom package>/*
Now, when we try to access the HANA Login page or one of the xsodata service running on the HANA server using SiteMinder URL, it gives 503 error.
Below is the error screenshot.
SiteMinder team has found below error in the log files. I was trying to search online but could not find the right solution for it. Our Basis folks also do not have an idea how to resolve it.
x-sap-icm-err-id: ICMENOSYSTEMFOUND
Can you please help if you know what could be the issue?
Thanks,
Bhavik
Hi
Using the command proposed by Yeu Sheng Teo
I create the next Function
CREATE FUNCTION ISNUMERIC(Cadena VARCHAR)
RETURNS ESNUMERO INT
LANGUAGE SQLSCRIPT READS SQL DATA AS
--Funcion que Recrea el ISNUMERIC de SQL SERVER
--Retorna 1 Si la cadena pasada es un Numero
BEGIN
ESNUMERO := length(ltrim(Cadena,'+-.0123456789'));
IF ESNUMERO > 0
then ESNUMERO := 0;
Else ESNUMERO := 1;
END IF;
END;
Then, we can use this Function in the same way of SQL SERVER
Select ISNUMERIC('12345') from Dummy
Returns 1
Select ISNUMERIC('1234a5') from Dummy
Returns 0
Select ISNUMERIC('abcdefg') from Dummy
Returns 0
Regards
ROB
Hello Bhavik,
If I understood the landscape correctly, it would be something like:
User from the internet -> SiteMinder* -> HANA WD**
* 3rd party load balancer
** the WD that is installed / integrated with the HANA
You have also mentioned that the HANA is configured for "multi container". Is this the multi-tenant feature of the HANA?
If yes, maybe the SAP note 2224748 can help.
In case it does not help, do you see any errors at the HANA WD trace file (that would be located at the folder "/usr/sap/<HANA SID>/<HANA Instance>/<hostname>/webdispatcher_<hostname>.<number>_dev_webdisp")?
Please also attach the HANA WD profile (usually located at "/usr/sap/<HANA SID>/<HANA Instance>/<hostname>/tmp/temp_sapwebdisp_do_not_change.pfl").
Regards,
Isaías
Hi Isaias,
Yes, that is correct from the landscape perspective. SiteMinder is working as reverse proxy as well as third party load balancer which exposes internal URLs to the internet accessible.
We have HANA is configured for Multi Container however, just utilizing one container at this point. It is a multi-tenant feature of the HANA.
I will share the SAP note with our HANA Basis folks to check and verify. I will update you with the results. Also, I will verify the HANA WD trace files and share the results.
Thanks,
Bhavik
Hi Prijo,
We have an interesting whitepaper on comparing SAP HANA with MS SQL Server and Amazon Redshift Columnar database. It also talks about SAP HANA federation capabilities with HIVE database on HADOOP using Smart Data Access technology. You can download the whitepaper from below documented link,
http://www.iolap.com/resources/download-form?token=238
Thanks,
Hardik
Hi Isaias,
Please find below the profile details. We are using MNN container.
This profile has been generated from webdispatcher.ini.
# Do not change this file! The Web Dispatcher has to be
configured in webdispatcher.ini!
# Use the HANA Studio to configure the Web Dispatcher!
wdisp/enable_admin_ui_for_sid=SYS
SAPSYSTEM=00
SAPSYSTEMNAME=MNN
DIR_INSTANCE=/usr/sap/MNN/HDB00/vmhst001
DIR_EXECUTABLE=/usr/sap/MNN/HDB00/exe
icm/HTTP/hdb_0=TRUE
wdisp/add_client_protocol_header=1
wdisp/HTTP/use_pool_for_new_conn=1
icm/max_sockets=($(icm/max_conn) * 2)
icm/req_queue_len=6000
icm/min_threads=10
icm/max_threads=500
mpi/total_size_MB=(min(0.06 * $(icm/max_conn) + 50, 2000))
mpi/max_pipes=($(icm/max_conn) *
2)
wdisp/HTTP/max_pooled_con=($(icm/max_conn))
wdisp/HTTPS/max_pooled_con=0
wdisp/add_xforwardedfor_header=true
icm/HTTPS/forward_ccert_as_header=true
icm/HTTP/max_request_size_KB=-1
wdisp/use_heap_for_mpis=true
wdisp/HTTP/esid_support=false
wdisp/HTTP/jsessionid_tab_support =false
ipc/sem_mon_off=true
icm/ccms_monitoring=false
is/hostbuffer_timeout_valid_entry=0
is/hostbuffer_timeout_invalid_entry=0
ssl/ssl_lib=/usr/sap/MNN/HDB00/exe/libsapcrypto.so
ccl/fips/enable=0
ssl/server_pse=SAPSSLS.pse
ssl/ciphersuites=142:HIGH:MEDIUM:!aNULL
ssl/client_ciphersuites=142:HIGH:MEDIUM:!aNULL
icm/security_log=LOGFILE=
$(DIR_INSTANCE)/trace/dev_icm_sec,MAXSIZEKB=500
icm/max_conn=2000
icm/server_port_0=PROT=HTTP,PORT=80$(SAPSYSTEM),PROCTIMEOUT=600
icm/server_port_1=PROT=HTTPS,PORT=43$(SAPSYSTEM),PROCTIMEOUT=600
icm/HTTP/admin_0=PREFIX=/sap/hana/xs/wdisp/admin,DOCROOT=$(DIR_INSTANCE)/wdisp/admin,AUTHFILE=backend
wdisp/filter_xs_internal_uri=false
wdisp/system_auto_configuration=true
wdisp/system_10=SID=SYS,
EXTSRV=localhost:30014, SRCVHOST=vmhst001.cokeonena.com
wdisp/system_11=SID=CCG, EXTSRV=localhost:30045,
SRCVHOST=vmhst001-ccg.cokeonena.com
wdisp/system_12=SID=MNN, EXTSRV=localhost:30008, SRCVHOST=vmhst001-
mnn.cokeonena.com
wdisp/system_13=SID=CCN, EXTSRV=localhost:30042, SRCVHOST=vmhst001-ccn.cokeonena.com
Thanks,
Bhavik
Hi Jeswant,
No, that was a database decision based on an error found.
Looking at section [CRASH_STACK] you'll see the stack of the thread that triggered the DB to abort.
I suggest you to read SAP Note 2288661 - How-To Investigate a SAP HANA Crashdump and verify if there's an explanation for that. If not, please create an SAP Support incident and provide your crashdump.
BRs,
Lucas de Oliveira
Hello Bhavik,
How does the SiteMinder reach the HANA WD?
Does it use virtual hostnames configured at the HANA WD?
Or does it use a different port from the HANA WD, for each of the HANA tenants?
This WIKI page might help you.
Regards,
Isaías
Could you please post a screenshot of the JOIN-definition that produced the correct output in your system. Thank you.