In one of our customers we had experienced strange error and we found out that inside START_BADI / END_BADI "tab" character is passed to the IT_PARAM table. System is BPC 10.1 NW.
Please see image below. I guess Pretty Print is working wrong, it should not add tab spaces between START/END_BADI. Save button also coming differently "enabled or disabled" in different browsers.