Application Development and Automation 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: 
Read only

Can Primary Key values be empty?

Former Member
0 Likes
4,700

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
Read only

Former Member
0 Likes
2,271

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

Rob

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
2,271

Sure it can.

Regards,

Rich Heilman

Read only

0 Likes
2,271

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

Read only

Former Member
0 Likes
2,272

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

Rob

Read only

0 Likes
2,271

Thanks Rob.

I gave you points.

Read only

0 Likes
2,271

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

Rob

Read only

0 Likes
2,271

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

Thanks Rich for your quick reply.