Skip to Content
0
Former Member
Apr 24, 2007 at 09:00 AM

case stmt

17 Views

Please convert it to case stmt.

IF it_itab-dutcode ='BCD'.

MOVE it_itab-actvalu to it_itab-bcd.

ENDIF.

IF it_itab-dutcode ='CVD'.

MOVE it_itab-actvalu to it_itab-cvd.

ENDIF.

IF it_itab-dutcode ='ZCES'.

MOVE it_itab-actvalu to it_itab-zces.

ENDIF.

IF it_itab-dutcode ='ZHCS'.

MOVE it_itab-actvalu to it_itab-zhcs.

ENDIF.

IF it_itab-dutcode ='ZEDC'.

MOVE it_itab-actvalu to it_itab-zedc.

ENDIF.

IF it_itab-dutcode ='ZHDC'.

MOVE it_itab-actvalu to it_itab-zhdc.

ENDIF.

IF it_itab-dutcode ='SAD'.

MOVE it_itab-actvalu to it_itab-sad.

ENDIF.

Thanks