Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

IF elseif endif

i m writing a report using if elseif condition...i m getting following error

if v_x = 'X'.

......

elseif v_y = 'X'.

....

elseif v_z = 'X'.

select ...into itab...

loop at itab.

select single....

.....

append itab2.

endloop.

elseif v-c = 'X'.

....

else.

.....

endif.

Above code is showing error as " NO Open IF Statement"

at the elseif statement.pls hlp

Former Member
Not what you were looking for? View more on this topic or Ask a question