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 View

Former Member
0 Likes
505

Hi,

I want to give default value for one column in table maintenace view. Is there any possiblities.

Thanks

Regards,

Stallin

3 REPLIES 3
Read only

Former Member
0 Likes
450

then u have to check domain of the Field.

in domain u can give Default values.

Regards

Prabhu

Read only

Former Member
0 Likes
450

Hi Rajesh,

Yes, you can give default values. You will need to go to the function group of the table maintenance. Find the screen for your table and assign the default values in the PBO event. You will require some debugging to find teh exact location to add your code. You may also have to copy some standard include and make changes in it.

Please assign points if useful.

Regards,

Prabhas.

Read only

uwe_schieferstein
Active Contributor
0 Likes
450

Hello Stallin

You do not need to modify the generated dialogs at all. The maintenance views offer event where you can change the data.

In the dialog generator go to menu "Environment" -> "Modification" -> "Events".

If you want to set the default value at the start of the dialog and when the user creates new entries you will need events '21' (fill hidden fields) and '05' (creating a new entry).

For the events define a form routine within an include in your function group. There you have access to the structure of the view (e.g. z_tabl_view). There you fill z_tabl_view-column = <fixed value>.

Regards

Uwe