SAP Message WX500 - Please delete layout modules for layout for entry & first

Diagnosis
Entries still exist for the assignment of layout modules to the layout.

Procedure
Check whether you called up the transaction viaIntegrated layout maintenance.
Instead of choosing the function 'Delete', choose the function 'Layoutmodules for layout areas" and delete the assigned layout modules and,if necessary, their assignments to the area shares.