Skip to Content
author's profile photo Former Member
Former Member

Maintenance View Events Problem

Hi everybody,

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



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.




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

Thank you for your help.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 11, 2008 at 02: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.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.