Skip to Content
author's profile photo Former Member
Former Member

Create a not null key field

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jun 17, 2008 at 02: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 17, 2008 at 02: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 06: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.