Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Pull records from SAP with where clause

Hi,

I want to only bring the records that have scale quantity 1 (from SAP). The code below is giving me this error message:

Load

   [KNUMH] as [Cond.record no],

   

   [KSTBM] as Scale_Quantity,

   [KBETR] as [Amount LC1];

SQL Select KBETR KSTBM KNUMH from KONM

where [KSTBM]=1 ;

Capture.PNG

Writing [KSTBM]='1'  is throwing the following error. Please help.

Capture.PNG

2 Replies
sunny_talwar

Have you tried running the same query outside of QlikView?

alexpanjhc
Specialist
Specialist

Do not you need comma?

SQL Select KBETR , KSTBM , KNUMH from KONM

where [KSTBM]=1 ;