Whenever I get a Foreign Key constraint violation (such as below) the message does not indicate what table, column, or constraint is involved. Sometimes I can work it out from the line-number in the procedure, but is there a more direct and informative way?
(I'm using SPS6)
Could not execute 'call P_POPULATE_BASE_DATA(0)' in 6.470 seconds .
SAP DBTech JDBC: [461]: foreign key constraint violation: [461] RESDET.P_POPULATE_BASE_DATA: line 298 col 3 (at pos 13528): foreign key constraint violation exception: foreign key constraint violation