‎2009 Oct 29 11:31 AM
Hello,
I have customized table with only one primary key that is client (MNDT). ...total fields are 20.but when i am trying to insert data into it.its only taking one record.what is the reason for this?
Regards,
Soniya.s
‎2009 Oct 29 11:33 AM
Hi
It Clearly tells you that you need keep one or more fields as KEY fields based on your requirement
Hope this is clear to you.
Cheers
Rm
‎2009 Oct 29 11:35 AM
Hello
There is one reason: you do not read SAP documentation and you do not search SDN.
‎2009 Oct 29 11:37 AM
HI,
Since you have declared only MANDT as the primary key, only one record would get saved in the table because primary keys should be unique for all the records. Hence declare another field which would be unique for all the records as a primary key along with the MANDT.
Thanks,
Harini
‎2009 Oct 29 11:37 AM
Hi,
primary key is a unique key....
so mandt is the only primary key and the first record has met that condition.. it cant take same mandt for the second record..
so make another primary key..
‎2009 Oct 29 11:38 AM
Is it really so hard to understand why?
Did you even give a moment's thought before posting a question here???
pk
‎2009 Oct 29 12:03 PM
Hi:
you need to add one more field as primary key.
Regards
Shashi
‎2009 Oct 29 12:16 PM
By any chance, don't let your MANDT (Client) see this question.
Regards
Karthik D
‎2009 Oct 29 12:54 PM