Hi again
You are right that you cannot use TPM91 as this is a special transaction code for exchange traded futures only.
If you have commodity forwards you can close them with cash settlement of todays price and this creates a gain or loss. This gain or loss is financial result and has to be posted accordingly. The purchase or sale contract then would also be created in todays price.
Regards
Juerg