Or just as you are about to reach XXX, select LVL CHG and delete the 300B at XXX from the FMC. The ac will then ALT ACQ at 300 and an idle descent will now be calculated to cross YYY at 280. You will capture the path from below whilst cruising level at 300.
Alex