2006 Dec 28 6:58 AM
Hi,
I need to set a default value for a table field . ie when ever i create entry in a table i would like to have this field (assume INDICATOR) as X. This i would like to do with out doing any code changes in the creation program.
Can any one help me out in this.?
Thanks
K.Nirmala
Problem i have is:
I have added one new column in a existing table. I would like to have a default value for this column (is X) for all the entries in the table. This table entries will be created thru programs.Not SM30.
Is it possible to achive this with out doing any code change?
Thanks
Nirmala
Message was edited by:
Nirmala Reddy
2006 Dec 28 7:29 AM
Hi Nirmala,
Hope this will posible with the table events, where we need to write the peace of code to default the field. As of my knolodge there is no other process to default the field in the table maintenence.
Regards,
Sunil
2006 Dec 28 8:38 AM
You want to set default during table maintenance either thru SE16 or SM30? or you want it done during table entry update in program?
2006 Dec 28 9:25 AM
Please try it this way:
1. Goto SE54
2. Use menupath: Environment-> Events
3. Click <b>New Entries</b> from application toolbar.
4. Select 05 entry, while creating a new entry.
5. Define a routine and code to make the default value.
Hope this helps.
Kind Regards
Eswar