SAP Message RY127 - You cannot change the form of the elementary transaction (tree structure)

Diagnosis
You cannot change the transaction form of the top elementary transactionif the structure contains other elementary transactions. Therefore, youneed to delete all the other elementary transactions first,leaving thejust the top one. You can then change its transaction form.
You cannot change the transaction form of an elementary transaction inthe lower levels. Instead, you should delete it, and then recreate itwith the new transaction form.