Skip to Content
-4

What is the purpose for giving 16 primary keys for a table?

What is the purpose of giving maximum 16 unique keys for a table?

I am learning abap and my trainer is asking this question.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Aug 01, 2017 at 12:27 PM

    There is no purpose in giving 16 unique keys to a database table.

    There is however a purpose in giving multiple key fields and that is to generate a unique primary key.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 31, 2017 at 12:24 PM

    As far as I know a database table or an internal table can have only one primary key.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 01, 2017 at 11:24 AM

    So, Maximum how many key fields we can create???

    Thank you for you quick reply.

    Add comment
    10|10000 characters needed characters exceeded

    • Also Google -> "maximum key fields in transparent table site:sap.com"

      I'd suggest to look for a different ABAP school though. Or tell the instructor to stop horsing around and teach you something you'll be able to use on practice instead of random trivia that you can find in the documentation.

  • Aug 01, 2017 at 09:15 AM
    -2

    This table does have multiple unique keys. So my question is, what is the purpose and maximum how many unique key combinations we can create??

    Add comment
    10|10000 characters needed characters exceeded