‎2008 Apr 11 3:43 PM
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.
‎2008 Apr 11 3:53 PM
Hi Grappin,
After creating the event did u activated the main program of the table maintenance generator. If not then activate all the objects of the table like table, Table maintenance generator and main program. Probabily this might be the point of problem.
Thanks,
Vinod.
‎2008 Apr 11 7:35 PM
Hi Vinod,
Thank you very much for helping me, The problem was that I haven´t declared other subroutines, the program was looking for other FORM declaration and there was no other FORM declared in program.
Thank you Very much!!
Moises G.