Forums - - Toad for SAP Solutions - Toad World
Danny Torres
Follow / 1 Nov 2016 at 2:16pm / Toad for SAP Solutions

We are now on Twitter!!! Contact a Technical Support expert today

Expand content
Do you have a quick support question and short of time? Contact us Via Twitter @ QuestExperts and we will take care of you. #Jointheinnovation #WeareQuest

Do you have a quick support question and short of time? Contact us Via Twitter  @QuestExperts and we will take care of you. #Jointheinnovation #WeareQuest

597 0 / Create an account to join the discussion.
Danny Torres
Follow / 1 Nov 2016 at 2:06pm / Toad for SAP Solutions

We are now on Twitter!!! Contact a Technical Support expert today...

Expand content
Do you have a quick support question and short of time? Contact us Via Twitter @ QuestExperts and we will take care of you. #Jointheinnovation #WeareQuest

Do you have a quick support question and short of time? Contact us Via Twitter  @QuestExperts and we will take care of you. #Jointheinnovation #WeareQuest

565 0 / Create an account to join the discussion.
Danny Torres
Follow / 1 Nov 2016 at 2:05pm / Toad for SAP Solutions

We are now on Twitter!!! Contact a Technical Support expert today...

Expand content
Do you have a quick support question and short of time? Contact us Via Twitter @ QuestExperts and we will take care of you. #Jointheinnovation #WeareQuest

Do you have a quick support question and short of time? Contact us Via Twitter  @QuestExperts and we will take care of you. #Jointheinnovation #WeareQuest

577 0 / Create an account to join the discussion.
h.blum
Follow / 16 Nov 2016 at 2:32pm / Toad for SAP Solutions
Latest post by on 5 Jun 2017 at 8:28am

select statement does not run in Toad for SAP but in HANA studio

Expand content
Hi@all, this script does not run in Toad for SAP ( HANA ) 3.1.0.315 select X.COMPETENCE_CENTERS, X.ESTIMATED_PROJECT_COSTS_KEUR, X.IMPACT_ON_EBITDA_PER_YEAR_KEUR, round(case when X.IMPACT_ON_EBITDA_PER_YEAR_KEUR...

Hi@all,

this script does not run in Toad for SAP ( HANA ) 3.1.0.315

select
X.COMPETENCE_CENTERS,
X.ESTIMATED_PROJECT_COSTS_KEUR,
X.IMPACT_ON_EBITDA_PER_YEAR_KEUR,
round(case when X.IMPACT_ON_EBITDA_PER_YEAR_KEUR != 0 then X.ESTIMATED_PROJECT_COSTS_KEUR / X.IMPACT_ON_EBITDA_PER_YEAR_KEUR else 0 end,1),
case
when round(case when X.IMPACT_ON_EBITDA_PER_YEAR_KEUR != 0 then X.ESTIMATED_PROJECT_COSTS_KEUR / X.IMPACT_ON_EBITDA_PER_YEAR_KEUR else 0 end,1) between 0.1 and 0.9 then '0.5'
when round(case when X.IMPACT_ON_EBITDA_PER_YEAR_KEUR != 0 then X.ESTIMATED_PROJECT_COSTS_KEUR / X.IMPACT_ON_EBITDA_PER_YEAR_KEUR else 0 end,1) between 1.0 and 1.9 then '1'
when round(case when X.IMPACT_ON_EBITDA_PER_YEAR_KEUR != 0 then X.ESTIMATED_PROJECT_COSTS_KEUR / X.IMPACT_ON_EBITDA_PER_YEAR_KEUR else 0 end,1) between 2.0 and 2.9 then '2'
when round(case when X.IMPACT_ON_EBITDA_PER_YEAR_KEUR != 0 then X.ESTIMATED_PROJECT_COSTS_KEUR / X.IMPACT_ON_EBITDA_PER_YEAR_KEUR else 0 end,1) between 3.0 and 3.9 then '3'
when round(case when X.IMPACT_ON_EBITDA_PER_YEAR_KEUR != 0 then X.ESTIMATED_PROJECT_COSTS_KEUR / X.IMPACT_ON_EBITDA_PER_YEAR_KEUR else 0 end,1) between 4.0 and 4.9 then '4'
when round(case when X.IMPACT_ON_EBITDA_PER_YEAR_KEUR != 0 then X.ESTIMATED_PROJECT_COSTS_KEUR / X.IMPACT_ON_EBITDA_PER_YEAR_KEUR else 0 end,1) between 5.0 and 5.9 then '5'
else '9'
end
from TOP_PROJECTS X;

I get only "SAP HANA Database Error:"

but no error number.

In SAP HANA studio 2 it works.

Any idea ?

827 2 / Create an account to join the discussion.
h.blum
Follow / 3 Mar 2017 at 8:53am / Toad for SAP Solutions
Latest post by on 5 Jun 2017 at 8:27am

Script not running in Toad but in HANA Studio

Expand content
Hi, this script will not run in Toad but in HANA Studio: select x."Payback period in year", case when x."Payback period in year" > 0 and x."Payback period in year"...

Hi,

this script will not run in Toad but in HANA Studio:

select
x."Payback period in year",
case
when x."Payback period in year" > 0 and x."Payback period in year" <= 1.5 then '1'
when x."Payback period in year" > 1.5 and x."Payback period in year" <= 2.5 then '2'
else 'x'
end
from TOP_INVESTMENTS x

And I get not error message / number in Toad from HANA

Holger

Unanswered 603 9 / Create an account to join the discussion.