cancel
Showing results for 
Search instead for 
Did you mean: 

query correction for SAP BUSINESS ONE HANA

nikunjmehta2290
Participant
0 Kudos

Dear all,

declare @string nvarchar(255) = '';

declare @fdate DATE = ''

declare @tdate DATE = ''

select sum("DocTotal") from OINV where OINV."CardCode" like '%'+ 'CFA0001' +'%'

and cast(@fdate as 'date')

between cast(@fdate as 'date') and cast(@tdate as 'date')

Help me on query for SAP Business One HANA

Regards,

Nikunj

Accepted Solutions (0)

Answers (2)

Answers (2)

brunopbaffonso
Active Participant
0 Kudos
kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

What is the issue with above query?

Regards,

Nagarajan

nikunjmehta2290
Participant
0 Kudos

How can i convert into HANA?

E.X.
Input


Codes : Business Partner Code1 , Business Partner Code2, ........... Upto N.. (Multiple separated by coma)

Form Date and To Date


Output:
Outstanding

500000 (Business Partner Code1 , Business Partner Code2, ........... Upto ) (Total of all as inputed)