Hi, hope someone can haelp me out on my purpose.
Is there a solution existing for this case?
Hi there and thanks so much for your question! You can write out the value of a Profile Script in the Offer Code - read more about how to do this in the Target Documentation article on How to Pass Dynamic Data into Offers.
Additionally, feel free to check out the article on Dynamic Values in Targets and Profiles and another on user.categoryAffinities Scripts -- they are both related to your question and may also be helpful.
Let us know here if you have any other related questions/ comments.