In a previous post we had a look at the stop condition where the line manager is = 1. If you want two levels of approval then one option you have is to use line manager = 2. This will allow you to have two levels based on the condition set on the hierarchy options Assign to all users retrieved.
Here is a quick overview.
AX2012 CU11
Cheers
Lachlan