Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8540

Re: How to select by incomplette field?

$
0
0

HI Habala,

 

Please try this

 

SELECT SINGLE BELNR FROM BKPF – sy-subrc = 4, nothing found, but there is an document with AWKEY 1352000016CSAH2013

INTO LV_BELNR

WHERE AWKEY LIKELV_AWKEY

AND BUKRS EQ LS_GLPCW-RBUKRS

AND GJAHR EQ LS_GLPCW-REFRYEAR.



First where condition should be not 'EQ' it should be 'LIKE'


Thanks

Siva


Viewing all articles
Browse latest Browse all 8540

Trending Articles