10-27-2007 9:18 AM
hi
how to validate the data in table maintaince generator.
that is
assume we have 3 fields
f1 f2 f3
f1 is the primary key.
for f2 if we want to give only x or y value.
how to validate that column?
10-27-2007 9:56 AM
Hi Jyothsna,
You can validate the data in table maintenance generator using events.
For eg. If you want to validate your data, before saving it in database, you can use the event '01' and write your code in the form routine for the particular event.
Please refer the following link for more details:
Reward points for useful answers.
10-27-2007 9:20 AM
Hi,
It can be done using Events.
Check below link for details
http://help.sap.com/saphelp_nw04s/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm
Regards,
Atish
10-27-2007 9:56 AM
Hi Jyothsna,
You can validate the data in table maintenance generator using events.
For eg. If you want to validate your data, before saving it in database, you can use the event '01' and write your code in the form routine for the particular event.
Please refer the following link for more details:
Reward points for useful answers.
10-28-2007 12:21 AM
Hi Jyothsna,
Why do you want to go through events?
If the data for the fields is fixed, why don't you go ahead with giving a Value range to the domain.
In the domain for the field F2, give the values X and Y in the value range.
The user will be able to select only X and Y through a list box in the Maintenance.
Rewards points if useful.
Regards,
Abhishek Jolly