The shortfall must follow from the compulsory-portion calculation.
Section 789 ABGB requires gifts to have been added back or credited when the compulsory portions were determined, while the estate still does not cover them. The person whose compulsory portion is reduced may then demand payment of the shortfall from the gift recipient.
First arrange the estate assets, debts and gifts. The early review of gifts helps establish the basis for the next step.