Hi Edu,
In that case, I think Dynamic Configuration would work in PI 7.0 to store and retrieve values between two mappings. Go through the blog and check:
Sharing data between two message mappings through Dynamic Configuration
Its an easy implementation and at least give a try.
Regards,
Nabendu.