SAP Knowledge Base Article - Preview

3526556 - S/4HANA 2023: cannot have more than one primary key: /1LT/*

Symptom

You noticed SLT tables missing primary indexes in DB02 transaction after the upgrade to S/4HANA 2023. Checking this further, you see that the indexes do not exist at DB level and trying to create them manually via SE14 or DB02 transactions, there are errors with Primary key, similar to the below:

ALTER TABLE "SAPHANADB"."/1LT/DSS4P000000" ADD CONSTRAINT "/1LT/DSS4P000000~0" P
RIMARY KEY ("MANDT", "KUNNR")
SQL Exception with SQL code 294:
cannot have more than one primary key: /1LT/DSS4P000000
cannot have more than one primary key: /1LT/DSS4P0
Could not create index 0 of table /1LT/DSS4P000000
Could not create index 0 of table /1LT/DSS4P000000
Could not create index 0 of table /1LT/DSS4P000000
Index /1LT/DSS4P000000-0 could not be created
Request for /1LT/DSS4P000000 could not be executed


Read more...

Environment

SAP S/4HANA 2023

Keywords

_SYS_TREE_CS_#*, ~0 index, OP2025, CE2402 , KBA , CA-LT-MC , S/4HANA Migration Cockpit , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.