Skip to Content
0
Former Member
Oct 23, 2006 at 04:56 PM

select stmt to update database table

39 Views

Hi All,

when the option blockremov is pressed and check box is checked, I have to update likp table, with lifsk = ' '. Can you please help me with it.

when 'BLOCKREMOV'.

LOOP AT IT_OUTPUT.

IF ( IT_OUTPUT-CHECK = 'X' AND sy-ucomm = 'BLOCKREMOV' ).

UPDATE TABLE LIKP

WHERE VBELN = IT_OUTPUT-VBELN

TRANSPORTING LIFSK

WHERE LIFSK = ' '.

ENDIF.

ENDLOOP.

Thanks,

Veni.