Skip to Content
0
Former Member
Mar 18, 2009 at 05:30 AM

editable f4

33 Views

Hi abapers,

I got struck up in one scenario please guide me where iam wrong.The problem is for one field iam using f4 and for other field dictionary reference,

f1 f2 f3

3 4 correct

3 3 wrong

f3 is the status should get updated after pressing enter.

f1 is dict reference this works fine after pressing enter the status field f3 is updated

but f2 is f4 help field using fun mod which will not trigger data_changed if i dont use refresh table

display in the handle-f4 the data is updated after selecting from f4.Please see thebelow code and help me .

Method handle_f4.

called fun mod f4 help using fun mod

Modified internal table using row id.

Call method refresh table display.

end method.

Method data_changed

Assign modcells to a field symbol.

datavalidation....

end method.

Pai user command

Set cursor

regiter edit using enter

set handler handle_f4

set handler data_changed

end of user command