Magnetometer Tilt Compensation for Yaw Axis Using HMC5883L and BMA180

So, how i can solve tilt compensation for yaw Axis?

I am not even sure what you think this sentence means.

A magnetic device is going to clarify the orientation of your device in relation to rotating around
the yaw axis. It's nothing to do with tilting the yaw axis.