Application Development 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: 

Table Maintenance Generator - Default Values

Former Member
0 Kudos
468

Hi Experts,

In one of the requirements, user wants some default values to appear in the Table Maintenance screen for some of the fields. Those should appear as and when they go to update mode, before pressing ENTER key.

Generally we can add logic in Table maintenance events, to get default values after pressing ENTER key. But just wanted to know if its possible to get those before pressing ENTER key. If yes, can you please explain how to do that.

Thanks,

Vinayak

3 REPLIES 3

Former Member
0 Kudos
137

Hi

If you place your code in the PBO you should get what you need

Max

former_member193284
Active Participant
0 Kudos
137

Hi,

This is very much possible. following below steps

Go to Table Maintenance Generator:

click on Environment -> Modification -> Events

Here you can observe that there are different types of events available like before saving the data, after saving the data, before deleting, after deleting and others. Based on the requirement you can select the event

Click on the button in the Editor column and enter the following code: (Please note that you should also code FORM and ENDFORM as well).

assign the values in this form and endform and Save and activate the table.

hope this helps.

former_member230486
Contributor
0 Kudos
137

Hi Vinayak,

You just follow Naik.It will be resolved your problem.