Skip to Content
1
Former Member
Jun 29, 2007 at 08:47 PM

case statement?

13 Views

wt is wrong with below..can any one please tell me..

i m getting error like . statement 'I103' ended unexpectedly.

data : lv_subject(30) type c value 'Bid Number XXXXXXXXXX'.

constants : c_num(10) type c value ' Number',

c_accepted(10) type c value 'accepted',

c_returned(10) type c value 'returned',

c_rejected(10) type c value 'rejected'.

replace c_num in lv_subject with space.

case lv_status.

when 'I1014'.

concatenate c_accepted into lv_subject seperated by space.

when 'I1013'.

concatenate c_rejected into lv_subject seperated by space.

when 'I1042'

concatenate c_returned into lv_subject separated by space.

when others.

endcase.

please help..