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: 

how to insert null value in z-table

naveen_yadavs
Explorer
0 Kudos

i want to insert null value in z-global table in the key field of table, is there any way to insert null value in the table and how can we recognize the null value in table.

Thanks in advance.

7 REPLIES 7

Former Member
0 Kudos

Hi,

Please un-mark the 'Initail Values' check-box besides 'Primary key' check box in the Fields tab in the database table.

Regards,

Rohan

0 Kudos

hi rohan,

i am trying but it is not working.

0 Kudos

Hi,

You can't put NULL values in a key field of a table in SAP.

If you unmark the checkbox initial values for a key field then it will only allow you to put in an initial value. A character field would still have initial values and not a non-value.

Kind regards, Rob Dielemans

Tomas_Buryanek
Active Contributor
0 Kudos

Key fields are exception, they cannot have null value.

-- Tomas --

naveen_yadavs
Explorer
0 Kudos

is their is any way to forcefully insert null value in key field or non key field, and how we recognize the null value in table

matt
Active Contributor
0 Kudos

As Rob has already said. No, you can't do it.

Why do you want to?

satyabrata_sahoo3
Contributor
0 Kudos

Null Value in a Key field Table makes no sense!!