Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
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 ;