In SAP ABAP, the primary index is automatically created from the table's key fields when the table is activated. The system does this automatically - the developer does not manually designate which fields form the primary index. The key fields defined in the table structure automatically become the primary index.