Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg: Table Maintenence Generator

Former Member
0 Likes
816

Hi,

i have 6 fields (create on, create date, create time, change on, change date, change time) which are supposed to be entered dynamically. for create details i have used 05 - Creating a new entry event. when i change a particular line, change details should get updated. how to do that and what event should be used?

Regards,

Hi,

i have 6 fields (create on, create date, create time, change on, change date, change time) which are supposed to be entered dynamically. for create details i have used 05 - Creating a new entry event. when i change a particular line, change details should get updated. how to do that and what event should be used?

Regards,

4 REPLIES 4
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
791

I prefer using Event '05' instead of '01'. Check the SAP documentation for further details: [http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ba9d111d1a5690000e82deaaa/content.htm]

Read only

Former Member
0 Likes
791

HI,

Thanks for your reply...

i tried with EVENTS '01', its not going inside the form.. endform.

Regards,

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
791

In the EVENTS screen, press new Entries, there give 05 and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write the below code

e.g:

form CREATE_ENTRY.

TABLE-USERNAME = sy-uname.

TABLE-CHANGED_ON = sy-datum.

endform.

Read only

Former Member
0 Likes
791

Moderator message - Welcome to SCN This question has been asked and answered many times before in the forum. Please search the forum for answers before asking. Thread locked. Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again. Rob