Integrity check on a table maintenance view (SM30)
I have a zheader table and a zlines table. The zlines has a relation with zheader. Field 'Check required' is checked, 'Key-fields/candidates selected, and a cardinality of 1:CN with zheader. All the primary key of zheader is fully determined by fields of zlines.
I created table maintenance views for both of them to allow the user maintain them by SM30. Now you can't create on zlines a record with no relation to one header on zheader. But if you have a header with lines on SM30 you can delete zheader record without problem. Table zlines remains with his lines but no header stays on zheader.
I want to avoid this behavior. Any sugestion?
Note: The SAP version is 4.7
Edited by: Gastón Jareño on Sep 15, 2008 2:32 PM