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

Primary Index missing in database for table

Former Member
0 Likes
1,200

Hi,

Primary index missing in database for table ZSD_MAT . we have deleted and recreated

but still primary index is not generated.

database: SQL SERVER 2000

please suggest.

4 REPLIES 4
Read only

Former Member
0 Likes
839

Hi,

Check when you regenerated the primary index existing at the OS level take the basis help to find. If it not generated at OS level. make sure that is primary index is available at OS level then generate in SAP.

Regards,

Aditya

Read only

vinod_vemuru2
Active Contributor
0 Likes
839

Hi,

I believe INDEX generation is missing at database level. Please check with your BASIS team.

For testing your self, just enter few entries into this table from table maintenance(If you have) or test program. Now write a select query in this table by passing the key fields in the WHERE clause in a sample report.

Switch on the SQL trace (ST05 t-code) and run the test program which has select query. Now check the trace to see which index it has picked. Ideally it should pick 0~ (Means primary INDEX) if the INDEX is available at database level.

BASIS will regenerate the INDEXes for this table which will resolve the issue.

Thanks,

Vinod.

Read only

Former Member
0 Likes
839

In the same client try to create a sample custome table and activate and check if the primary index is automatically created for the activated table..

If created everything should look fine from basis point of view...

If it is not created then try to contact your basis team.

Regards

Satish Boguda

Read only

Former Member
0 Likes
839

solved