Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can Primary Key values be empty?

Former Member
0 Kudos
3,045

Hi,

We have some custom tables created in ECC 6.

One of the tables contains the below fields.

<i><b>MANDT

PERIOD

KOSTL

LSTAR

AUFNR

<u>SOURCE</u></b></i>

POOL

PRODUCT

...

....

.... etc.

Key/Initial Values check boxes are selected for fields in bold/italic above.(I mean primary key).

But when I check the table contents, <u><i><b>SOURCE</b></i></u> column contains empty values(nothing) for some records. Is that correct?

I think Primary key fields should contain some value in a record.

Please advise.

Thanks in advance.

Han

1 ACCEPTED SOLUTION

Former Member
0 Kudos
616

Look at the values for AUGDT and AUGBL in table BSIS. They're key fields but always empty.

Rob

6 REPLIES 6

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
616

Sure it can.

Regards,

Rich Heilman

0 Kudos
616

Have a look at table S001. Hopefully there is data for this table in your system. The first couple fields have initial values in my system.

Regards,

Rich Heilman

Former Member
0 Kudos
617

Look at the values for AUGDT and AUGBL in table BSIS. They're key fields but always empty.

Rob

0 Kudos
616

Thanks Rob.

I gave you points.

0 Kudos
616

Glad to help, but isn't Rich deserving as well?

Rob

0 Kudos
616

That was also solved my problem. I gave him as well now.

Thanks Rich for your quick reply.