2011年3月31日 星期四

SE16 Delete All


How can you to delete all records that whats you selected in se16 when that table disable maintenance ?
Follow the steps:
  1. Fulfill selection criteria of se16.
  2. Entry debug mode ( /h )
  3. Set break-point:
    • Subroutine: pf_status_liste
    • Subroutine:autho_check
  4. Set watch-point:
    • excl_tab-code = DEL5, DEL2
      • DEL5: Delete ALL
      • DEL2: Delete
    • dd02l-mainflag
  5. Press [F8] to Run program
  6. Delete records for internal table excl_tab what code eq DEL5 and DEL2 When got watchpoint, than can enable Delete ALL & Delete in menu item.
  7. Press [F8] to go.
  8. List records what match your criteria, then press select all 
  9. And entry debug mode (/h)
  10. Press [F8] to go.
  11. Modify the field dd02l-mainflag = ANYTHING to replace of space when you got break-point.