06-17-2008 2:39 PM
Hello everyone,
I'm trying to create a table with 4 key fields. I want one of them to be obligatory. How can i do this?
Best regards
João Anastácio
06-17-2008 3:06 PM
Select INITIAL checkbox (column property which can be find in FIELDS tab in SE11 for table) for the field which you need it as obligatory. So, that it will allow you to save the record without the value for that field. Let's suppose you have 4 fields, F1, F2, F3 and F4. and F3 is checked as INITIAL.
Now i can enter values as follows: F1 = 'aba'., F2 = '123' F3 = space and F4 'def'.
Reward points if useful.
Regards,
Siva.
06-17-2008 3:11 PM
here is the complete methodology for creating a Table in sap:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb6e446011d189700000e8322d00/frameset.htm
Regards,
Ravi
06-18-2008 6:19 AM
hi,
if u want to make a key field obligatory....what u can do is ...
when u create the screen for the entry, u can set that particular field as...
REQUIRED = '1'.
whenever u will not do the entry in that particular field it will prompt an error msg ....
Regards
Preetesh
06-18-2008 7:44 AM
Hi,
Just check the checkbox intial at side of checkbox for making the field as key field.
I hope this will help you.
Help children of U.N World Food Program by rewarding them and encourage others to answer your queries