Skip to Content
0
Former Member
Jul 02, 2007 at 12:17 AM

select

13 Views

hi,

may i know if i just want to check if the entry is exist (not to get the data from database table), say ekko,

can i write as below? i must use select? i must have if statement to check sy-subrc?

select single * where ebeln = wa_pono and

ebelp = wa_poitem.

if sy-subrc = 0

perform found.

else.

perform not found.

endif.