Skip to Content
0
Former Member
Jun 10, 2009 at 09:07 AM

Problem with CS

24 Views

Dear friends,

My Code is like this.

IF wa_t685t-vtext CS 'EDU.CESS'.

MOVE wa_t685t-vtext TO wa_item-ecess.

ELSEIF wa_t685t-vtext CS 'HI.EDU.CESS'.

MOVE wa_t685t-vtext TO wa_item-hecess.

ENDIF.

Here in Both the times EDU.CESS is existing.So when if condition satisfies only EDU.CESS then also its moving HI.EDU.CESS to wa_item-hecess.

I want to print based on the condition.

How to do this.Plz help.