Abstract: The invention relates to a method for producing a programmed shape memory polymer, which assumes a first temporary shape and at least two additional stored thermally activatable shapes, namely at least one second temporary shape and a permanent shape, with the steps of: (a) providing a shape memory polymer which has at least two switching segments (A, B), which through phase segregation each form a switching phase having each a corresponding transition temperature (TtransA, TtransB), (b) deforming the shape memory polymer into a shape corresponding to the first temporary shape at a temperature above the upper transition temperature (TtransA), and (c) cooling to a temperature below the lower transition temperature (TtransB) by fixing the first temporary shape. The method of the invention provides a one-step programming method for a triple-shape plastic material.