Problem in select statement
Hi Friends ,
I am having a problem in the following select query , its not giving any syntax error but it is not picking the values as per the condition :
SELECT GPART VKONT KTOKL ZPRINTALLOW FROM FKKVKP
INTO TABLE GT_FKKVKP
WHERE KOFIZ_SD = '03' OR
KOFIZ_SD = '04' AND
KTOKL = '0005' AND
GPART IN SEL_BP.
Can someone pls help me out in this.
Rob Burbank replied
Total Posts: 46
Total Questions: 25 (10 unresolved)
Please clean up your old posts.
See if this helps:
SELECT gpart vkont ktokl zprintallow FROM fkkvkp INTO TABLE gt_fkkvkp WHERE ( kofiz_sd = '03' OR kofiz_sd = '04' ) AND ktokl = '0005' AND gpart IN sel_bp.
Edited by: Rob Burbank on Apr 27, 2009 10:49 AM