The present invention pertains to a method of producing a compressed tablet in a rotary tablet press. The method including the steps of adding a first powdered portion of tablet base material into a punch die of a rotary tablet press, pressing the first tablet base material by means of an upper and a lower punch to obtain a first pressed material, inserting an object at the upper face of the first pressed material and fixing the object in a central cavity of the first pressed material, adding a second powdered portion of tablet base material into the punch die of the rotary tablet press, and pressing the first and second tablet base material around the object to enclose the object from the surface of the tablet. The object is based on a material different from the first and/or the second powdered portion of tablet base material.