‎2006 Aug 30 7:31 AM
Hi,
I want to give default value for one column in table maintenace view. Is there any possiblities.
Thanks
Regards,
Stallin
‎2006 Aug 30 7:32 AM
then u have to check domain of the Field.
in domain u can give Default values.
Regards
Prabhu
‎2006 Aug 30 7:35 AM
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.
‎2006 Aug 30 8:16 AM
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