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

Table Maintenance Generator

Former Member
0 Likes
767

I have requirement like this

I have a custom table for this i maintaine table generator.

In this custom table i have 3 fields say a,b c.

The thrid field should be populated automatically

like c = a+b when adding records using table generator.

Please help me out.

Thanks and Regards,

1 ACCEPTED SOLUTION
Read only

pradiptakumar_mishra
Participant
0 Likes
747

Hi,

You can do it by either modifying the code after generating your table maintence. You double click on the fun. gr. n go to the screen. There you can insert your own module.

Else look out for events in that table maintence generator screen. Use them if u want.

Reward points if useful.

Regds

Pradipta K. Mishra

7 REPLIES 7
Read only

pradiptakumar_mishra
Participant
0 Likes
748

Hi,

You can do it by either modifying the code after generating your table maintence. You double click on the fun. gr. n go to the screen. There you can insert your own module.

Else look out for events in that table maintence generator screen. Use them if u want.

Reward points if useful.

Regds

Pradipta K. Mishra

Read only

Former Member
0 Likes
747

Hi,

Create table Maintenance Events

Table Maintenance Environment->Modification->Events-> New Entries

Check this PDF document for HOW TO IMPLEMENT EVENTS IN TABLE MAINTENANCE

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-87652872...

also Check this Blogs.

/people/sudheer.junnuthula2/blog/2007/07/31/events-in-table-maintenance-generator

Rewards points if useful.

Regards,

Abhishek

Read only

Former Member
0 Likes
747

Hi Somya,

You can achieve your requirement by creating an event in the table maintenance generator.

Follow the steps below:

Step:1: In SE11, go to Utilities --> table maintenance generator.

Step:2: Follow the path Environment --> Modification --> Events.

Step:3: Click new entries, select a table maintenance dialog event which suits your requirement.

Step:4: Create a form routine.

Step:5: Include your logic in the routine created in step 4.

Hope this helps you.

(If your query is answered, reward relevant points & mark it answered).

Regards

Sayee

Read only

vinod_vemuru2
Active Contributor
0 Likes
747

Hi Somya,

U have to use Events of the table maintenance generator.

Open ur table in Se11 in change mode.

utilities->table maintenance generator->Environment->Modification-Events. Here u have to create the events. It will generate 2 routines.

Next u have to put ur logic here to add the fields.

ztab-c = atab-a + ztab-b.

I think u can use event 01.

Thanks,

Vinod.

Read only

Former Member
0 Likes
747

Thanks for the help.

Issues is solved

Read only

0 Likes
747

Hi

As your issue is resolved, please ell me the process and the coding as well as i am also in similar situation

Thanks

Read only

Former Member
0 Likes
747

Hi Manu,

Once we create a table Maintenance Generator.

In se11 go to table maint generator.

after createion of generator.

we have events in the menu Enviornment-Modifications-Events.

Select an event that suits you and write a perform(that holds ur logic) .

Activate the perform.

This should solve ur prob.

Please get back if you have any issues.

Regards,