‎2009 May 07 3:34 PM
Hallo
I want to select with condition 'ZTKE' 'ZTOE' can somebody tell where is my mistake
SELECT avbeln bposnr
INTO CORRESPONDING FIELDS OF TABLE lt_pspabrech
FROM vbak AS a
INNER JOIN vbap AS b
ON avbeln = bvbeln
WHERE b~pstyv IN ( 'ZTKE','ZTOE' )
AND a~auart = 'YBTA'.
regards
‎2009 May 07 3:37 PM
SELECT avbeln bposnr
INTO CORRESPONDING FIELDS OF TABLE lt_pspabrech
FROM vbak AS a
INNER JOIN vbap AS b
ON avbeln = bvbeln
WHERE b~pstyv IN ('ZTKE' , 'ZTOE')
AND a~auart = 'YBTA'.
Try the above.
I just added space between the two item cats and removed space between single quote and bracket.
‎2009 May 07 3:40 PM