Hi Meire,
If i understand your need, you already did a Good Receipt for the subcontracting product. If product A is in the stock, you could cancel 101 movement to obtain material B and C again in stock provider to vendor.
Best regards,
Alejandro López.