misc issue how to link an transaction entry or a transaction group to an analytical dimension?

Currently we do misc issues of stock for multiple reasons

Stock Adjustment, R&D, Scrap, Clinical trials etc. all these reasons are pointing to an account using a customization of the journal STKIS.

I would like to go 1 step further and link each Transaction group also to a cost center (currently AX1 in our system).

Does anyone have done this before or have an idea how to do it.?

Thank you in advance