Skip to Content
0
Former Member
Apr 11, 2008 at 02:43 PM

Maintenance View Events Problem

130 Views

Hi everybody,

I have a problem with an event in a maintenance viewo of my ztable, is a runtime error:

Runtime Error PERFORM_NOT_FOUND

Except. CX_SY_DYN_CALL_ILLEGAL_FORM

And what I did is to add date and user in the last two fields of my table so every time a user makes modification to this table this two fields has to be updated with the user and actual date so I went to events of maintenance view and I added event 01 Before saving data in database and my subroutine is:

form before_saving.

loop at total.

*Verify if row has been changed

if <action> = AENDERN.

wa_ztable = <vim_extract_struc>.

wa_ztable-muser = sy-uname.

wa_ztable-mdate = sy-datum.

<vim_extract_struc> = wa_ztable.

modify total.

endif.

endloop.

endform.

This part of code runs very good but after this it goes dump.

Thank you for your help.