Skip to Content
0
Former Member
Jun 05, 2011 at 10:44 AM

alv : how can i delete the checkbox on handle_data_changed ?

88 Views

hello

Due to field checsk (like field empty) in "HANDLE_DATA_CHANGED" ,

( CALL METHOD ER_DATA_CHANGED->DISPLAY_PROTOCOL.)

i notice the user "field empty" , but also i want to delete his mark in the checkbox ,.

all of my tests to delete the checkbox failed .

i tried :

CALL METHOD ER_DATA_CHANGED->modify_cell

EXPORTING i_row_id = LS_GOOD-ROW_ID

i_fieldname = LS_GOOD-fieldname " 'CHECKBOX'

i_value = '' .

or

READ TABLE IT_BSIK INDEX LS_GOOD-ROW_ID INTO WA_BSIK.

WA_BSIK-checkbox = ' '.

Modify IT_BSIK from WA_BSIK index 1 .

What is the right way to erase the checkbox ?